package com.fjhx.victoriatourist.entity.jd.dto;

import com.fjhx.area.service.SetCustomizeAreaId;
import com.fjhx.victoriatourist.entity.jd.po.JdOrder;
import com.fjhx.victoriatourist.entity.jd.po.JdOrderDetails;
import lombok.Getter;
import lombok.Setter;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 京东订单新增编辑入参实体
 *
 * @author
 * @since 2023-04-20
 */
@Getter
@Setter
public class JdOrderDto extends JdOrder implements SetCustomizeAreaId {

    /**
     * 京东订单明细
     */
    @Valid
    @NotEmpty(message = "京东订单明细不能为空")
    private List<JdOrderDetails> jdOrderDetailsList;

    /**
     * 入库仓库id
     */
    private Long inWarehouseId;
    /**
     * 出库仓库id
     */
    private Long outWarehouseId;

    /**
     * 调仓说明
     */
    private String remark;

    /**
     * 省/州名称
     */
    private String provinceName;

    /**
     * 市名称
     */
    private String cityName;


    /**
     * 物流公司编号
     */
    private String logisticsCompanyCode;
    /**
     * 物流编号
     */
    private String logisticsCode;
    /**
     * 预约号
     */
    private String reservationCode;
}
