zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
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
package org.jeecg.modules.library.entity;
 
import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * @Description: 固件
 * @Author: jeecg-boot
 * @Date:   2023-07-24
 * @Version: V1.0
 */
@Data
@TableName("lib_firmware")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lib_firmware对象", description="固件")
public class LibFirmware implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    @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;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    /**编码*/
    @Excel(name = "编码", width = 15)
    @ApiModelProperty(value = "编码")
    private String code;
    /**名称*/
    @Excel(name = "名称", width = 15)
    @ApiModelProperty(value = "名称")
    private String name;
    /**类别*/
    @Excel(name = "类别", width = 15, dicCode = "fw_category")
    @Dict(dicCode = "fw_category")
    @ApiModelProperty(value = "类别")
    private String category;
    /**类型*/
    @Excel(name = "类型", width = 15, dicCode = "fw_type")
    @Dict(dicCode = "fw_type")
    @ApiModelProperty(value = "类型")
    private String type;
    /**版本*/
    @Excel(name = "版本", width = 15)
    @ApiModelProperty(value = "版本")
    private String version;
    /**版本说明*/
    @Excel(name = "版本说明", width = 15)
    @ApiModelProperty(value = "版本说明")
    private String versionExplain;
    /**适用传感器类型*/
    @Excel(name = "适用传感器类型", width = 15, dictTable = "lims_prod_type", dicText = "name", dicCode = "code")
    @Dict(dictTable = "lims_prod_type", dicText = "name", dicCode = "code")
    @ApiModelProperty(value = "适用传感器类型")
    private String sensorType;
    /**适用芯片*/
    @Excel(name = "适用芯片", width = 15, dicCode = "fw_chip")
    @Dict(dicCode = "fw_chip")
    @ApiModelProperty(value = "适用芯片")
    private String chip;
    /**评分*/
    @Excel(name = "评分", width = 15)
    @ApiModelProperty(value = "评分")
    private String score;
    /**说明*/
    @Excel(name = "说明", width = 15)
    @ApiModelProperty(value = "说明")
    private String fwExplain;
    /**(0:待审核/1:待批准/2:已批准/3:废止)*/
    @Excel(name = "(0:待审核/1:待批准/2:已批准/3:废止)", width = 15)
    @ApiModelProperty(value = "(0:待审核/1:待批准/2:已批准/3:废止)")
    private String fwState;
    /**是否启用*/
    @Excel(name = "是否启用", width = 15)
    @ApiModelProperty(value = "是否启用")
    private String isEnable;
    /**附件*/
    @Excel(name = "附件", width = 15)
    @ApiModelProperty(value = "附件")
    private String attachment;
    /**标签*/
    @Excel(name = "标签", width = 15)
    @ApiModelProperty(value = "标签")
    private String fwTag;
    /**备注*/
    @Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
    /**上传人*/
    @Excel(name = "上传人", width = 15)
    @ApiModelProperty(value = "上传人")
    private String uploader;
    /**上传时间*/
    @Excel(name = "上传时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "上传时间")
    private Date uploadTime;
    /**审核人*/
    @Excel(name = "审核人", width = 15)
    @ApiModelProperty(value = "审核人")
    private String auditor;
    /**审核时间*/
    @Excel(name = "审核时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "审核时间")
    private Date auditTime;
    /**批准人*/
    @Excel(name = "批准人", width = 15)
    @ApiModelProperty(value = "批准人")
    private String approver;
    /**批准时间*/
    @Excel(name = "批准时间", width = 15, format = "yyyy-MM-dd")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "批准时间")
    private Date approvalTime;
}