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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
package org.jeecg.modules.spare.vo;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.modules.spare.entity.SparesScrapDetail;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
import java.util.List;
 
/**
 * @Description: 设备报废
 * @Author: jeecg-boot
 * @Date: 2023-06-21
 * @Version: V1.0
 */
@Data
@ApiModel(value = "mom_eam_spare_part_scrapPage对象", description = "备件报废")
public class SparePartScrapPage {
 
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String createBy;
    /**
     * 创建日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
    /**
     * 更新人
     */
    @ApiModelProperty(value = "更新人")
    private String updateBy;
    /**
     * 更新日期
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
    /**
     * 单据号
     */
    @Excel(name = "单据号", width = 15)
    @ApiModelProperty(value = "单据号")
    private String num;
    /**
     * 审批状态
     */
    @Excel(name = "审批状态", width = 15)
    @Dict(dicCode = "spares_audit_status")
    @ApiModelProperty(value = "审批状态")
    private String auditStatus;
 
    /**
     * 仓库id
     */
    @Excel(name = "仓库id", width = 15)
    @ApiModelProperty(value = "仓库id")
    private String warehouseId;
    /**
     * 领用部门ID
     */
    @Excel(name = "领用部门ID", width = 15)
    @ApiModelProperty(value = "领用部门ID")
    private String departId;
    /**
     * 领用人员ID
     */
    @Excel(name = "领用人员ID", width = 15)
    @ApiModelProperty(value = "领用人员ID")
    private String userId;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**
     * 租户id
     */
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private String tenantId;
 
    @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;
 
    /**
     * 报废单来源
     */
    @Excel(name = "报废单来源", width = 15)
    @ApiModelProperty(value = "报废单来源")
    private String sourceType;
    /**
     * 关联单据id
     */
    @Excel(name = "关联单据id", width = 15)
    @ApiModelProperty(value = "关联单据id")
    private String relatedOrderId;
    /**
     * 企业id
     */
    @Excel(name = "企业id", width = 15)
    @ApiModelProperty(value = "企业id")
    private String enterpriseId;
    /**
     * 备用字段1
     */
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private String uda1;
    /**
     * 备用字段2
     */
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private String uda2;
    /**
     * 备用字段3
     */
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private String uda3;
    /**
     * 备用字段4
     */
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private String uda4;
    /**
     * 备用字段5
     */
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private String uda5;
 
    @ExcelCollection(name = "备件报废明细表")
    @ApiModelProperty(value = "备件报废明细表")
    private List<SparesScrapDetail> sparesScrapDetailList;
 
}