package com.sckw.order.model.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


@Getter
@Setter
@ToString
public class ContractLogisticsAddParam implements Serializable {

    @Serial
    private static final long serialVersionUID = -7775641940799194481L;

    /**
     * 贸易订单id
     */
    @NotNull(message = "贸易订单id不能为空")
    @Schema(description = "贸易订单id")
    private Long tradeOrderId;

    /**
     * 贸易合同id
     */
    @NotNull(message = "贸易合同id不能为空")
    @Schema(description = "贸易合同id")
    private Long tradeContractId;

    /**
     * 商品id
     */
    @NotNull(message = "商品id不能为空")
    @Schema(description = "商品id")
    private Long goodsId;

    /**
     * 物流合同信息
     */
    @Schema(description = "物流合同信息")
    private List<LogisticsEntDto> logisticsContractList;



}
