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_correct") @Schema(description = "质量监督详情纠正处理表") public class QualitySuperviseDetailsCorrect { @TableId(type = IdType.AUTO) private Integer superviseDetailsCorrectId; @Schema(description = "监督详情id") private Integer superviseDetailsId; @Schema(description = "人员培训详情Id") private Integer personTrainingDetailedId; @Schema(description = "0不合格描述") private String raiseResult; @Schema(description = "0vde专家发现") private String vdeRaiseResult; @Schema(description = "0提出部门") private String raiseDepartment; @Schema(description = "0提出人id") private Integer raiseUserId; @Schema(description = "0提出人") private String raiseUserName; @Schema(description = "0提出时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate raiseTime; @Schema(description = "1原因分析") private String causeResult; @Schema(description = "1原因分析责任部门") private String causeDepartment; @Schema(description = "1原因分析人id") private Integer causeUserId; @Schema(description = "1原因分析人") private String causeUserName; @Schema(description = "1原因分析时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate causeTime; @Schema(description = "2纠正措施") private String correctResult; @Schema(description = "2提出部门确认") private String raiseDepartmentAffirm; @Schema(description = "2纠正责任部门") private String correctDepartment; @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验证结果") private String validationResult; @Schema(description = "3验证部门") private String validationDepartment; @Schema(description = "3验证人id") private Integer validationUserId; @Schema(description = "3验证人") private String validationUserName; @Schema(description = "3验证时间") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate validationTime; @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; }