XiaoRuby
2023-07-27 ad7151b14f2721b0fa40a903c6e65a2c511dd4c5
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
package com.yuanchu.limslaboratory.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.io.Serializable;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * <p>
 *
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-07-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Instrument对象", description="")
public class Instrument implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "主键", hidden = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "分类ID 关联", example = "1", required = true)
    private Integer classifyId;
 
    @ApiModelProperty(value = "保管人:用户表关联Id", example = "9", required = true)
    private Integer userId;
 
    @ApiModelProperty(value = "保管人:用户表关联Id", hidden = true)
    private Integer createUserId;
 
    @ApiModelProperty(value = "仪器设备编号", example = "JSTC-W1-00001", required = true)
    private String equipmentCode;
 
    @ApiModelProperty(value = "仪器设备名称", example = "数字电桥", required = true)
    private String equipmentName;
 
    @ApiModelProperty(value = "默认1;1:运行、2:故障、3:报修、4:检修、5:待机", example = "1", required = true)
    private Integer conditions;
 
    @ApiModelProperty(value = "规格型号", example = "WCDMS-1", required = true)
    private String specificationsModels;
 
    @ApiModelProperty(value = "测量范围", example = "12毫米")
    private String measuringRange;
 
    @ApiModelProperty(value = "误差", example = "0.000001微米")
    private String errorRate;
 
    @ApiModelProperty(value = "生产厂家", example = "江苏鵷雏")
    private String manufacturer;
 
    @ApiModelProperty(value = "到货日期", example = "2001-07-06", dataType = "date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date arrivalDate;
 
    @ApiModelProperty(value = "验收日期", example = "2060-07-06", dataType = "date")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date acceptanceDate;
 
    @ApiModelProperty(value = "存放地", example = "地球亚洲中国江苏南通")
    private String storagePlace;
 
    @ApiModelProperty(value = "是否支持数采;1:支持;0:不支持", example = "1")
    private Integer whetherDataAcquisition;
 
    @ApiModelProperty(value = "是否需要仪器设备计量:如果需要计量周期必填;如果不需要计量周期不必填.1:需要;0:不需要", example = "0")
    private Integer equipmentMeasurement;
 
    @ApiModelProperty(value = "计量截止有效期:与equipmentMeasurement相关联", example = "12")
    private Integer termValidity;
 
    @ApiModelProperty(value = "描述", example = "疯狂星期五!!!")
    private String descriptiveness;
 
    @JsonIgnore
    @TableLogic(value = "1", delval = "0")
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间", hidden = true)
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
 
    @JsonIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date updateTime;
 
    @JsonIgnore
    @ApiModelProperty(value = "乐观锁", hidden = true)
    private Integer version;
 
}