zhangherong
5 天以前 d911bf5c02ec6438da7dd564f061633124b6eb12
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
package org.jeecg.modules.eam.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
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.jeecg.common.constant.CommonConstant;
import org.jeecg.common.system.base.entity.JeecgEntity;
import org.jeecgframework.poi.excel.annotation.Excel;
 
import java.io.Serializable;
import java.math.BigDecimal;
 
/**
 * @Description: 备品备件管理
 * @Author: Lius
 * @Date: 2025-03-19
 * @Version: V1.0
 */
@Data
@TableName("eam_spare_parts")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "eam_spare_parts对象", description = "备品备件管理")
public class EamSpareParts extends JeecgEntity implements Serializable {
 
    private static final long serialVersionUID = -415017937153260910L;
 
    /**
     * 删除标记
     */
    @Excel(name = "删除标记", width = 15)
    @JsonIgnore
    @ApiModelProperty(value = "删除状态(0-正常,1-已删除)", hidden = true)
    @TableLogic
    private Integer delFlag = CommonConstant.DEL_FLAG_0;
    /**
     * 备件编码
     */
    @Excel(name = "备件编码", width = 15)
    @ApiModelProperty(value = "备件编码")
    private String partCode;
    /**
     * 备件名称
     */
    @Excel(name = "备件名称", width = 15)
    @ApiModelProperty(value = "备件名称")
    private String partName;
    /**
     * 备件分类
     */
    @Excel(name = "备件分类", width = 15)
    @ApiModelProperty(value = "备件分类")
    @Dict(dicCode = "spare_part_category")
    private String partCategory;
    /**
     * 备件型号
     */
    @Excel(name = "备件型号", width = 15)
    @ApiModelProperty(value = "备件型号")
    private String partModel;
    /**
     * 备件规格
     */
    @Excel(name = "备件规格", width = 15)
    @ApiModelProperty(value = "备件规格")
    private String partSpecification;
    /**
     * 存放仓库
     */
    @Excel(name = "存放仓库", width = 15)
    @ApiModelProperty(value = "存放仓库")
    private String storehouse;
    /**
     * 计量单位
     */
    @Excel(name = "计量单位", width = 15)
    @ApiModelProperty(value = "计量单位")
    private String unit;
    /**
     * 制造企业
     */
    @Excel(name = "制造企业", width = 15)
    @ApiModelProperty(value = "制造企业")
    private String manufacturingEnterprise;
    /**
     * 有效期(天);单位:天
     */
    @Excel(name = "有效期(天);单位:天", width = 15)
    @ApiModelProperty(value = "有效期(天);单位:天")
    private Integer periodOfValidity;
    /**
     * 最大备货库存
     */
    @Excel(name = "最大备货库存", width = 15)
    @ApiModelProperty(value = "最大备货库存")
    private BigDecimal inventoryMax;
    /**
     * 最小备货库存
     */
    @Excel(name = "最小备货库存", width = 15)
    @ApiModelProperty(value = "最小备货库存")
    private BigDecimal inventoryMin;
    /**
     * 库存预警值
     */
    @Excel(name = "库存预警值", width = 15)
    @ApiModelProperty(value = "库存预警值")
    private BigDecimal inventoryWarning;
    /**
     * 备注
     */
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
 
    /**
     * 库存总数量
     */
    @TableField(exist = false)
    private String totalQuantity;
}