Files
klp-oa/klp-wms/src/main/java/com/klp/domain/bo/WmsWarehouseBo.java
2025-07-18 10:12:48 +08:00

62 lines
1.3 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.domain.bo;
import com.klp.common.core.validate.AddGroup;
import com.klp.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;
import com.klp.common.core.domain.TreeEntity;
/**
* 仓库/库区/库位自关联业务对象 wms_warehouse
*
* @author JR
* @date 2025-07-18
*/
@Data
@EqualsAndHashCode(callSuper = true)
public class WmsWarehouseBo extends TreeEntity<WmsWarehouseBo> {
/**
* 主键ID
*/
private Long warehouseId;
/**
* 仓库/库区编码
*/
@NotBlank(message = "仓库/库区编码不能为空", groups = { AddGroup.class, EditGroup.class })
private String warehouseCode;
/**
* 仓库/库区名称
*/
@NotBlank(message = "仓库/库区名称不能为空", groups = { AddGroup.class, EditGroup.class })
private String warehouseName;
/**
* 类型0=仓库1=库区2=库位,…
*/
@NotNull(message = "类型0=仓库1=库区2=库位,…不能为空", groups = { AddGroup.class, EditGroup.class })
private Long warehouseType;
/**
* 同级排序号
*/
private Long sortNo;
/**
* 是否启用0=否1=是)
*/
private Integer isEnabled;
/**
* 备注
*/
private String remark;
}