|
@@ -2,11 +2,14 @@ package com.citu.module.menduner.system.controller.app.person.resume;
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
+import static com.citu.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;
|
|
|
+
|
|
|
@Data
|
|
|
@Schema(description = "menduner 人才简历-基本信息 Request VO")
|
|
|
public class AppPersonInfoSaveReqVO {
|
|
@@ -29,6 +32,7 @@ public class AppPersonInfoSaveReqVO {
|
|
|
@Schema(description = "常用邮箱")
|
|
|
private String email;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
|
|
|
@NotNull(message = "{1_100_001_005}")
|
|
|
@Schema(description = "出生日期")
|
|
|
private LocalDateTime birthday;
|
|
@@ -36,17 +40,18 @@ public class AppPersonInfoSaveReqVO {
|
|
|
@Schema(description = "婚姻状况(0未婚 1已婚 2离异 3保密)", example = "1")
|
|
|
private Integer maritalStatus;
|
|
|
|
|
|
- @NotBlank(message = "{1_100_001_009}")
|
|
|
+ @NotNull(message = "{1_100_001_009}")
|
|
|
@Schema(description = "所在城市", example = "8366")
|
|
|
private Long areaId;
|
|
|
|
|
|
@Schema(description = "求职类型(0全职 1兼职 2临时 3实习)", example = "1")
|
|
|
private Integer jobType;
|
|
|
|
|
|
- @NotBlank(message = "{1_100_001_008}")
|
|
|
+ @NotNull(message = "{1_100_001_008}")
|
|
|
@Schema(description = "求职状态(0离职-随时到岗 1在职-月内到岗 2在职-考虑机会 3在职-暂不考虑)", example = "1")
|
|
|
private Integer jobStatus;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
|
|
|
@Schema(description = "首次工作时间")
|
|
|
private LocalDateTime firstWorkTime;
|
|
|
|