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; /** * 质量监控计划主表 * * @author zhuo * @since 2024-11-06 */ @Data @TableName("cnas_quality_monitor") @Schema(description = "质量监控计划主表") public class QualityMonitor { @TableId(type = IdType.AUTO) private Integer qualityMonitorId; @Schema(description = "计划名称") private String monitorName; @Schema(description = "计划年份") private String monitorYear; @Schema(description = "外键:用户id(编制人)") private Integer writeUserId; @Schema(description = "编制时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime writeTime; @Schema(description = "外键:用户id(审核人)") private Integer examineUserId; @Schema(description = "审核时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime examineTime; @Schema(description = "审核状态 , 0 不通过, 1通过") private Integer examineStatus; @Schema(description = "审核内容") private String examineRemark; @Schema(description = "外键:用户id(批准人)") private Integer ratifyUserId; @Schema(description = "批准时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime ratifyTime; @Schema(description = "批准状态, 0 不通过, 1通过") private Integer ratifyStatus; @Schema(description = "批准内容") private String ratifyRemark; @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; }