/*
 *      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.outsourcing.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.security.ht.entity.common.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 外包员工信息表实体类
 *
 * @author BladeX
 * @since 2022-02-22
 */
@Data
@TableName("T_OUT_EMPLOYEE")
@ApiModel(value = "OutEmployee对象", description = "外包员工信息表")
public class OutEmployee extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	* 外包公司ID
	*/
	@ApiModelProperty(value = "外包公司ID")
	@TableField("COMPANY_ID")
	private String companyId;

	@TableField("NAME")
	private String name;
	/**
	* 性别
	*/
	@ApiModelProperty(value = "性别")
	@TableField("SEX")
	private String sex;
	/**
	* 年龄
	*/
	@ApiModelProperty(value = "年龄")
	@TableField("AGE")
	private String age;
	/**
	* 身份证号
	*/
	@ApiModelProperty(value = "身份证号")
	@TableField("ID_CARD")
	private String idCard;
	/**
	* 民族
	*/
	@ApiModelProperty(value = "民族")
	@TableField("NATION")
	private String nation;
	/**
	* 出生日期
	*/
	@ApiModelProperty(value = "出生日期")
	@TableField("BRITH_DATE")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date brithDate;
	/**
	* 政治面貌
	*/
	@ApiModelProperty(value = "政治面貌")
	@TableField("POLITICAL_OUTLOOK")
	private String politicalOutlook;
	/**
	* 参加工作日期
	*/
	@ApiModelProperty(value = "参加工作日期")
	@TableField("WORKING_DATE")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date workingDate;
	/**
	* 专业技术职称
	*/
	@ApiModelProperty(value = "专业技术职称")
	@TableField("PROFESSIONAL_TECHNICAL_TITLES")
	private String professionalTechnicalTitles;
	/**
	* 所在部门
	*/
	@ApiModelProperty(value = "所在部门")
	@TableField("COMPANY_DEPT")
	private String companyDept;
	/**
	* 岗位名称
	*/
	@ApiModelProperty(value = "岗位名称")
	@TableField("POST_NAME")
	private String postName;
	/**
	* 联系电话
	*/
	@ApiModelProperty(value = "联系电话")
	@TableField("TELEPHONE")
	private String telephone;
	/**
	* 工作单位
	*/
	@ApiModelProperty(value = "工作单位")
	@TableField("WORK_UNIT")
	private String workUnit;
	/**
	* 详细地址
	*/
	@ApiModelProperty(value = "详细地址")
	@TableField("ADDRESS")
	private String address;

	@ApiModelProperty(value = "身份证正面")
	@TableField("FRONT_URL")
	private String frontUrl;

	@ApiModelProperty(value = "身份证反面")
	@TableField("BACK_URL")
	private String backUrl;

	@TableField("DEPT_ID")
	private Long deptId;
	/**
	 * 相关附件
	 */
	@ApiModelProperty(value = "相关附件")
	@TableField("FILE_IDS")
	private String fileIds;
	/**
	 * 逻辑删除标识符;1-删除，0-正常
	 */
	@ApiModelProperty(value ="逻辑删除标识符;0-正常，1-删除")
	@TableField("DEL_FLAG")
	@TableLogic

	private String delFlag;
	@ApiModelProperty(value = "证件照groupname")
	@TableField("GROUP_NAME_head")
	private String groupNameHead;

	@ApiModelProperty(value = "身份证正面照groupname")
	@TableField("GROUP_NAME_FRONT")
	private String groupNameFront;

	@ApiModelProperty(value = "身份证背面照groupname")
	@TableField("GROUP_NAME_BACK")
	private String groupNameBack;

	@ApiModelProperty(value = "附件groupname")
	@TableField("GROUP_NAME")
	private String groupName;
}
