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
152
153
154
155
156
157
158
159
160
161
package com.ruoyi.process.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
 
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.util.List;
 
/**
 * 质量监控计划详情评价表
 *
 * @author zhuo
 * @since 2024-11-06
 */
@Data
@TableName("cnas_quality_monitor_details_evaluate")
@Schema(description = "质量监控计划详情评价表")
public class QualityMonitorDetailsEvaluate {
 
    @Schema(description = "质量控制评价记录ID")
    @TableId(type = IdType.AUTO)
    private Integer detailsEvaluateId;
 
    @Schema(description = "监控计划详情id")
    private Integer qualityMonitorDetailsId;
 
    @Schema(description = "关联的质控检验任务ID")
    private Integer insOrderId;
    @Schema(description = "监督员用户ID,与评价人分开")
    private Integer supervisorUserId;
    @Schema(description = "被监督检测员用户ID")
    private Integer inspectorUserId;
    @Schema(description = "检测样品名称")
    private String sampleName;
    @Schema(description = "检测样品规格")
    private String sampleSpec;
    @Schema(description = "历史单一检测时间;新评价页面从原始记录读取日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime inspectionTime;
    @Schema(description = "历史设备名称;新评价页面从原始记录读取所用设备")
    private String equipmentDescription;
    @Schema(description = "历史设备规格;新评价页面从原始记录读取所用设备")
    private String equipmentSpec;
    @Schema(description = "历史设备编号;新评价页面从原始记录读取所用设备")
    private String equipmentCode;
    @Schema(description = "检测情况及评价")
    private String evaluationConclusion;
    @Schema(description = "纠正措施及预防措施")
    private String correctiveAction;
    @Schema(description = "验证情况")
    private String verificationResult;
    @Schema(description = "纠正措施责任人用户ID")
    private Integer correctiveResponsibleUserId;
    @Schema(description = "纠正措施完成日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate correctiveDueDate;
    @Schema(description = "验证责任人用户ID")
    private Integer verificationResponsibleUserId;
    @Schema(description = "验证日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate verificationDate;
 
    @Schema(description = "检测数据与盲样值对照行,非数据库字段")
    @TableField(exist = false)
    private List<QualityMonitorEvaluateResult> resultRows;
 
    @Schema(description = "评价人已核对原始记录检测数据,提交校验使用")
    @TableField(exist = false)
    private Boolean measurementConfirmed;
 
    @Schema(description = "当前登录用户能否编写评价,非数据库字段")
    @TableField(exist = false)
    private Boolean evaluationEditable;
 
    @Schema(description = "当前不能编写评价的原因,非数据库字段")
    @TableField(exist = false)
    private String evaluationEditReason;
 
    @Schema(description = "质控检验任务状态,非数据库字段")
    @TableField(exist = false)
    private Integer inspectionTaskState;
 
    @Schema(description = "已复核原始记录中的检测日期集合,非数据库字段")
    @TableField(exist = false)
    private List<String> rawInspectionDates;
 
    @Schema(description = "已复核原始记录中的设备名称,非数据库字段")
    @TableField(exist = false)
    private String rawEquipmentDescription;
 
    @Schema(description = "已复核原始记录中的设备规格,非数据库字段")
    @TableField(exist = false)
    private String rawEquipmentSpec;
 
    @Schema(description = "已复核原始记录中的设备编号,非数据库字段")
    @TableField(exist = false)
    private String rawEquipmentCode;
 
    @Schema(description = "评审目的")
    private String reviewPurpose;
 
    @Schema(description = "评审人员")
    private String reviewUser;
 
    @Schema(description = "评审日期")
    private String reviewTime;
 
    @Schema(description = "实施情况")
    private String implementCondition;
 
    @Schema(description = "实施部门")
    private String implementDepartment;
 
    @Schema(description = "实施结果")
    private String implementResult;
 
    @Schema(description = "实施技术负责人")
    private Integer implementUserId;
 
    @Schema(description = "批准结论")
    private String ratifyOpinion;
 
    @Schema(description = "批准技术负责人")
    private Integer ratifyUserId;
 
    @Schema(description = "批准时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime ratifyTime;
 
    @Schema(description = "创建人")
    @TableField(fill = FieldFill.INSERT)
    private Integer createUser;
 
    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
 
    @Schema(description = "修改人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Integer updateUser;
 
    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
 
    @Schema(description = "是否结束0:未结束, 1:已结束")
    private Integer isFinish;
 
    @Schema(description = "实施技术负责人名称")
    @TableField(exist = false,select = false)
    private String implementName;
 
    @Schema(description = "批准技术负责人名称")
    @TableField(exist = false,select = false)
    private String ratifyUserName;
}