/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.security.trans.basic.dto;

import org.security.ht.entity.basic.Employee;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.security.ht.entity.basic.Family;
import org.security.ht.entity.basic.JobRecord;
import org.security.ht.vo.common.UploadVO;

import java.util.List;

/**
 * 基础信息-员工数据传输对象实体类
 *
 * @author BladeX
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class EmployeeDTO extends Employee {
	private static final long serialVersionUID = 1L;
	private List<Family> families;
	private List<JobRecord> jobRecords;

	/**
	 * 企业工龄(1:5年以下,
	 * 		  2:[5-10)年,
	 * 		  3:[10-20}年,
	 * 		  4:[20-30)年,
	 * 		  5:30年及以上)
	 */
	private Integer seniorityInEnterprise;


	/**
	 * 行内工龄(1:5年以下,
	 * 	   	  2:[5-10)年,
	 * 	 	  3:[10-20)年,
	 * 	      4:[20-30)年,
	 *  	  5:30年及以上)
	 */
	private Integer professionalLengthOfService;

	/**
	 * 年龄段(1:20岁以下,
	 * 	   	 2:[20-30)岁,
	 *  	 3:[30-40)岁,
	 *       4:[40-50)岁,
	 * 		 5:50岁及以上)
	 */
	private Integer ageGroup;

	/**
	 * 相关附件
	 */
	private List<UploadVO> relevantAttachments;
	/**
	 * 证件照附件
	 */
	private List<UploadVO> picList;
	/**
	 * 身份证正面照附件
	 */
	private List<UploadVO> idCardFrontList;
	/**
	 * 身份证反面照附件
	 */
	private List<UploadVO> idCardBackList;
}
