package cn.iocoder.yudao.module.order.vo.orderWarehouseAdjust;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
* 调仓记录 Response VO
* @author yanghao
*/
@Data
@ApiModel("管理后台 - 批量调仓申请页面 Response VO")
public class OrderWarehouseAdjustBatchApplyBackVO {


    @ExcelProperty("主键ID")
    @ApiModelProperty(value = "主键ID")
    private Long orderId;

    @ExcelProperty("订单编号")
    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ExcelProperty("唛头")
    @ApiModelProperty(value = "唛头")
    private String marks;



    @ApiModelProperty(value = "订单数量")
    private Integer orderQuantity;

    @ExcelProperty("订单件数")
    @ApiModelProperty(value = "订单件数")
    private Integer orderNum;

    @ExcelProperty("订单体积")
    @ApiModelProperty(value = "订单体积")
    private BigDecimal orderVolume;

    @ExcelProperty("订单重量")
    @ApiModelProperty(value = "订单重量")
    private BigDecimal orderWeight;


    @ApiModelProperty(value = "入仓数量")
    private Integer sumQuantity;

    @ExcelProperty("入仓件数")
    @ApiModelProperty(value = "入仓件数")
    private Integer sumNum;

    @ExcelProperty("入仓体积")
    @ApiModelProperty(value = "入仓体积")
    private BigDecimal sumVolume;

    @ExcelProperty("入仓重量")
    @ApiModelProperty(value = "入仓重量")
    private BigDecimal sumWeight;



    @ApiModelProperty(value = "运输方式id")
    @NotNull(message = "运输方式id不能为空")
    private Integer transportId;

    @ApiModelProperty(value = "渠道ID")
    private Long channelId;




    @ApiModelProperty(value = "始发仓名称")
    private String startWarehouseName;

    @ApiModelProperty(value = "目的仓名称")
    private String destWarehouseName;



    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "送货时间", required = true)
    @NotNull(message = "送货时间不能为空")
    private String deliveryDate;

}
