package com.chinaweal.aiccs.crgs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.chinaweal.aiccs.aiccs.abnormal.entity.EPriPerson;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.sql.Timestamp;

/**
 * <p>
 * 主要人员信息
 * </p>
 *
 * @author lwd
 * @since 2025-02-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(schema = "crgs", value = "E_PRI_PERSON")
@ApiModel(value="EPriPersonCrgs对象", description="主要人员信息")
public class EPriPersonCrgs extends Model<EPriPersonCrgs> {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键人员ID")
    @TableId(value = "PERSONID", type = IdType.ASSIGN_UUID)
    private String personid;


    @TableField("PRIPID")
    @ApiModelProperty(value = "主体身份代码")
    private String pripid;

    @TableField("NAME")
    @ApiModelProperty(value = "姓名")
    private String name;

    @TableField("SEX")
    @ApiModelProperty(value = "性别")
    private String sex;

    @TableField("NATDATE")
    @ApiModelProperty(value = "出生日期")
    private Timestamp natdate;

    @TableField("CERTYPE")
    @ApiModelProperty(value = "证件类型")
    private String certype;

    @TableField("CERNO")
    @ApiModelProperty(value = "证件号码")
    private String cerno;

    @TableField("POSITION")
    @ApiModelProperty(value = "职务")
    private String position;

    @TableField("POSITION_CN")
    @ApiModelProperty(value = "职务（中文名称）")
    private String positionCn;

    @TableField("POSBRFORM")
    @ApiModelProperty(value = "职务产生方式")
    private String posbrform;

    @TableField("OCCSTBEAPP")
    @ApiModelProperty(value = "申请前职业状况")
    private String occstbeapp;

    @TableField("LEREPSIGN")
    @ApiModelProperty(value = "法定代表人标志/首席代表标志/负责人标识")
    private String lerepsign;

    @TableField("APPOUNIT")
    @ApiModelProperty(value = "任命单位/委派方")
    private String appounit;

    @TableField("TEL")
    @ApiModelProperty(value = "联系电话")
    private String tel;

    @TableField("COUNTRY")
    @ApiModelProperty(value = "国别(地区)")
    private String country;

    @TableField("TELNUMBER")
    @ApiModelProperty(value = "固定电话")
    private String telnumber;

    @TableField("MOBTEL")
    @ApiModelProperty(value = "移动电话")
    private String mobtel;

    @TableField("EMAIL")
    @ApiModelProperty(value = "电子邮箱")
    private String email;

    @TableField("HOUSEADD")
    @ApiModelProperty(value = "住址")
    private String houseadd;

    @TableField("ARRCHDATE")
    @ApiModelProperty(value = "入境时间")
    private Timestamp arrchdate;

    @TableField("REPCARFROM")
    @ApiModelProperty(value = "代表证期限自/任职起始日期")
    private Timestamp repcarfrom;

    @TableField("REPCARTO")
    @ApiModelProperty(value = "代表证期限至/任职截止日期")
    private Timestamp repcarto;

    @TableField("POSTALCODE")
    @ApiModelProperty(value = "邮政编码")
    private String postalcode;

    @TableField("S_EXT_FROMNODE")
    @ApiModelProperty(value = "数据汇总单位")
    private String sExtFromnode;

    @TableField("S_EXT_DATATIME")
    @ApiModelProperty(value = "数据汇总时间，默认当前时间")
    private Timestamp sExtDatatime;
}
