package com.ruoyi.wgz.bo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;
import java.time.Year;

@Data
@NoArgsConstructor
@Accessors(chain = true)
@ApiModel("务工者APP-实名认证·附件结构请求对象")
public class WgzAppAttachmentAcquisitionReq implements Serializable {
	@ApiModelProperty("唯一标识")
	@NotNull(message = "唯一标识不能为空")
	private Long userId;

	@ApiModelProperty("0资格证书 1劳动合同 2保单")
	@NotNull(message = "唯一标识不能为空")
	@Size(min = 1, message = "唯一标识数组必须至少包含一个元素")
	private String[] specifiedAttachment;

}
