package com.ruoyi.wgz.bo.req;

import com.ruoyi.common.domain.Annex;
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 java.io.Serializable;
import java.util.List;

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

	@ApiModelProperty("身份证正面图路径")
	@NotBlank(message = "身份证正面图路径不能为空")
	private String frontPath;

	@ApiModelProperty("身份证反面图路径")
	@NotBlank(message = "身份证反面图路径不能为空")
	private String reverseSidePath;

	@ApiModelProperty("姓名")
	@NotBlank(message = "姓名不能为空")
	private String username;

	@ApiModelProperty("性别")
	@NotBlank(message = "性别不能为空")
	private String gender;

	@ApiModelProperty("民族")
	@NotBlank(message = "民族不能为空")
	private String nation;

	@ApiModelProperty("出生日期")
	@NotBlank(message = "出生日期不能为空")
	private String birthdate;

	@ApiModelProperty("身份证号码")
	@NotBlank(message = "身份证号码不能为空")
	private String identityCard;

	@ApiModelProperty("所在区域")
	@NotBlank(message = "所在区域不能为空")
	private String area;

	@ApiModelProperty("地址")
	@NotBlank(message = "地址不能为空")
	private String site;

	@ApiModelProperty("联系电话")
	@NotBlank(message = "联系电话不能为空")
	private String phone;

	@ApiModelProperty("银行")
	@NotBlank(message = "银行不能为空")
	private String bank;

	@ApiModelProperty("银行卡号")
	@NotBlank(message = "银行卡号不能为空")
	private String cardNo;

	@ApiModelProperty("附件实体数据")
	private List<Annex> annex;

	@ApiModelProperty("工种，多个逗号分隔")
	private String typeOfWork;

}
