@@ -11,6 +11,7 @@ import lombok.Setter; | |||
import javax.persistence.*; | |||
import javax.validation.constraints.NotBlank; | |||
import javax.validation.constraints.NotNull; | |||
import java.time.LocalDate; | |||
import java.time.LocalDateTime; | |||
/** | |||
@@ -80,10 +81,10 @@ public class AccountInfo extends AbstractStringPropertyUUIDEntity { | |||
private String userIdBackImgUrl;// 会员证件照地址-国徽 | |||
@Column(name = "USER_ID_BACK_IMG_BASE64") | |||
private String userIdBackImgBase64;// 会员证件照地址-国徽 | |||
@Column(name = "START_TIME") | |||
private LocalDateTime startTime;// 有效期; | |||
@Column(name = "START_DATE") | |||
private LocalDate startDate;// 有效期开始日期; | |||
@Column(name = "EXPIRE_TIME") | |||
private LocalDateTime expireTime;// 有效期截止日期; | |||
private LocalDate expireDate;// 有效期截止日期; | |||
@Column(name = "ADDRESS") | |||
private String address;// 地址; | |||
@@ -11,6 +11,7 @@ import lombok.experimental.Accessors; | |||
import javax.validation.constraints.NotBlank; | |||
import javax.validation.constraints.NotNull; | |||
import java.time.LocalDate; | |||
import java.time.LocalDateTime; | |||
@Getter | |||
@@ -38,9 +39,8 @@ public class AuthRequest extends AbstractPortalRequest<AuthResponse> { | |||
private String userIdBackImgUrl;// 会员证件照地址-国徽 | |||
@NotBlank(message = "证件背面照内容不能为空") | |||
private String userIdBackImgBase64;// 会员证件照地址-国徽 | |||
@NotNull(message = "证件有效期开始时间") | |||
private LocalDateTime startTime;// 有效期; | |||
private LocalDateTime expireTime;// 有效期截止日期; | |||
private LocalDate startDate;// 有效期开始日期; | |||
private LocalDate expireDate;// 有效期截止日期; | |||
@NotBlank(message = "地址不能为空") | |||
private String address;// 地址; | |||
@@ -11,7 +11,7 @@ import lombok.experimental.Accessors; | |||
import javax.validation.constraints.NotBlank; | |||
import javax.validation.constraints.NotNull; | |||
import java.time.LocalDateTime; | |||
import java.time.LocalDate; | |||
@Getter | |||
@Setter | |||
@@ -35,9 +35,8 @@ public class AccountInfoAuthRequestDTO extends AbstractBizRequestDTO { | |||
private String userIdBackImgUrl;// 会员证件照地址-国徽 | |||
@NotBlank(message = "证件背面照内容不能为空") | |||
private String userIdBackImgBase64;// 会员证件照地址-国徽 | |||
@NotNull(message = "证件有效期开始时间") | |||
private LocalDateTime startTime;// 有效期; | |||
private LocalDateTime expireTime;// 有效期截止日期; | |||
private LocalDate startDate;// 有效期开始日期; | |||
private LocalDate expireDate;// 有效期截止日期; | |||
@NotBlank(message = "地址不能为空") | |||
private String address;// 地址; | |||