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.time.LocalDateTime; /** * 年度抽样计划详情表 * * @author zhuo * @since 2024-10-10 */ @TableName(value = "spot_check_year_item") @Data public class SpotCheckYearItem { @TableId(type = IdType.AUTO) private Integer yearItemId; //主表id @Schema(description = "主表id") private Integer yearId; @Schema(description = "类别") private String yearType; @Schema(description = "一月") private String january; @Schema(description = "二月") private String february; @Schema(description = "三月") private String march; @Schema(description = "四月") private String april; @Schema(description = "五月") private String may; @Schema(description = "六月") private String june; @Schema(description = "七月") private String july; @Schema(description = "八月") private String august; @Schema(description = "九月") private String september; @Schema(description = "十月") private String october; @Schema(description = "十一月") private String november; @Schema(description = "十二月") private String december; @Schema(description = "创建人id") @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; }