| | |
| | | import java.time.LocalDateTime; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | |
| | | @Getter |
| | | @Setter |
| | | @TableName("staff_work_experience") |
| | | @ApiModel(value = "StaffWorkExperience对象", description = "员工工作经历表") |
| | | @Schema(name = "StaffWorkExperience对象", description = "员工工作经历表") |
| | | public class StaffWorkExperience implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @ApiModelProperty("主键ID") |
| | | @Schema(description = "主键ID") |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("关联staff_on_job表主键ID") |
| | | @Schema(description = "关联staff_on_job表主键ID") |
| | | private Long staffOnJobId; |
| | | |
| | | @ApiModelProperty("前公司") |
| | | @Schema(description = "前公司") |
| | | private String formerCompany; |
| | | |
| | | @ApiModelProperty("前公司部门") |
| | | @Schema(description = "前公司部门") |
| | | private String formerDept; |
| | | |
| | | @ApiModelProperty("前公司职位") |
| | | @Schema(description = "前公司职位") |
| | | private String formerPosition; |
| | | |
| | | @ApiModelProperty("开始日期") |
| | | @Schema(description = "开始日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate startDate; |
| | | |
| | | @ApiModelProperty("结束日期") |
| | | @Schema(description = "结束日期") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | private LocalDate endDate; |
| | | |
| | | @ApiModelProperty("工作描述") |
| | | @Schema(description = "工作描述") |
| | | private String workDesc; |
| | | |
| | | @ApiModelProperty("创建时间") |
| | | @Schema(description = "创建时间") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private LocalDateTime createTime; |
| | | |
| | | @ApiModelProperty("创建用户") |
| | | @Schema(description = "创建用户") |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long createUser; |
| | | |
| | | @ApiModelProperty("修改时间") |
| | | @Schema(description = "修改时间") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private LocalDateTime updateTime; |
| | | |
| | | @ApiModelProperty("修改用户") |
| | | @Schema(description = "修改用户") |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | private Long updateUser; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | private Long deptId; |
| | | } |