package com.ruoyi.manage.pojo; import com.alibaba.excel.annotation.ExcelIgnoreUnannotated; import com.alibaba.excel.annotation.ExcelProperty; import com.baomidou.mybatisplus.annotation.*; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; /** *
* 文件清单 *
* * @author * @since 2024-11-08 11:08:11 */ @Getter @Setter @TableName("cnas_manage_document_list") @Schema(description = "文件清单") @ExcelIgnoreUnannotated public class ManageDocumentList implements Serializable { @TableId(value = "id", type = IdType.AUTO) private Integer id; @Schema(description = "文件编号") @ExcelProperty(value = "文件编号") private String documentCode; @Schema(description = "类别") @ExcelProperty(value = "类别") private String type; @Schema(description = "名称") @ExcelProperty(value = "名称") private String name; @Schema(description = "文件版本") @ExcelProperty(value = "文件版本") private String version; @Schema(description = "作者") @ExcelProperty(value = "作者") private String writer; @Schema(description = "生效日期") @ExcelProperty(value = "生效日期") @JsonFormat(pattern = "yyyy-MM-dd") private LocalDate effectiveDate; @Schema(description = "文件状态") @ExcelProperty(value = "文件状态") private String state; @Schema(description = "附件地址") private String url; @TableField(fill = FieldFill.INSERT) private Integer createUser; @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; }