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

74 lines
1.7 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.vo;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.klp.common.annotation.ExcelDictFormat;
import com.klp.common.convert.ExcelDictConvert;
import lombok.Data;
/**
* 仓库/库区/库位自关联视图对象 wms_warehouse
*
* @author JR
* @date 2025-07-18
*/
@Data
@ExcelIgnoreUnannotated
public class WmsWarehouseVo {
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
@ExcelProperty(value = "主键ID")
private Long warehouseId;
/**
* 父节点ID指向同表 warehouse_id
*/
@ExcelProperty(value = "父节点ID", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "指=向同表,w=arehouse_id")
private Long parentId;
/**
* 仓库/库区编码
*/
@ExcelProperty(value = "仓库/库区编码")
private String warehouseCode;
/**
* 仓库/库区名称
*/
@ExcelProperty(value = "仓库/库区名称")
private String warehouseName;
/**
* 类型0=仓库1=库区2=库位,…
*/
@ExcelProperty(value = "类型0=仓库1=库区2=库位,…")
private Long warehouseType;
/**
* 同级排序号
*/
@ExcelProperty(value = "同级排序号")
private Long sortNo;
/**
* 是否启用0=否1=是)
*/
@ExcelProperty(value = "是否启用", converter = ExcelDictConvert.class)
@ExcelDictFormat(readConverterExp = "0==否1=是")
private Integer isEnabled;
/**
* 备注
*/
@ExcelProperty(value = "备注")
private String remark;
}