package com.bcxin.backend.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * description：职员表
 * author：linchunpeng
 * date：2023/7/26
 */
@Data
@TableName(schema = "companyinfocollect", value = "employees")
public class Employees {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID")
    private Long id;

    //用户id
    @TableField(value = "user_id")
    private String userId;

    //身份证号码
    @TableField(value = "id_no")
    private String idNo;

    //手机号码
    @TableField(value = "phone")
    private String phone;

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

    //监管企业域id
    @TableField(value = "DOMAINID")
    private String domainId;

    //公司id
    @TableField(value = "item_domain_id")
    private String itemDomainId;

    //公司名称
    @TableField(value = "company_name")
    private String companyName;

    //在职状态{在职：0}，{离职：1}
    @TableField(value = "employed")
    private Integer employed;

    //入职时间
    @TableField(value = "hire_date")
    private Date hireDate;

    //监管机构
    @TableField(value = "supervise_office")
    private String superviseOffice;

    //监管机构code
    @TableField(value = "supervise_office_code")
    private String superviseOfficeCode;
}
