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-07 */ @Data @TableName("cnas_quality_supervise") @Schema(description = "质量监督主表") public class QualitySupervise { @TableId(type = IdType.AUTO) private Integer superviseId; @Schema(description = "监督名称") private String superviseName; @Schema(description = "年份") private String superviseYear; @Schema(description = "监督人id(多个)") private String recordUserIds; @Schema(description = "外键:用户id(编制人)") private Integer writeUserId; @Schema(description = "编制人") private String writeUserName; @Schema(description = "编制时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime writeTime; @Schema(description = "外键:用户id(批准人)") private Integer ratifyUserId; @Schema(description = "批准人") private String ratifyUserName; @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; }