package com.softwarebr.nunu.json.admin.res;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @date 2020-02-21 11:48:30
 * @author lilin
 */

@Data
@ApiModel
public class TalentParam {

	@ApiModelProperty(value = "姓名", required = true, example = "")
	@NotEmpty(message = "姓名不能为空")
	private String name;

	@ApiModelProperty(value = "性别", required = true, example = "")
	@NotEmpty(message = "性别不能为空")
	private String sex;

	@ApiModelProperty(value = "出生日期", required = true, example = "")
	@NotEmpty(message = "出生日期不能为空")
	private String birthDay;

	@ApiModelProperty(value = "期望工作省份", required = true, example = "")
	private Long provinceId;

	@ApiModelProperty(value = "期望工作城市", required = true, example = "")
	private Long cityId;

	@ApiModelProperty(value = "期望工作区县", required = true, example = "")
	private Long areaId;

	@ApiModelProperty(value = "擅长领域", required = true, example = "")
	@NotEmpty(message = "擅长领域不能为空")
	private String expertise;

	@ApiModelProperty(value = "招聘封面图", required = true, example = "")
	@NotEmpty(message = "请上传招聘封面图")
	private String coverUri;

	@ApiModelProperty(value = "工作经历", required = true, example = "")
	@NotEmpty(message = "工作经历不能为空")
	private String empirical;

	@ApiModelProperty(value = "合作需求", required = true, example = "")
	@NotEmpty(message = "合作需求不能为空")
	private String cooperationNeeds;

	@ApiModelProperty(value = "附件,多张以逗号,分隔", required = true, example = "")
	private String annex;

	@ApiModelProperty(value = "项目联系人", required = true, example = "")
	@NotEmpty(message = "项目联系人不能为空")
	private String contact;

	@ApiModelProperty(value = "手机号码", required = true, example = "")
	@NotEmpty(message = "手机号码不能为空")
	private String contactPhone;

	@ApiModelProperty(value = "电子邮箱", required = true, example = "")
	@NotEmpty(message = "电子邮箱不能为空")
	private String email;

	@ApiModelProperty(value = "公开状态(1公开 2隐私 3平台可见)", required = true, example = "")
	@NotNull
	private Integer publicity;

}