/*
 *      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.ht.vo.basic;

import org.security.ht.entity.basic.Employee;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
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;
import java.util.Map;

/**
 * 基础信息-员工视图实体类
 *
 * @author BladeX
 * @since 2022-03-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "EmployeeVO对象", description = "基础信息-员工")
public class EmployeeVO extends Employee {
	private static final long serialVersionUID = 1L;
	private String department;
	private List<Family> families;
	private List<JobRecord> jobRecords;
	private List<String> deptList;
	private List<Map<String,String>> leaderList;//机构负责人
	private List<Map<String,String>> safetyOfficerList;//安全员
	private List<Map<String,String>> leaderInChargeList;//分管领导

	/**
	 * 企业工龄
	 */
	private Integer seniorityInEnterprise;


	/**
	 * 行内工龄
	 */
	private Integer professionalLengthOfService;

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