package com.ruoyi.inspect.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.io.Serializable; import java.time.LocalDateTime; /** * 年度抽样计划 * * @author zhuo * @since 2024-10-10 */ @TableName(value ="spot_check_year") @Data public class SpotCheckYear implements Serializable { @TableId(type = IdType.AUTO) private Integer yearId; @Schema(description = "名称") private String yearHead; @Schema(description = "报告生成地址") private String fileUrl; @Schema(description = "表格内备注") private String tableRemark; @Schema(description = "备注") private String remark; @Schema(description = "编制人") private Integer writeUser; @Schema(description = "会签人") private String countersignUser; @Schema(description = "批准人") private Integer examineUser; @Schema(description = "批准人") private Integer ratifyUser; @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "修改人id") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; @Schema(description = "更新时间") @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; }