package com.hzs.common.domain.ground.supplier;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 供应商申请
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("TH_SUPPLIER_APPLY_SEQ")
@TableName("TH_SUPPLIER_APPLY")
public class ThSupplierApply extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 供应商名称
     */
    @TableField("NAME")
    private String name;

    /**
     * 供应商简称
     */
    @TableField("SHORT_NAME")
    private String shortName;

    /**
     * 法人
     */
    @TableField("LEGAL_BODY")
    private String legalBody;

    /**
     * 联系人
     */
    @TableField("LINK_MAN")
    private String linkMan;

    /**
     * 纳税人登记号
     */
    @TableField("TAXPAYERID")
    private String taxpayerid;

    /**
     * 省
     */
    @TableField("PROVINCE")
    private Integer province;

    /**
     * 市
     */
    @TableField("CITY")
    private Integer city;

    /**
     * 区
     */
    @TableField("COUNTY")
    private Integer county;

    /**
     * 地址
     */
    @TableField("ADDRESS")
    private String address;

    /**
     * 资质1
     */
    @TableField("APTITUDE1")
    private String aptitude1;

    /**
     * 资质2
     */
    @TableField("APTITUDE2")
    private String aptitude2;

    /**
     * 资质3
     */
    @TableField("APTITUDE3")
    private String aptitude3;

    /**
     * 资质4
     */
    @TableField("APTITUDE4")
    private String aptitude4;

    /**
     * 资质5
     */
    @TableField("APTITUDE5")
    private String aptitude5;

    /**
     * 资质6
     */
    @TableField("APTITUDE6")
    private String aptitude6;

    /**
     * 资质7
     */
    @TableField("APTITUDE7")
    private String aptitude7;

    /**
     * 资质8
     */
    @TableField("APTITUDE8")
    private String aptitude8;

    /**
     * 有效期
     */
    @TableField("VALID_PERIOD")
    private Date validPeriod;

    /**
     * 结算方式 1=线上 2=线下 ESettleType
     */
    @TableField("SETTLE_TYPE")
    private Integer settleType;

    /**
     * 会员主键
     */
    @TableField("PK_MEMBER")
    private Long pkMember;

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

    /**
     * 经营范围
     */
    @TableField("TRADE_SCOPE")
    private String tradeScope;

    /**
     * 审批业务类型 来源枚举 EApprovalBusiness
     */
    @TableField("EDIT_TYPE")
    private Integer editType;

    /**
     * 审核状态 来源枚举 EApproveStatus
     */
    @TableField("APPROVE_STATUS")
    private Integer approveStatus;
    /**
     * 修改记录单号
     */
    @TableField("TH_BUSINESS_CODE")
    private String thBusinessCode;


}
