cuijian
2023-08-19 bdd0875d4b13a3f1ef472f64d4b6a95e0ef64b22
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
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.aspect.annotation.Dict;
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 java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.UnsupportedEncodingException;
 
/**
 * @Description: 设备报废明细
 * @Author: jeecg-boot
 * @Date:   2023-05-06
 * @Version: V1.0
 */
@ApiModel(value="mom_eam_equipment_scrap_detail对象", description="设备报废明细")
@Data
@TableName("mom_eam_equipment_scrap_detail")
public class EquipmentScrapDetail  extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
 
    /**设备变动单id*/
    @ApiModelProperty(value = "设备变动单id")
    private String equipmentChangeId;
    /**设备ID*/
    @Excel(name = "设备ID", width = 15, dictTable = "mom_eam_equipment", dicText = "num", dicCode = "id")
    @ApiModelProperty(value = "设备ID")
    private String equipmentId;
    /**设备编码*/
    @Excel(name = "设备编码", width = 15)
    @ApiModelProperty(value = "设备编码")
    private String equipmentNum;
    /**资产编码*/
    @Excel(name = "资产编码", width = 15)
    @ApiModelProperty(value = "资产编码")
    private String assetNumber;
    /**特种设备(是、否)*/
    @Excel(name = "特种设备(是、否)", width = 15)
    @ApiModelProperty(value = "特种设备(是、否)")
    @Dict(dicCode = "specific_equipment")
    private String specificEquipment;
    /**设备名称*/
    @Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private String equipmentName;
    /**设备型号*/
    @Excel(name = "设备型号", width = 15)
    @ApiModelProperty(value = "设备型号")
    private String model;
    /**设备规格*/
    @Excel(name = "设备规格", width = 15)
    @ApiModelProperty(value = "设备规格")
    private String specification;
    /**设备状态*/
    @Excel(name = "设备状态", width = 15, dicCode = "equipment_status")
    @Dict(dicCode = "equipment_status")
    @ApiModelProperty(value = "设备状态")
    private String equipmentStatus;
    /**技术状态*/
    @Excel(name = "技术状态", width = 15, dicCode = "technology_status")
    @ApiModelProperty(value = "技术状态")
    @Dict(dicCode = "technology_status")
    private String technologyStatus;
    /**设备位置*/
    @Excel(name = "设备位置", width = 15)
    @ApiModelProperty(value = "设备位置")
    private String location;
    /**重要度*/
    @Excel(name = "重要度", width = 15, dictTable = "mom_eam_equipment_importance", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "重要度")
    @Dict(dictTable = "mom_eam_equipment_importance", dicText = "name", dicCode = "id")
    private String equipmentImportanceId;
    /**设备图片*/
    @Excel(name = "设备图片", width = 15)
    @ApiModelProperty(value = "设备图片")
    private String equipmentPhoto;
    /**报废原因*/
    @Excel(name = "报废原因", width = 15)
    @ApiModelProperty(value = "报废原因")
    private String scrapReason;
    /**报废日期*/
    @Excel(name = "报废日期", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "报废日期")
    private Date scrapDate;
 
    /**租户id*/
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private String tenantId;
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**状态 0 禁用 1 启用*/
    @Excel(name = "状态 0 禁用 1 启用", width = 15)
    @ApiModelProperty(value = "状态 0 禁用 1 启用")
    private String status =CommonConstant.STATUS_1;
    /**企业id*/
    @Excel(name = "企业id", width = 15)
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;
    /**备用字段1*/
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String equipmentScrapDetailUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String equipmentScrapDetailUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String equipmentScrapDetailUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String equipmentScrapDetailUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String equipmentScrapDetailUda5;
}