优化
This commit is contained in:
		@ -12,6 +12,7 @@ import javax.validation.constraints.Pattern;
 | 
			
		||||
import javax.validation.constraints.Size;
 | 
			
		||||
import java.io.Serializable;
 | 
			
		||||
import java.time.Year;
 | 
			
		||||
import java.util.List;
 | 
			
		||||
 | 
			
		||||
@Data
 | 
			
		||||
@NoArgsConstructor
 | 
			
		||||
@ -19,8 +20,10 @@ import java.time.Year;
 | 
			
		||||
@ApiModel("务工者APP-实名认证·附件结构请求对象")
 | 
			
		||||
public class WgzAppAttachmentAcquisitionReq implements Serializable {
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("0用户资料 1招工+用户资料")
 | 
			
		||||
	private int type;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("0资格证书 1劳动合同 2保单 3入场材料 4电子税票 5工作明细报告")
 | 
			
		||||
	@Pattern(regexp = "^[0-5]$", message = "status 只能是 0 到 5 之间的数字")
 | 
			
		||||
	private String[] specifiedAttachment;
 | 
			
		||||
	private List<String> specifiedAttachment;
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -43,7 +43,7 @@ public class WgzAppRealNameAuthenticationReq implements Serializable {
 | 
			
		||||
	private String nation;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("出生日期")
 | 
			
		||||
	@NotBlank(message = "出生日期不能为空")
 | 
			
		||||
	@NotNull(message = "出生日期不能为空")
 | 
			
		||||
	private LocalDate birthdate;
 | 
			
		||||
 | 
			
		||||
	@ApiModelProperty("身份证号码")
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user