zss
2023-08-07 8f6ffe3ec5691fe2eb1ab6caf49748ff94d8e0fb
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
package com.yuanchu.limslaboratory.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;
 
import java.util.Date;
import java.io.Serializable;
 
/**
 * 申请单下物料中的项目(InspectionProduct)表实体类
 *
 * @author zss
 * @since 2023-08-03 13:04:55
 */
@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@Builder
@TableName("inspection_product")
public class InspectionProduct implements Serializable {
    private static final long serialVersionUID = 1L;
 
    /**
     * 项目id
     **/
    @TableId(type = IdType.AUTO)
    private Integer id;
 
    /**
     * 项目名称
     **/
    private String name;
 
    /**
     * 单位
     **/
    private String unit;
 
    /**
     * 要求值
     **/
    private String required;
 
    /**
     * 内控值
     **/
    private String internal;
 
    /**
     * 检测值
     **/
    private String testValue;
 
    /**
     * 结论 0:不合格;1:合格
     **/
    private Integer testState;
 
    /**
     * ${column.comment}
     **/
    private Integer state;
 
    /**
     * ${column.comment}
     **/
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
 
    /**
     * ${column.comment}
     **/
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
 
    /**
     * 关联 报检物料id
     **/
    private Integer inspectionMaterialId;
 
    /**
     * 关联 用户id 试验员
     **/
    private Integer userId;
 
    /**
     * 关联 设备id
     **/
    private Integer instrumentId;
}