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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
package org.jeecg.modules.eam.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
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_report_after_repair
 * @Author: jeecg-boot
 * @Date:   2023-08-04
 * @Version: V1.0
 */
@Data
@TableName("mom_eam_report_after_repair")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="mom_eam_report_after_repair对象", description="mom_eam_report_after_repair")
public class ReportAfterRepair extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**单据号*/
    @Excel(name = "单据号", width = 15)
    @ApiModelProperty(value = "单据号")
    private String num;
    /**审批状态*/
    @Excel(name = "审批状态", width = 15)
    @ApiModelProperty(value = "审批状态")
    @Dict(dicCode = "audit_status")
    private String auditStatus ;
    /**设备id*/
    @Excel(name = "设备id", width = 15)
    @ApiModelProperty(value = "设备id")
    private String equipmentId;
    /**故障描述*/
    @Excel(name = "故障描述", width = 15)
    @ApiModelProperty(value = "故障描述")
    private String faultDescription;
    /**故障时间*/
    @ApiModelProperty(value = "故障时间")
    @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")
    private Date faultTime;
    /**是否停机待修*/
    @Excel(name = "是否停机待修", width = 15)
    @ApiModelProperty(value = "是否停机待修")
    private String isStop;
    /**维保方式*/
    @Excel(name = "维保方式", width = 15)
    @ApiModelProperty(value = "维保方式")
    @Dict(dicCode = "maintenance_method")
    private String maintenanceMethod;
    /**责任班组*/
    @Excel(name = "责任班组", width = 15)
    @ApiModelProperty(value = "责任班组")
    @Dict(dictTable = "mom_base_team",dicCode = "id",dicText = "name")
    private String teamId;
    /**故障报修单ID*/
    @Excel(name = "故障报修单ID", width = 15)
    @ApiModelProperty(value = "故障报修单ID")
    private String reportRepairId;
    @ApiModelProperty(value = "使用部门")
    @Dict(dictTable = "sys_depart",dicCode = "id",dicText = "depart_name")
    private String departId;
    @ApiModelProperty(value = "报修人")
    @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname")
    private String reportUserId;
    @ApiModelProperty(value = "实际开始时间")
    private Date actualStartTime;
    @ApiModelProperty(value = "实际结束时间")
    private Date actualEndTime;
    @ApiModelProperty(value = "工时定额")
    private BigDecimal workingHourQuota;
    @ApiModelProperty(value = "责任人")
    @Dict(dictTable = "sys_user",dicCode = "id",dicText = "realname")
    private String responsibilityId;
    @ApiModelProperty(value = "委外单位")
    @Dict(dictTable = "sys_depart",dicCode = "id",dicText = "depart_name")
    private String outsourcingUnit;
    @ApiModelProperty(value = "实际工时")
    private BigDecimal actualHour;
    @ApiModelProperty(value = "故障照片")
    private String photo;
    /**备用字段1*/
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String reportAfterRepairUda1;
    /**备用字段2*/
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String reportAfterRepairUda2;
    /**备用字段3*/
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String reportAfterRepairUda3;
    /**备用字段4*/
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String reportAfterRepairUda4;
    /**备用字段5*/
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String reportAfterRepairUda5;
    /**状态*/
    @Excel(name = "状态", width = 15)
    @ApiModelProperty(value = "状态")
    private String status;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**企业ID*/
    @Excel(name = "企业ID", width = 15)
    @ApiModelProperty(value = "企业ID")
    private String enterpriseId;
 
    /**删除状态(0-正常,1-已删除)*/
    @Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**租户id*/
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private String tenantId;
 
    @TableField(exist = false)
    private String equipmentNum;
    @TableField(exist = false)
    private String equipmentName;
    @TableField(exist = false)
    private String equipmentModel;
 
}