“linengliang”
2023-08-29 14b1e801322db00b6b0d8dd059b9720adeb21bd8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;
 
import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * @Description: mom_eam_equipment_category
 * @Author: jeecg-boot
 * @Date:   2023-03-08
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_equipment_category")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mom_eam_equipment_category对象", description="mom_eam_equipment_category")
public class EquipmentCategory extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**父id*/
    @ApiModelProperty(value = "父id")
    private String parentId;
    /**设备分类编码*/
    @Excel(name = "设备分类编码", width = 15)
    @ApiModelProperty(value = "设备分类编码")
    private String num;
    /**设备分类名称*/
    @Excel(name = "设备分类名称", width = 15)
    @ApiModelProperty(value = "设备分类名称")
    private String name;
 
    /**租户id*/
    @ApiModelProperty(value = "租户id")
    private String tenantId;
    /**删除状态(0-正常,1-已删除)*/
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**备用字段1*/
    @Excel(name = "设备分类标识", width = 15,dicCode = "equipment_category")
    @ApiModelProperty(value = "设备分类标识(数据字典:equipment_category)")
    @Dict(dicCode = "equipment_category")
    private String equipmentCategoryUda1;
    /**备用字段2*/
    @Excel(name = "技术状态鉴定周期", width = 15,dicCode = "appraisal_cycle")
    @ApiModelProperty(value = "技术状态鉴定周期")
    @Dict(dicCode = "appraisal_cycle")
    private String equipmentCategoryUda2;
    /**备用字段3*/
    @ApiModelProperty(value = "备用字段3")
    private String equipmentCategoryUda3;
    /**备用字段4*/
    @ApiModelProperty(value = "备用字段4")
    private String equipmentCategoryUda4;
    /**备用字段5*/
    @ApiModelProperty(value = "备用字段5")
    private String equipmentCategoryUda5;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
 
    /**状态 0 禁用 1 启用*/
    @ApiModelProperty(value = "状态 0 禁用 1 启用")
    private String status = CommonConstant.STATUS_1;
 
    @ApiModelProperty(value = "上级设备分类编号")
    @TableField(exist = false)
    private String parentNum;
 
    @ApiModelProperty(value = "上级设备分类名称")
    @TableField(exist = false)
    private String parentName;
 
    @ApiModelProperty(value = "下级设备分类")
    @TableField(exist = false)
    private List<EquipmentCategory> equipmentCategoryDtlList;
 
}