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.LocalDate; import java.time.LocalDateTime; /** * 质量监督详情不符合项控制表 * * @author zhuo * @since 2024-11-07 */ @Data @TableName("cnas_quality_supervise_details_according") @Schema(description = "质量监督详情不符合项控制表") public class QualitySuperviseDetailsAccording { @TableId(type = IdType.AUTO) private Integer superviseDetailsAccordingId; @Schema(description = "监督详情id") private Integer superviseDetailsId; @Schema(description = "0发生部门") private String occurrenceDepartment; @Schema(description = "0部门负责人") private String headDepartment; @Schema(description = "0发现途径,0:管理评审,1:内部审核,2:检测过程控制,3:内部质量控制,4:内部监督,5:外部评审,6:外部投诉,7:其他") private Integer findWay; @Schema(description = "0不符合记录详情") private String recordDetail; @Schema(description = "0不合格记录依据") private String recordAccording; @Schema(description = "0发现部门") private String foundDepartment; @Schema(description = "0记录人id") private Integer recordUserId; @Schema(description = "0记录人") private String recordUserName; @Schema(description = "0记录时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate recordTime; @Schema(description = "0被监督人id") private Integer supervisedUserId; @Schema(description = "0被监督人") private String supervisedUserName; @Schema(description = "0被监督时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate supervisedTime; @Schema(description = "1清除不符合措施") private String eliminateMeasure; @Schema(description = "1责任部门") private String responsibleDepartment; @Schema(description = "1处理人id") private Integer actionsUserId; @Schema(description = "1处理人") private String actionsUserName; @Schema(description = "1处理时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate actionsTime; @Schema(description = "2纠正措施内容") private String correctContent; @Schema(description = "2是否纠正处理, 0否, 1是") private Integer isCorrect; @Schema(description = "2纠正技术负责人id") private Integer correctUserId; @Schema(description = "2纠正技术负责人") private String correctUserName; @Schema(description = "2纠正填写时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate correctTime; @Schema(description = "3是否通知客户, 0否, 1是") private Integer notifyCustomer; @Schema(description = "3是否恢复工作, 0否, 1是") private Integer backToWork; @Schema(description = "3质量负责人id") private Integer qualityManagerUserId; @Schema(description = "3质量负责人") private String qualityManagerUserName; @Schema(description = "3质量负责人填写时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate qualityManagerTime; @Schema(description = "是否结束,0: 未结束, 1:结束") private Integer isFinish; @Schema(description = "批准人") private Integer approverUserId; @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; @TableField(exist = false,select = false) @Schema(description = "流程, 0:不符合工作情况记录, 1处理措施, 2:纠正措施, 3:是否通知客户可恢复工作") private Integer flowType; }