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-09 */ @Data @TableName("cnas_quality_supervise_details_correct_file") @Schema(description = "质量监督详情纠正措施附件表") public class QualitySuperviseDetailsCorrectFile { @TableId(type = IdType.AUTO) private Integer superviseDetailsCorrectFileId; @Schema(description = "监督详情纠正措施id") private Integer superviseDetailsCorrectId; @Schema(description = "类型:1图片/2文件") private Integer type; @Schema(description = "附件路径") private String fileUrl; @Schema(description = "附件名称") private String fileName; @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; }