package org.dromara.eims.domain.vo;
|
|
import org.dromara.common.mybatis.core.domain.BaseEntity;
|
import org.dromara.eims.domain.EimsEquType;
|
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
|
import com.alibaba.excel.annotation.ExcelProperty;
|
import org.dromara.common.excel.annotation.ExcelDictFormat;
|
import org.dromara.common.excel.convert.ExcelDictConvert;
|
import io.github.linpeilie.annotations.AutoMapper;
|
import lombok.Data;
|
|
import java.io.Serial;
|
import java.io.Serializable;
|
import java.util.List;
|
|
|
/**
|
* 设备类型视图对象 sys_equ_type
|
*
|
* @author zhuguifei
|
* @date 2025-01-06
|
*/
|
@Data
|
@ExcelIgnoreUnannotated
|
@AutoMapper(target = EimsEquType.class)
|
public class EimsEquTypeVo extends BaseEntity implements Serializable {
|
|
@Serial
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 类型id
|
*/
|
@ExcelProperty(value = "类型id")
|
private Long equTypeId;
|
|
/**
|
* 类型名称
|
*/
|
@ExcelProperty(value = "类型名称")
|
private String typeName;
|
|
/**
|
* 类型编码
|
*/
|
@ExcelProperty(value = "类型编码")
|
private String typeCode;
|
|
/**
|
* 父id
|
*/
|
@ExcelProperty(value = "父id")
|
private Long parentId;
|
|
/**
|
* 显示顺序
|
*/
|
@ExcelProperty(value = "显示顺序")
|
private Long orderNum;
|
|
/**
|
* 菜单类型(M目录 C菜单 F按钮)
|
*/
|
@ExcelProperty(value = "菜单类型", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "M=目录,C=菜单,F=按钮")
|
private String menuType;
|
|
/**
|
* 菜单图标
|
*/
|
@ExcelProperty(value = "菜单图标")
|
private String icon;
|
|
/**
|
* 菜单状态(0正常 1停用)
|
*/
|
@ExcelProperty(value = "菜单状态", converter = ExcelDictConvert.class)
|
@ExcelDictFormat(readConverterExp = "0=正常,1=停用")
|
private String status;
|
|
/**
|
* 备注
|
*/
|
@ExcelProperty(value = "备注")
|
private String remark;
|
|
private List<EimsEquTypeVo> children;
|
|
|
}
|