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 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 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; }