package com.usky.sas.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 人员信息表
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sas_person")
public class SasPerson implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "person_code", type = IdType.INPUT)
    private String personCode;

    private String cardNumber;

    private Integer credentialType;

    private String credentialNo;

    private String name;

    private String carCode;

    private String labelCode;

    private Integer msgSourceCode;

    private String powerCode;

    private Boolean realPopulation;

    private String picId;

    private String phone1;

    private String phone1Id;

    private String phone2;

    private String phone2Id;

    private String phone3;

    private String phone3Id;

    private Integer peopleTypeCode;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

    private String companyCode;

    private Integer source;

    private String domicileId;

    private String origin;

    private String residenceId;

    private Integer educationCode;

    private Integer maritalStatusCode;

    private String spouseName;

    private Integer spouseType;

    private String spouseNo;

    private String nationalityCode;

    private LocalDateTime entryTime;

    private String surnameEng;

    private String nameEng;

    private String securityCardNo;

    private Integer securityDutiesCode;

    private Integer entranceTypeCode;

    private String placeOfBirth;

    private Integer personTypeCode;

    private Integer functions;

    private Integer personEntranceTypeCode;
}

