package com.ruoyi.staff.pojo; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.io.Serializable; import java.time.LocalDate; import java.time.LocalDateTime; import com.fasterxml.jackson.annotation.JsonFormat; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Getter; import lombok.Setter; import org.springframework.format.annotation.DateTimeFormat; /** *
* 员工教育经历表 *
* * @author 芯导软件(江苏)有限公司 * @since 2026-03-05 04:33:08 */ @Getter @Setter @TableName("staff_education") @Schema(name = "StaffEducation对象", description = "员工教育经历表") public class StaffEducation implements Serializable { private static final long serialVersionUID = 1L; @Schema(description = "主键ID") @TableId(value = "id", type = IdType.AUTO) private Long id; @Schema(description = "关联staff_on_job表主键ID") private Long staffOnJobId; @Schema(description = "学历") private String education; @Schema(description = "毕业院校") private String schoolName; @Schema(description = "入学时间") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate enrollTime; @Schema(description = "毕业时间") @JsonFormat(pattern = "yyyy-MM-dd") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate graduateTime; @Schema(description = "专业") private String major; @Schema(description = "学位") private String degree; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "创建用户") @TableField(fill = FieldFill.INSERT) private Long createUser; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; @Schema(description = "修改用户") @TableField(fill = FieldFill.INSERT_UPDATE) private Long updateUser; @TableField(fill = FieldFill.INSERT) private Long deptId; }