package com.ruoyi.personnel.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;
|
|
@Data
|
@TableName("cnas_annex")
|
@Schema(description = "人员基本信息附件表")
|
public class Annex implements Serializable {
|
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
@Schema(description = "user表id")
|
private Integer userId;
|
|
@Schema(description = "证件号")
|
private String idNumber;
|
|
@Schema(description = "发证单位")
|
private String issueUnit;
|
|
@Schema(description = "文件名称")
|
private String fileName;
|
|
@Schema(description = "级别")
|
private String level;
|
|
@Schema(description = "有效期")
|
private String periodValidity;
|
|
@Schema(description = "添加时间")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
@TableField(fill = FieldFill.INSERT)
|
private LocalDateTime createTime;
|
|
@Schema(description = "复印件")
|
private String copy;
|
|
@Schema(description = "原件")
|
private String original;
|
}
|