proj_business.go 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. // ProjBusiness is the golang structure for table proj_business.
  9. type ProjBusiness struct {
  10. Id int `orm:"id,primary" json:"id"` // 主键
  11. NboCode string `orm:"nbo_code" json:"nboCode"` // 项目编码
  12. NboName string `orm:"nbo_name" json:"nboName"` // 项目名称
  13. NboStatus string `orm:"nbo_status" json:"nboStatus"` // 项目状态
  14. CustId int `orm:"cust_id" json:"custId"` // 关联客户
  15. CustName string `orm:"cust_name" json:"custName"` // 客户名称
  16. CustProvinceId int `orm:"cust_province_id" json:"custProvinceId"` // 所在省ID
  17. CustProvince string `orm:"cust_province" json:"custProvince"` // 所在省
  18. CustCityId int `orm:"cust_city_id" json:"custCityId"` // 所在市ID
  19. CustCity string `orm:"cust_city" json:"custCity"` // 所在市
  20. CustRegionId int `orm:"cust_region_id" json:"custRegionId"` // 所在区县ID
  21. CustRegion string `orm:"cust_region" json:"custRegion"` // 所在区县
  22. ProductLine string `orm:"product_line" json:"productLine"` // 产品线
  23. NboType string `orm:"nbo_type" json:"nboType"` // 项目级别(A 、B 、C 、成交、储备)
  24. NboPhase string `orm:"nbo_phase" json:"nboPhase"` // 项目阶段(暂不起用)
  25. NboSource string `orm:"nbo_source" json:"nboSource"` // 项目来源
  26. NboBudget float64 `orm:"nbo_budget" json:"nboBudget"` // 项目预算
  27. ApproType string `orm:"appro_type" json:"approType"` // 审批类型
  28. ApproStatus string `orm:"appro_status" json:"approStatus"` // 审批状态(10待提交20审批中30审批通过40审批退回60审批拒绝)
  29. ApproInstanceId string `orm:"appro_instance_id" json:"approInstanceId"` // 审批实例ID
  30. ContactId int `orm:"contact_id" json:"contactId"` // 关联联系人
  31. ContactName string `orm:"contact_name" json:"contactName"` // 联系人姓名
  32. ContactPostion string `orm:"contact_postion" json:"contactPostion"` // 联系人岗位
  33. ContactTelephone string `orm:"contact_telephone" json:"contactTelephone"` // 联系人电话
  34. MakerId int `orm:"maker_id" json:"makerId"` // 关联决策人
  35. MakerName string `orm:"maker_name" json:"makerName"` // 决策人姓名
  36. MakerDept string `orm:"maker_dept" json:"makerDept"` // 决策人部门
  37. MakerPost string `orm:"maker_post" json:"makerPost"` // 决策人岗位
  38. MakerTelephone string `orm:"maker_telephone" json:"makerTelephone"` // 决策人电话
  39. SalesModel string `orm:"sales_model" json:"salesModel"` // 销售模式(10直销20经销30代理)
  40. SaleId int `orm:"sale_id" json:"saleId"` // 归属销售
  41. SaleName string `orm:"sale_name" json:"saleName"` // 销售姓名
  42. StrategicSaleId int `orm:"strategic_sale_id" json:"strategicSaleId"` // 战略项目组销售
  43. StrategicSaleName string `orm:"strategic_sale_name" json:"strategicSaleName"` // 战略项目组销售姓名
  44. DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商/代理商ID
  45. DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商/代理商名称
  46. BidId int `orm:"bid_id" json:"bidId"` // 客户招标ID
  47. BidInfo string `orm:"bid_info" json:"bidInfo"` // 招标信息
  48. FilingTime *gtime.Time `orm:"filing_time" json:"filingTime"` // 项目备案时间
  49. FinalFollowId int `orm:"final_follow_id" json:"finalFollowId"` // 最新跟进人
  50. FinalFollowName string `orm:"final_follow_name" json:"finalFollowName"` // 最新跟进人名称
  51. FinalFollowTime *gtime.Time `orm:"final_follow_time" json:"finalFollowTime"` // 最后跟进时间
  52. NextFollowTime *gtime.Time `orm:"next_follow_time" json:"nextFollowTime"` // 下次跟进时间
  53. PlanPurchaseTime *gtime.Time `orm:"plan_purchase_time" json:"planPurchaseTime"` // 计划采购时间
  54. EstTransTime *gtime.Time `orm:"est_trans_time" json:"estTransTime"` // 预计成交时间
  55. EstTransPrice float64 `orm:"est_trans_price" json:"estTransPrice"` // 预计成交价格
  56. RiskProfile string `orm:"risk_profile" json:"riskProfile"` // 风险情况
  57. Difficulty string `orm:"difficulty" json:"difficulty"` // 困难点
  58. Competitor string `orm:"competitor" json:"competitor"` // 竞争公司
  59. Intervention string `orm:"Intervention" json:"intervention"` // 介入情况
  60. DeptId int `orm:"dept_id" json:"deptId"` // 所属部门ID
  61. DeptName string `orm:"dept_name" json:"deptName"` // 所属部门
  62. IsBig string `orm:"is_big" json:"isBig"` // 是否为大项目
  63. TechnicalSupportName string `orm:"technical_support_name" json:"technicalSupportName"` // 技术支持人员
  64. TechnicalSupportContent string `orm:"technical_support_content" json:"technicalSupportContent"` // 技术支持内容
  65. TechnicalSupportTime *gtime.Time `orm:"technical_support_time" json:"technicalSupportTime"` // 技术支持时间
  66. CustomerSatisfaction string `orm:"customer_satisfaction" json:"customerSatisfaction"` // 客户满意度 (10很满意、20满意、30较满意、40一般、50不满意)
  67. ParentReceiver string `orm:"parent_receiver" json:"parentReceiver"` // 总部对接人
  68. NboBudgetTime *gtime.Time `orm:"nbo_budget_time" json:"nboBudgetTime"` // 项目预算期限
  69. CapitalSource string `orm:"capital_source" json:"capitalSource"` // 资金来源
  70. ProductSatisfaction string `orm:"product_satisfaction" json:"productSatisfaction"` // 产品/方案满足情况
  71. PurchasingWay string `orm:"purchasing_way" json:"purchasingWay"` // 采购方式
  72. PurchasingTime *gtime.Time `orm:"purchasing_time" json:"purchasingTime"` // 采购时间
  73. IsAdoptDashoo string `orm:"is_adopt_dashoo" json:"isAdoptDashoo"` // 是否采纳大数技术参数(上传附件)
  74. HistoricalTransactionInfo string `orm:"historical_transaction_info" json:"historicalTransactionInfo"` // 经销商与客户历史成交信息
  75. DealerSalesId int `orm:"dealer_sales_id" json:"dealerSalesId"` // 关联经销商销售
  76. DealerSalesName string `orm:"dealer_sales_name" json:"dealerSalesName"` // 经销商销售人员
  77. DealerSalesContact string `orm:"dealer_sales_contact" json:"dealerSalesContact"` // 经销商销售电话/微信
  78. CustomerIntentionFactory string `orm:"customer_intention_factory" json:"customerIntentionFactory"` // 客户倾向厂家
  79. Accendant string `orm:"accendant" json:"accendant"` // 维护部门及人员
  80. ProjConversionTime *gtime.Time `orm:"proj_conversion_time" json:"projConversionTime"` // 项目转化时间
  81. ProjConversionReason string `orm:"proj_conversion_reason" json:"projConversionReason"` // 项目转化原因
  82. Remark string `orm:"remark" json:"remark"` // 备注
  83. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  84. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  85. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  86. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  87. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  88. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  89. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  90. }