2026-03-02 14:41:43 +08:00
|
|
|
|
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系统部门(树形结构)视图对象 wms_dept
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author klp
|
|
|
|
|
|
* @date 2026-03-02
|
|
|
|
|
|
*/
|
|
|
|
|
|
@Data
|
|
|
|
|
|
@ExcelIgnoreUnannotated
|
|
|
|
|
|
public class WmsDeptVo {
|
|
|
|
|
|
|
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 部门id
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "部门id")
|
|
|
|
|
|
private Long deptId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 父部门id(0表示顶级部门)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "父部门id", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "0=表示顶级部门")
|
|
|
|
|
|
private Long parentId;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 部门名称
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "部门名称")
|
|
|
|
|
|
private String deptName;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 部门显示顺序(同级排序)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "部门显示顺序", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "同=级排序")
|
|
|
|
|
|
private Long orderNum;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 部门负责人
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "部门负责人")
|
|
|
|
|
|
private Long leader;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 部门状态(0正常 1停用)
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "部门状态", converter = ExcelDictConvert.class)
|
|
|
|
|
|
@ExcelDictFormat(readConverterExp = "0=正常,1=停用")
|
|
|
|
|
|
private String status;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* 备注
|
|
|
|
|
|
*/
|
|
|
|
|
|
@ExcelProperty(value = "备注")
|
|
|
|
|
|
private String remark;
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-03-02 14:53:33 +08:00
|
|
|
|
// 领导昵称
|
|
|
|
|
|
private String leaderNickName;
|
|
|
|
|
|
|
|
|
|
|
|
|
2026-03-02 14:41:43 +08:00
|
|
|
|
}
|