Lius
2 天以前 95c90e04b516325648e8a3d69e726555d1f7d05e
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
package org.jeecg.modules.eam.entity;
 
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 com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.io.Serializable;
import java.util.Date;
/**
 * @Description: 设备借出归还
 * @Author: jeecg-boot
 * @Date:   2025-05-13
 * @Version: V1.0
 */
@Data
@TableName("eam_equipment_lean_out")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="eam_equipment_lean_out对象", description="设备借出归还")
public class EamEquipmentLeanOut implements Serializable {
 
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**创建时间*/
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**更新时间*/
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    /**删除标记*/
    @ApiModelProperty(value = "删除标记")
    private Integer delFlag;
    /**设备ID*/
    @ApiModelProperty(value = "设备ID")
    private String equipmentId;
    /**单据号*/
    @Excel(name = "单据号", width = 15)
    @ApiModelProperty(value = "单据号")
    private String code;
    /**借入部门*/
    @Excel(name = "借入部门", width = 15, dictTable = "mdc_production", dicText = "production_name", dicCode = "id")
    @ApiModelProperty(value = "借入部门")
    @Dict(dicCode = "mdc_production, production_name, id")
    private String leanDepartId;
    /**借入责任人*/
    @Excel(name = "借入责任人", width = 15)
    @ApiModelProperty(value = "借入责任人")
    @Dict(dicCode = "sys_user, realname, username")
    private String leanPerson;
    /**借用原因*/
    @ApiModelProperty(value = "借用原因")
    private String leanReason;
    /**借出状态*/
    @Excel(name = "借出状态", width = 15)
    @ApiModelProperty(value = "借出状态")
    @Dict(dicCode = "equipment_lean_out_status")
    private String leanStatus;
    /**借出开始时间*/
    @ApiModelProperty(value = "借出时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leanStartTime;
    /**借出归还时间*/
    @ApiModelProperty(value = "归还时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leanEndTime;
    /**使用车间审核人*/
    @Excel(name = "使用车间审核人", width = 15)
    @ApiModelProperty(value = "使用车间审核人")
    @Dict(dicCode = "sys_user, realname, username")
    private String useApprovalUser;
    /**使用车间审批类型*/
    @ApiModelProperty(value = "使用车间审批类型")
    @Dict(dicCode = "approved_rejected")
    private String useApprovalDealType;
    /**使用车间审核意见*/
    @Excel(name = "使用车间审核意见", width = 15)
    @ApiModelProperty(value = "使用车间审核意见")
    private String useApprovalComment;
    /**使用车间审核时间*/
    @ApiModelProperty(value = "使用车间审核时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date useApprovalTime;
 
    /**借用车间审核人*/
    @Excel(name = "借用车间审核人", width = 15)
    @ApiModelProperty(value = "借用车间审核人")
    @Dict(dicCode = "sys_user, realname, username")
    private String leanOutApprovalUser;
    /**借用车间审批类型*/
    @ApiModelProperty(value = "借用车间审批类型")
    @Dict(dicCode = "approved_rejected")
    private String leanOutApprovalDealType;
    /**借用车间审核意见*/
    @Excel(name = "借用车间审核意见", width = 15)
    @ApiModelProperty(value = "使用车间审核意见")
    private String leanOutApprovalComment;
    /**借用车间审核时间*/
    @ApiModelProperty(value = "借用车间审核时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leanOutApprovalTime;
 
    /**使用车间确认人*/
    @Excel(name = "使用车间确认人", width = 15)
    @ApiModelProperty(value = "使用车间确认人")
    @Dict(dicCode = "sys_user, realname, username")
    private String useConfirmUser;
    /**使用车间确认审批类型*/
    @ApiModelProperty(value = "使用车间确认审批类型")
    @Dict(dicCode = "approved_rejected")
    private String useConfirmDealType;
    /**确认意见*/
    @Excel(name = "使用车间确认意见", width = 15)
    @ApiModelProperty(value = "使用车间确认意见")
    private String useConfirmComment;
    /**使用车间确认时间*/
    @ApiModelProperty(value = "使用车间确认时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date useConfirmTime;
    /**借用车间确认人*/
    @Excel(name = "借用车间确认人", width = 15)
    @ApiModelProperty(value = "借用车间确认人")
    @Dict(dicCode = "sys_user, realname, username")
    private String leanOutConfirmUser;
    /**借用车间确认审批类型*/
    @ApiModelProperty(value = "借用车间确认审批类型")
    @Dict(dicCode = "approved_rejected")
    private String leanOutConfirmDealType;
    /**借用车间确认意见*/
    @Excel(name = "借用车间确认意见", width = 15)
    @ApiModelProperty(value = "借用车间确认意见")
    private String leanOutConfirmComment;
    /**借用车间确认时间*/
    @ApiModelProperty(value = "借用车间确认时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date leanOutConfirmTime;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**备注*/
    @Excel(name = "归还备注", width = 15)
    @ApiModelProperty(value = "归还备注")
    private String returnComment;
 
    //列表展示
    @TableField(exist = false)
    private String equipmentCode;
    @TableField(exist = false)
    private String equipmentName;
}