车间能级提升-智能设备管理系统
baoshiwei
2025-04-17 bb79260cbeeac88cfbadc9606eea57002e8945bc
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
package org.dromara.eims.domain.vo;
 
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;
import org.dromara.eims.domain.EimsSpare;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
 
import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
 
 
 
/**
 * 备件台账视图对象 eims_spare
 *
 * @author zhuguifei
 * @date 2025-03-20
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = EimsSpare.class)
public class EimsSpareVo implements Serializable {
 
    @Serial
    private static final long serialVersionUID = 1L;
 
    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;
 
    /**
     * 类型
     */
    @ExcelProperty(value = "类型")
    private Long type;
 
    @Translation(type = TransConstant.SPARE_TYPE_ID_TO_NAME, mapper = "type")
    private String typeName;
 
    /**
     * 备件名称
     */
    @ExcelProperty(value = "备件名称")
    private String name;
 
    /**
     * 备件编码
     */
    @ExcelProperty(value = "备件编码")
    private String code;
 
    /**
     * 备件图片
     */
    @ExcelProperty(value = "备件图片")
    private Long img;
 
    /**
     * 备件图片Url
     */
    @Translation(type = TransConstant.OSS_ID_TO_URL, mapper = "img")
    private String imgUrl;
    /**
     * 型号
     */
    @ExcelProperty(value = "型号")
    private String modelNo;
 
    /**
     * 制造商
     */
    @ExcelProperty(value = "制造商")
    private String madeIn;
 
    /**
     * 供应商
     */
    @ExcelProperty(value = "供应商")
    private String supplier;
 
    /**
     * 计量单位(字典)
     */
    @ExcelProperty(value = "计量单位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "eims_spare_unit")
    private String unit;
 
    /**
     * 参考价格
     */
    @ExcelProperty(value = "参考价格")
    private BigDecimal referPrice;
 
    /**
     * 库存上限
     */
    @ExcelProperty(value = "库存上限")
    private Long upperStock;
 
    /**
     * 库存下限
     */
    @ExcelProperty(value = "库存下限")
    private Long lowerStock;
 
    /**
     * 实际库存
     */
    @ExcelProperty(value = "实际库存")
    private Long actualStock;
 
    /**
     * 库存金额
     */
    @ExcelProperty(value = "库存金额")
    private BigDecimal stockAmount;
 
    /**
     * 更换周期
     */
    @ExcelProperty(value = "更换周期")
    private Long replaceCycle;
 
    /**
     * 更换周期单位(字典)
     */
    @ExcelProperty(value = "更换周期单位", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "maint_cycle_unit")
    private String cycleUnit;
 
    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;
    /**
     * 出库入库数量
     */
    private Long quantity;
 
}