package com.ruoyi.basic.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; @TableName(value = "certification") @Data public class Certification implements Serializable { @Schema(description = "主键") @TableId(type = IdType.AUTO) private Integer id; @Schema(description = "资质名称") private String name; @Schema(description = "资质编码") private String code; @Schema(description = "颁发机构") private String organization; @Schema(description = "资质说明") private String explanation; @Schema(description = "首次颁发时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime firstIssuanceDate; @Schema(description = "最近颁发时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime latestIssuanceDate; @Schema(description = "到期颁发时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime expireTime; @Schema(description = "颁布日期") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime dateOfIssuance; @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "更新人") private String createUserName; @Schema(description = "修改人id") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @TableField(fill = FieldFill.INSERT_UPDATE) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime updateTime; @Schema(description = "资质图片地址") private String imageUrl; @Schema(description = "资质附件地址") private String fileUrl; @TableField(fill = FieldFill.INSERT) @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private LocalDateTime createTime; }