package com.yifu.cloud.plus.v1.batch.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.List;

/**
 * 单个新增人员档案附件请求VO
 *
 * @author huych
 * @date 2025-12-31
 */
@Data
@Schema(description = "单个新增人员档案附件请求VO")
public class SingleArchiveUploadVO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 身份证号
	 */
	@NotBlank(message = "身份证号不能为空")
	@Schema(description = "身份证号")
	private String empIdcard;

	/**
	 * 姓名
	 */
	@NotBlank(message = "姓名不能为空")
	@Schema(description = "姓名")
	private String empName;

	/**
	 * 项目编码
	 */
	@NotBlank(message = "项目编码不能为空")
	@Schema(description = "项目编码")
	private String deptNo;

	/**
	 * 项目名称
	 */
	@NotBlank(message = "项目名称不能为空")
	@Schema(description = "项目名称")
	private String deptName;

	/**
	 * 资料类型（存量、新签、续签、减员）
	 */
	@NotBlank(message = "资料类型不能为空")
	@Schema(description = "资料类型（存量、新签、续签、减员）")
	private String materialType;

	/**
	 * 附件ID列表
	 */
	@NotEmpty(message = "附件ID列表不能为空")
	@Schema(description = "附件ID列表")
	private List<String> attaIdList;
}

