// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // BaseDistributor is the golang structure for table base_distributor. type BaseDistributor struct { Id int `orm:"id,primary" json:"id"` // 主键 DistCode string `orm:"dist_code" json:"distCode"` // 经销商编码 DistName string `orm:"dist_name" json:"distName"` // 经销商名称 AbbrName string `orm:"abbr_name" json:"abbrName"` // 助记名 DistDesc string `orm:"dist_desc" json:"distDesc"` // 经销商说明 DistBoss string `orm:"dist_boss" json:"distBoss"` // 负责人 DistBossPhone string `orm:"dist_boss_phone" json:"distBossPhone"` // 负责人电话 ProvinceId int `orm:"province_id" json:"provinceId"` // 所属省份ID ProvinceDesc string `orm:"province_desc" json:"provinceDesc"` // 所属省份 BusinessScope string `orm:"business_scope" json:"businessScope"` // 业务范围 BelongSaleId int `orm:"belong_sale_id" json:"belongSaleId"` // 归属销售ID BelongSale string `orm:"belong_sale" json:"belongSale"` // 归属销售 Capital float64 `orm:"capital" json:"capital"` // 注册资金 SaleNum int `orm:"sale_num" json:"saleNum"` // 销售人数 InvoiceHeader string `orm:"invoice_header" json:"invoiceHeader"` // 开票抬头 DistType string `orm:"dist_type" json:"distType"` // 经销商类型 10 经销商 20 代理商 CustomerType string `orm:"customer_type" json:"customerType"` // 授权客户类型 ExistedProduct string `orm:"existed_product" json:"existedProduct"` // 已有代理品牌和产品 AssistantSaleId string `orm:"assistant_sale_id" json:"assistantSaleId"` // 助理人员Id AssistantSale string `orm:"assistant_sale" json:"assistantSale"` // 助理人员 RegisterDistrict string `orm:"register_district" json:"registerDistrict"` // 注册地 HistoryCustomer string `orm:"history_customer" json:"historyCustomer"` // 历史合作的终端客户名称 ProxyStartTime *gtime.Time `orm:"proxy_start_time" json:"proxyStartTime"` // 代理签约有效期开始(代理商) ProxyEndTime *gtime.Time `orm:"proxy_end_time" json:"proxyEndTime"` // 代理签约有效期结束(代理商) ProxyDistrict string `orm:"proxy_district" json:"proxyDistrict"` // 授权代理区域(代理商) ContractUrl string `orm:"contract_url" json:"contractUrl"` // 代理合同(代理商) ApproItem string `orm:"appro_item" json:"approItem"` // 审批项名称: 创建代理商 经销商转代理商 代理商续签 代理商转经销商 ApproData string `orm:"appro_data" json:"approData"` // 审核数据 ApproStatus string `orm:"appro_status" json:"approStatus"` // 审核状态 20 待审核 30 审核已同意 40 审核已拒绝 50 审核已撤销 Remark string `orm:"remark" json:"remark"` // 备注 CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者 CreatedName string `orm:"created_name" json:"createdName"` // 创建人 CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间 UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者 UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人 UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间 DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间 }