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

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

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

@ApiModel("管理后台 - 到仓货物详情更新 Item VO")
@Data
@EqualsAndHashCode
@ToString(callSuper = true)
public class OrderWarehouseCheckUpdateItemVO {
    @ApiModelProperty(value = "到仓详情编号", required = true)
    @NotNull(message = "到仓详情编号不能为空")
    private Long id;

    @ApiModelProperty(value = "到仓详情体积", required = true)
    @NotNull(message = "到仓详情体积不能为空")
    private BigDecimal checkVolume;

    @ApiModelProperty(value = "到仓详情重量", required = true)
    @NotNull(message = "到仓详情重量不能为空")
    private BigDecimal checkWeight;

    @ApiModelProperty(value = "到仓详情总数", required = true)
    @NotNull(message = "到仓详情总数不能为空")
    private Integer checkQuantityAll;

    @ApiModelProperty(value = "到仓详情箱数", required = true)
    @NotNull(message = "到仓详情箱数不能为空")
    private Integer checkCartonsNum;
}
