package com.yeejoin.amos.boot.module.hygf.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 人员业务信息表
 *
 * @author system_generator
 * @date 2023-09-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("hygf_personnel_business")
public class PersonnelBusiness extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 所属区域公司id
     */
	@TableField("regional_companies_seq")
    private Long regionalCompaniesSeq;

    /**
     * 所属区域公司名称
     */
	@TableField("regional_companies_name")
    private String regionalCompaniesName;

    /**
     * 所属区域公司code
     */
	@TableField("regional_companies_code")
    private String regionalCompaniesCode;

    /**
     * 证书
     */
	@TableField("certificate")
    private String certificate;

    /**
     * 所属单位名称
     */
	@TableField("amos_unit_name")
    private String amosUnitName;

    /**
     * 所属单位id
     */
	@TableField("amos_unit_id")
    private Long amosUnitId;
    /**
     * 所属单位orgcode
     */
    @TableField("amos_unit_org_code")
    private String amosUnitOrgCode;

    /**
     * 业务经销商id
     */
	@TableField("dealer_id")
    private Long dealerId;

    /**
     * 平台经销商单位id
     */
	@TableField("amos_dealer_id")
    private Long amosDealerId;


    /**
     * 用户基础表id
     */
	@TableField("foundation_id")
    private Long foundationId;


    @TableField("user_type")
    private String userType;
}
