proj_business.go 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. ApproStatus string `orm:"appro_status" json:"approStatus"` // 审批状态(10待提交20审批中30审批通过40审批退回60审批拒绝)
  28. ContactId int `orm:"contact_id" json:"contactId"` // 关联联系人
  29. ContactName string `orm:"contact_name" json:"contactName"` // 联系人姓名
  30. ContactPostion string `orm:"contact_postion" json:"contactPostion"` // 联系人岗位
  31. ContactTelephone string `orm:"contact_telephone" json:"contactTelephone"` // 联系人电话
  32. MakerId int `orm:"maker_id" json:"makerId"` // 关联决策人
  33. MakerName string `orm:"maker_name" json:"makerName"` // 决策人姓名
  34. MakerDept string `orm:"maker_dept" json:"makerDept"` // 决策人部门
  35. MakerPost string `orm:"maker_post" json:"makerPost"` // 决策人岗位
  36. MakerTelephone string `orm:"maker_telephone" json:"makerTelephone"` // 决策人电话
  37. SalesModel string `orm:"sales_model" json:"salesModel"` // 销售模式(10直销20经销30代理)
  38. SaleId int `orm:"sale_id" json:"saleId"` // 归属销售
  39. SaleName string `orm:"sale_name" json:"saleName"` // 销售姓名
  40. DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商/代理商ID
  41. DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商/代理商名称
  42. BidId int `orm:"bid_id" json:"bidId"` // 客户招标ID
  43. BidInfo string `orm:"bid_info" json:"bidInfo"` // 招标信息
  44. FilingTime *gtime.Time `orm:"filing_time" json:"filingTime"` // 项目备案时间
  45. FinalFollowId int `orm:"final_follow_id" json:"finalFollowId"` // 最新跟进人
  46. FinalFollowName string `orm:"final_follow_name" json:"finalFollowName"` // 最新跟进人名称
  47. FinalFollowTime *gtime.Time `orm:"final_follow_time" json:"finalFollowTime"` // 最后跟进时间
  48. NextFollowTime *gtime.Time `orm:"next_follow_time" json:"nextFollowTime"` // 下次跟进时间
  49. PlanPurchaseTime *gtime.Time `orm:"plan_purchase_time" json:"planPurchaseTime"` // 计划采购时间
  50. EstTransTime *gtime.Time `orm:"est_trans_time" json:"estTransTime"` // 预计成交时间
  51. EstTransPrice float64 `orm:"est_trans_price" json:"estTransPrice"` // 预计成交价格
  52. RiskProfile string `orm:"risk_profile" json:"riskProfile"` // 风险情况
  53. Difficulty string `orm:"difficulty" json:"difficulty"` // 困难点
  54. Competitor string `orm:"competitor" json:"competitor"` // 竞争公司
  55. Intervention string `orm:"Intervention" json:"intervention"` // 介入情况
  56. DeptId int `orm:"dept_id" json:"deptId"` // 所属部门ID
  57. DeptName string `orm:"dept_name" json:"deptName"` // 所属部门
  58. IsBig string `orm:"is_big" json:"isBig"` // 是否为大项目
  59. TechnicalSupportName string `orm:"technical_support_name" json:"technicalSupportName"` // 技术支持人员
  60. TechnicalSupportContent string `orm:"technical_support_content" json:"technicalSupportContent"` // 技术支持内容
  61. TechnicalSupportTime *gtime.Time `orm:"technical_support_time" json:"technicalSupportTime"` // 技术支持时间
  62. CustomerSatisfaction string `orm:"customer_satisfaction" json:"customerSatisfaction"` // 客户满意度 (10很满意、20满意、30较满意、40一般、50不满意)
  63. ParentReceiver string `orm:"parent_receiver" json:"parentReceiver"` // 总部对接人
  64. NboBudgetTime *gtime.Time `orm:"nbo_budget_time" json:"nboBudgetTime"` // 项目预算期限
  65. CapitalSource string `orm:"capital_source" json:"capitalSource"` // 资金来源
  66. ProductSatisfaction string `orm:"product_satisfaction" json:"productSatisfaction"` // 产品/方案满足情况
  67. PurchasingWay string `orm:"purchasing_way" json:"purchasingWay"` // 采购方式
  68. PurchasingTime *gtime.Time `orm:"purchasing_time" json:"purchasingTime"` // 采购时间
  69. IsAdoptDashoo string `orm:"is_adopt_dashoo" json:"isAdoptDashoo"` // 是否采纳大数技术参数(上传附件)
  70. HistoricalTransactionInfo string `orm:"historical_transaction_info" json:"historicalTransactionInfo"` // 经销商与客户历史成交信息
  71. DealerSalesId int `orm:"dealer_sales_id" json:"dealerSalesId"` // 关联经销商销售
  72. DealerSalesName string `orm:"dealer_sales_name" json:"dealerSalesName"` // 经销商销售人员
  73. Accendant string `orm:"accendant" json:"accendant"` // 维护部门及人员
  74. ProjConversionTime *gtime.Time `orm:"proj_conversion_time" json:"projConversionTime"` // 项目转化时间
  75. ProjConversionReason string `orm:"proj_conversion_reason" json:"projConversionReason"` // 项目转化原因
  76. Remark string `orm:"remark" json:"remark"` // 备注
  77. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  78. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  79. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  80. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  81. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  82. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  83. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  84. }