base_distributor.go 4.1 KB

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