package com.nantian.cloud.jljc.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * 培训活动-人员信息
 * @date 2020-09-03 13:23:34
 */
@Data
@TableName("t_training_person")
@ApiModel(value = "培训活动-人员信息")
public class TTrainingPerson implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	@JsonSerialize(using = ToStringSerializer.class)
	private Integer id;
	/**
	 * 培训编号
	 */
	@ApiModelProperty(value = "培训编号")
	private Integer trainingId;

	@TableField(exist = false)
	@ApiModelProperty(value = "培训名称")
	private String trainingName;

	@TableField(exist = false)
	@ApiModelProperty(value = "年度")
	private String year;

	/**
	 * 名称
	 */
	@ApiModelProperty(value = "名称")
	private String name;
	/**
	 * 证件类型
	 */
	@ApiModelProperty(value = "证件类型")
	private String idType;
	/**
	 * 证件类型
	 */
	@ApiModelProperty(value = "证件号")
	private String idNumber;
	/**
	 * 性别
	 */
	@ApiModelProperty(value = "性别")
	private String sex;
	/**
	 * 企业编号
	 */
	@ApiModelProperty(value = "企业编号")
	private Integer enterpriseId;
	/**
	 * 企业编号
	 */
	@ApiModelProperty(value = "企业社会信用代码")
	private String epc;
	/**
	 * 状态
	 */
	@ApiModelProperty(value = "状态")
	private String state;
	/**
	 * 注销状态
	 */
	@ApiModelProperty(value = "注销状态")
	private String delFlag;
	/**
	 * 备注
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	@ApiModelProperty(value = "备注")
	private String remarks;
	/**
	 * 操作人id
	 */
	@ApiModelProperty(value = "操作人id")
	private Integer userid;
	/**
	 * 更新时间
	 */
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;

	@ApiModelProperty(value = "部门id")
	private Integer deptId;

	/**
	 * 联系电话
	 */
	@ApiModelProperty(value = "联系电话")
	private String telephone;


	/*@ApiModelProperty(value = "企业名称")
	@TableField(exist = false)
	private String EnterpriseName;*/

	@ApiModelProperty(value = "名族")
	private String ethnic;

	@ApiModelProperty(value = "是否用餐  0 表示用餐    1表示不用餐")
	private String dinner;

	@ApiModelProperty(value = "是否住宿  0表示住宿   1表示不住宿")
	private String accommodation;

	@ApiModelProperty(value = "属地（州市，县区）")
	private String territorial;

	@ApiModelProperty(value = "单位名称")
	private String enterpriseName;

	@ApiModelProperty(value = "职务职称")
	private String jobTitle;

	@ApiModelProperty(value = "培训场次")
	private String trainingSession;

	
	@ApiModelProperty(value = "地区")
	private String location;

	/**
	 * 类型（1节能，2计量，3公共机构，4工信，5发改，6市场监督管理局）
	 */
	@ApiModelProperty(value = "类型（1节能，2计量，3公共机构，4工信，5发改，6市场监督管理局）")
	private String type;






}
