houjie
2023-09-04 a1f67e8727f7af3b3b472446616ab6c591caaebc
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
package org.jeecg.modules.spare.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
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.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
 
import java.io.Serializable;
 
/**
 * @Description: 备件库存
 * @Author: jeecg-boot
 * @Date: 2023-06-21
 * @Version: V1.0
 */
@ApiModel(value = "mom_eam_spares_part_inventory对象", description = "备件库存")
@Data
@TableName("mom_eam_spares_part_inventory")
public class SparesPartInventory extends JeecgEntity implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 备件id
     */
    @Excel(name = "备件id", width = 15)
    @ApiModelProperty(value = "备件id")
    private java.lang.String sparePartId;
    /**
     * 批次号
     */
    @Excel(name = "批次号", width = 15)
    @ApiModelProperty(value = "批次号")
    private java.lang.String batchNum;
    /**
     * 失效预报警
     */
    @Excel(name = "失效预报警", width = 15)
    @ApiModelProperty(value = "失效预报警")
    private java.lang.String validityForecast;
 
    /**
     * 库存预报警
     */
    @Excel(name = "库存预报警", width = 15)
    @ApiModelProperty(value = "库存预报警")
    private java.lang.String inventoryForecast;
 
 
    /**
     * 制造商
     */
    @Excel(name = "制造商", width = 15)
    @ApiModelProperty(value = "制造商")
    @Dict(dictTable = "mom_base_constructor", dicCode = "id", dicText = "name")
    private java.lang.String constructorId;
    /**
     * 主单位id
     */
    @Excel(name = "单位", width = 15)
    @ApiModelProperty(value = "主单位id")
    @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
    private java.lang.String mainUnitId;
    /**
     * 辅单位id
     */
    @Excel(name = "辅单位id", width = 15)
    @ApiModelProperty(value = "辅单位id")
    @Dict(dictTable = "mom_base_unit", dicCode = "id", dicText = "name")
    private java.lang.String auxiliaryUnitId;
 
    @Excel(name = "仓库", width = 15)
    @ApiModelProperty(value = "仓库id")
    private java.lang.String warehouseId;
 
    @Excel(name = "库区", width = 15)
    @ApiModelProperty(value = "库区id")
    @Dict(dictTable = "mom_base_warehouse_area", dicCode = "id", dicText = "name")
    private java.lang.String warehouseAreaId;
 
    @Excel(name = "库位", width = 15)
    @ApiModelProperty(value = "库位id")
    @Dict(dictTable = "mom_base_warehouse_location", dicCode = "id", dicText = "name")
    private java.lang.String warehouseLocationId;
    /**
     * 主数量
     */
    @Excel(name = "数量", width = 15)
    @ApiModelProperty(value = "主数量")
    private java.lang.Double mainQuantity;
    /**
     * 辅数量
     */
    @Excel(name = "辅数量", width = 15)
    @ApiModelProperty(value = "辅数量")
    private java.lang.Double auxiliaryQuantity;
 
 
    /**
     * 出厂日期
    **/
    @Excel(name = "出厂日期", width = 15,format = "yyyy-MM-dd")
    @ApiModelProperty(value = "出厂日期")
    private java.util.Date manufactureDate;
 
 
    /**
     * 供应商id
     */
    @Excel(name = "供应商", width = 15)
    @ApiModelProperty(value = "供应商id")
    @Dict(dictTable = "mom_base_supplier", dicCode = "id", dicText = "name")
    private String supplierId;
 
 
    /**
     * 有效期
     */
    @Excel(name = "有效期", width = 15)
    @ApiModelProperty(value = "有效期")
    private java.lang.Integer validityPeriod;
 
    /**
     * 租户id
     */
    @Excel(name = "租户id", width = 15)
    @ApiModelProperty(value = "租户id")
    private java.lang.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;
 
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remark;
    /**
     * 备用字段1
     */
    @Excel(name = "备用字段1", width = 15)
    @ApiModelProperty(value = "备用字段1")
    private java.lang.String sparesUda1;
    /**
     * 备用字段2
     */
    @Excel(name = "备用字段2", width = 15)
    @ApiModelProperty(value = "备用字段2")
    private java.lang.String sparesUda2;
    /**
     * 备用字段3
     */
    @Excel(name = "备用字段3", width = 15)
    @ApiModelProperty(value = "备用字段3")
    private java.lang.String sparesUda3;
    /**
     * 备用字段4
     */
    @Excel(name = "备用字段4", width = 15)
    @ApiModelProperty(value = "备用字段4")
    private java.lang.String sparesUda4;
    /**
     * 备用字段5
     */
    @Excel(name = "备用字段5", width = 15)
    @ApiModelProperty(value = "备用字段5")
    private java.lang.String sparesUda5;
 
    /**
     * 备件名称
     */
    @TableField(exist = false)
    private String sparePartName;
    /**
     * 备件编码
     */
    @TableField(exist = false)
    private String sparePartNum;
    /**
     * 备件型号
     */
    @TableField(exist = false)
    private String sparePartModel;
    /**
     * 备件规格
     */
    @TableField(exist = false)
    private String sparePartSpecification;
    /**
     * 换算比例
     */
    @TableField(exist = false)
    private String sparePartConversionRatio;
 
}