package com.ruoyi.personnel.pojo; 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.LocalDateTime; /** *
* *
* * @author 江苏鵷雏网络科技有限公司 * @since 2024-08-30 09:19:57 */ @Getter @Setter @TableName("cnas_person_basic_info") @Schema(description = "") public class PersonBasicInfo implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "主键id") @TableId(value = "id", type = IdType.AUTO) private Integer id; @Schema(description = "当前状态") private String currentState; @Schema(description = "职称") @ExcelProperty("职称") private String professionalTitle; @Schema(description = "性别") private String sex; @Schema(description = "人员分类") private String personnelClassification; @Schema(description = "出生日期") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 private LocalDateTime dateBirth; @Schema(description = "身份证号") @ExcelProperty("证件号码") private String identityCard; @Schema(description = "民族") private String nation; @Schema(description = "政治面貌") private String politicalStatus; @Schema(description = "最高学历") @ExcelProperty("最高学历") private String officialAcademicRedentials; @Schema(description = "毕业时间1") @ExcelProperty("毕业时间") private LocalDateTime graduationTime1; @Schema(description = "毕业院校1") @ExcelProperty("毕业院校") private String graduatedInstitutions1; @Schema(description = "专业1") @ExcelProperty("所学专业") private String major1; @Schema(description = "毕业时间2") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 private LocalDateTime graduationTime2; @Schema(description = "毕业院校2") private String graduatedInstitutions2; @Schema(description = "专业2") private String major2; @Schema(description = "手机号") private String telephone; @Schema(description = "备注") private String remarks; @Schema(description = "用户表(user)id") private Integer userId; @Schema(description = "公司名称") private String corporateName; @Schema(description = "岗位名称") private String postName; @Schema(description = "入集团时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 @ExcelProperty("入集团时间") private LocalDateTime groupTime; @Schema(description = "劳动关系") private Integer laborRelations; @Schema(description = "工作时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 private LocalDateTime workingTime; @Schema(description = "合同有效期") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 private LocalDateTime contractLifeTime; @Schema(description = "籍贯") @ExcelProperty("籍贯") private String nativePlace; @Schema(description = "证件有效期") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 private LocalDateTime validityPeriod; @Schema(description = "婚姻状况") private Integer maritalStatus; @Schema(description = "证件地址") @ExcelProperty("证件地址") private String idAddress; @Schema(description = "证件详细地址") private String idDetailAddress; @Schema(description = "入党/团时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @TableField(updateStrategy = FieldStrategy.ALWAYS) // 为空可以更新 private LocalDateTime dumplingTime; @Schema(description = "最高学位") @ExcelProperty("最高学位") private String highestDegree; @Schema(description = "最后更新时间") @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime lastUpdateTime; }