package com.malk.zhiwei.entity;

import lombok.Data;

import java.util.List;

@Data
public class CustomerModel extends Model{
    private int FCUSTID;

    private String FName;//客户名称

    private String FShortName;//简称

    private FNumber FCOUNTRY;//国家

    private FNumber FGroup;//客户分组

    private String F_VMKV_Combo;//客户等级

    private FNumber FCustTypeId;//客类别

    private String FDescription;//备注

    private FNumber FSALDEPTID;//销售部门

    private FNumber FSELLER;//销售员

    private FSTAFFNUMBER F_VMKV_Base1;//跟单员

    private String F_VMKV_Combo1;//订单要求

    private FNumber FRECCONDITIONID;//收款条件

    private FNumber FTRADINGCURRID;//结算币别

    private FNumber FSETTLETYPEID;//结算方式

    private FNumber FTaxRate;//税率

    private FNumber FTaxType;//税分类

    private String FInvoiceType;//发票类型

    private Boolean FISCREDITCHECK;//启用信用管理

    private String FINVOICEBANKACCOUNT;//银行账号

    private String FINVOICETITLE;//发票抬头

    private String FTAXREGISTERCODE;//纳税登记号

    private String FINVOICEBANKNAME;//开户银行

    private String FSOCIALCRECODE;//统一社会信用代码

    private String FINVOICETEL;//开票联系电话

    private String FINVOICEADDRESS;//开票通讯地址

    private List<CustomerContactEntry> FT_BD_CUSTCONTACT;//地址信息

    private FNumber FCreateOrgId;//创建组织 (必填项)

    private String F_UNW_Text_6mb;//业务员（必填项）

    private FNumber F_UNW_Assistant_qov;//终端（必填项）

    private FNumber F_UNW_Assistant_9zp;//事业部（必填项）

    private FNumber F_UNW_Assistant_mo2;//行业（必填项）

    private String FBIZLOCATION;// 地点名称

    private String FBizAddress;//详细地址

    private String FTContact;//联系人

    private String FMOBILE;//移动电话



    public CustomerModel (){}

    public CustomerModel(String name,FNumber sktj,FNumber hy,FNumber syb,FNumber zd,String ywy,String nsdjh,FNumber xsbm,
        FNumber xsy){
        this.FName=name;
        this.FCreateOrgId = new FNumber("100");
        this.FTRADINGCURRID = new FNumber("PRE001");

        this.F_UNW_Text_6mb = ywy;//业务员
        this.F_UNW_Assistant_qov = zd;//终端
        this.F_UNW_Assistant_9zp = syb;//事业部
        this.F_UNW_Assistant_mo2 = hy;//行业
        this.FRECCONDITIONID = sktj;//收款条件
        this.FTAXREGISTERCODE = nsdjh;//纳税登记号
        this.FSALDEPTID = xsbm;//销售部门
        this.FSELLER = xsy;//销售员

//        this.FBIZLOCATION = FBIZLOCATION;
//        this.FBizAddress = FBizAddress;
//        this.FTContact = FTContact;
//        this.FMOBILE = FMOBILE;
    }
}
