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.
100 lines
2.4 KiB
100 lines
2.4 KiB
|
1 year ago
|
package com.shkj.wms.bo;
|
||
|
|
|
||
|
|
import com.shkj.wms.constants.DictConstants;
|
||
|
|
import com.shkj.wms.validator.Dict;
|
||
|
|
import lombok.Data;
|
||
|
|
import lombok.NoArgsConstructor;
|
||
|
|
import lombok.experimental.Accessors;
|
||
|
|
|
||
|
|
import javax.validation.constraints.NotBlank;
|
||
|
|
import javax.validation.constraints.NotNull;
|
||
|
|
import java.io.Serializable;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 区域资料对象
|
||
|
|
*
|
||
|
|
* @author lch
|
||
|
|
* @date 2022-05-13
|
||
|
|
*/
|
||
|
|
@Data
|
||
|
|
@NoArgsConstructor
|
||
|
|
@Accessors(chain = true)
|
||
|
|
public class BaseAreaSaveOrUpdateBo implements Serializable {
|
||
|
|
|
||
|
|
private static final long serialVersionUID=1L;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 库区信息id (正常值为修改 反之新增)
|
||
|
|
*/
|
||
|
|
private Long id;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 库别
|
||
|
|
*/
|
||
|
|
@NotNull(message = "库别不得为空")
|
||
|
|
private Long storageId;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 库区编号
|
||
|
|
*/
|
||
|
|
@NotBlank(message = "库区编号不得为空")
|
||
|
|
private String areaCode;
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 库区名称
|
||
|
|
*/
|
||
|
|
@NotBlank(message = "库区名称不得为空")
|
||
|
|
private String areaName;
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 拣货方式(pc,pda,RFID)字典
|
||
|
|
*/
|
||
|
|
// @NotBlank(message = "拣货方式(pc,pda,RFID)不得为空")
|
||
|
|
// @Dict(type= DictConstants.DictKey.pickmode,message="拣货方式与数据字典值不匹配")
|
||
|
|
private String pickmode;
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 区域类型 (作业方式)(零货,整件,整散合一)
|
||
|
|
*/
|
||
|
|
//@NotBlank(message = "区域类型不得为空")
|
||
|
|
// @Dict(type= DictConstants.DictKey.busin_pick_task_type,message="区域类型与数据字典值不匹配")
|
||
|
|
//private String taskmode;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 是否双人操作
|
||
|
|
*/
|
||
|
|
// @NotBlank(message = "是否双人操作不得为空")
|
||
|
|
// @Dict(type= DictConstants.DictKey.is_douboper,message="是否双人操作与数据字典值不匹配")
|
||
|
|
private String isDouboper;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 作业分组
|
||
|
|
*/
|
||
|
|
// @NotBlank(message = "作业分组不得为空")
|
||
|
|
private String pickgroup;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 备注
|
||
|
|
*/
|
||
|
|
private String remark;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 库区状态是否启用
|
||
|
|
*/
|
||
|
|
/* @NotBlank(message = "库区状态不得为空")
|
||
|
|
@Dict(type= DictConstants.DictKey.storage_status,message="库区状态与数据字典值不匹配")
|
||
|
|
private String isActivity;*/
|
||
|
|
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 区域类型
|
||
|
|
*/
|
||
|
|
@NotBlank(message = "区域类型不得为空")
|
||
|
|
@Dict(type= DictConstants.DictKey.area_Type,message="区域类型与数据字典值不匹配")
|
||
|
|
private String areaType;
|
||
|
|
|
||
|
|
}
|