|
@@ -8,6 +8,7 @@ import lombok.Data;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
+import javax.validation.constraints.NotNull;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
|
|
|
|
@Data
|
|
@Data
|
|
@@ -46,7 +47,7 @@ public class UserInfoDTO {
|
|
private String promoteBusiness;
|
|
private String promoteBusiness;
|
|
|
|
|
|
/**0paypal 1bank*/
|
|
/**0paypal 1bank*/
|
|
- @NotBlank(message = "payMethod is not null")
|
|
|
|
|
|
+ @NotNull(message = "payMethod is not null")
|
|
@ApiModelProperty(value = "0paypal 1bank")
|
|
@ApiModelProperty(value = "0paypal 1bank")
|
|
private Integer payMethod;
|
|
private Integer payMethod;
|
|
/**paypal email*/
|
|
/**paypal email*/
|
|
@@ -77,13 +78,13 @@ public class UserInfoDTO {
|
|
@ApiModelProperty(value = "Position类型为公司时填写")
|
|
@ApiModelProperty(value = "Position类型为公司时填写")
|
|
private String position;
|
|
private String position;
|
|
/**Date of Incorporation类型为公司时填写*/
|
|
/**Date of Incorporation类型为公司时填写*/
|
|
- @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
|
- @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
|
|
|
|
|
+ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
|
|
|
|
+ @DateTimeFormat(pattern="yyyy-MM-dd ")
|
|
@ApiModelProperty(value = "Date of Incorporation类型为公司时填写")
|
|
@ApiModelProperty(value = "Date of Incorporation类型为公司时填写")
|
|
private Date dateOfIncorporation;
|
|
private Date dateOfIncorporation;
|
|
/**Company Size类型为公司时填写*/
|
|
/**Company Size类型为公司时填写*/
|
|
@ApiModelProperty(value = "Company Size类型为公司时填写")
|
|
@ApiModelProperty(value = "Company Size类型为公司时填写")
|
|
- private String ompanySize;
|
|
|
|
|
|
+ private String companySize;
|
|
/**Business type类型为公司时填写*/
|
|
/**Business type类型为公司时填写*/
|
|
@ApiModelProperty(value = "Business type类型为公司时填写")
|
|
@ApiModelProperty(value = "Business type类型为公司时填写")
|
|
private String businessType;
|
|
private String businessType;
|