24年6月份po1项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
po106/shkj-wms/src/main/java/com/shkj/wms/bo/BaseLocationAddBo.java

282 lines
4.8 KiB

package com.shkj.wms.bo;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
/**
* 货位资料对象
*
* @author lch
* @date 2022-04-23
*/
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BaseLocationAddBo implements Serializable {
private static final long serialVersionUID=1L;
/**
* 货位ID
*/
@NotBlank(message = "货位ID不得为空")
private String locationCode;
/**
* 货位名称
*/
@NotBlank(message = "货位名称不得为空")
private String locationName;
/**
* 库区ID
*/
@NotNull(message = "库区ID不得为空")
private Long areaId;
/**
* 货位类型
*/
@NotBlank(message = "货位类型不得为空")
private String type;
/**
* 巷道
*/
@NotBlank(message = "巷道不得为空")
private String tunnel;
/**
*
*/
@NotBlank(message = "排不得为空")
private String row;
/**
*
*/
@NotBlank(message = "层不得为空")
private String layer;
/**
*
*/
@NotBlank(message = "列不得为空")
private String column;
/**
* 是否活动
*/
@NotBlank(message = "是否活动不得为空")
private String isuse;
/**
*
*/
@NotNull(message = "长不得为空")
private BigDecimal length;
/**
*
*/
@NotNull(message = "宽不得为空")
private BigDecimal width;
/**
*
*/
@NotNull(message = "高不得为空")
private BigDecimal height;
/**
* 体积
*/
@NotNull(message = "体积不得为空")
private BigDecimal volume;
/**
* 重量
*/
@NotNull(message = "重量不得为空")
private BigDecimal weight;
/**
* 存放件数
*/
@NotNull(message = "存放件数不得为空")
private Long capacity;
/**
* 品种数
*/
@NotNull(message = "品种数不得为空")
private Long skunum;
/**
* 货位组
*/
@NotBlank(message = "货位组不得为空")
private String group;
/**
* 逻辑区域
*/
@NotBlank(message = "逻辑区域不得为空")
private String logicArea;
/**
* ABC分类
*/
@NotBlank(message = "ABC分类不得为空")
private String abcClassify;
/**
* 楼层
*/
@NotBlank(message = "楼层不得为空")
private String floor;
/**
* 库房条件
*/
@NotBlank(message = "库房条件不得为空")
private String storageConditions;
/**
* 拣货路径
*/
@NotBlank(message = "拣货路径不得为空")
private String route;
/**
* 存储分类(0:整散分开1整散合一
*/
@NotBlank(message = "存储分类(0:整散分开;1:整散合一不得为空")
private String storageClassify;
/**
* 扩展字段1
*/
@NotBlank(message = "扩展字段1不得为空")
private String extend1;
/**
* 扩展字段2
*/
@NotBlank(message = "扩展字段2不得为空")
private String extend2;
/**
* 扩展字段3
*/
@NotBlank(message = "扩展字段3不得为空")
private String extend3;
/**
* 扩展字段4
*/
@NotBlank(message = "扩展字段4不得为空")
private String extend4;
/**
* 扩展字段5
*/
@NotBlank(message = "扩展字段5不得为空")
private String extend5;
/**
* 备注
*/
@NotBlank(message = "备注不得为空")
private String remark;
/**
* 仓ID
*/
@NotNull(message = "仓ID不得为空")
private Long branchId;
/**
* 删除状态
*/
@NotBlank(message = "删除状态不得为空")
private String isDel;
/**
* 创建时间
*/
@TableField(fill = FieldFill.INSERT)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date createTime;
/**
* 创建人
*/
@TableField(fill = FieldFill.INSERT)
@NotBlank(message = "创建人不得为空")
private String createBy;
/**
* 修改时间
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date updateTime;
/**
* 修改人
*/
@TableField(fill = FieldFill.INSERT_UPDATE)
@NotBlank(message = "修改人不得为空")
private String updateBy;
@NotBlank(message = "单双深位不得为空")
private String isDeep;
}