proj_business.go 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. NboName string `orm:"nbo_name" json:"nboName"` // 项目名称
  12. CustId int `orm:"cust_id" json:"custId"` // 关联客户
  13. CustName string `orm:"cust_name" json:"custName"` // 客户名称
  14. NboType string `orm:"nbo_type" json:"nboType"` // 项目类别(A类B类C类)
  15. NboPhase string `orm:"nbo_phase" json:"nboPhase"` // 项目阶段(暂不起用)
  16. NboSource string `orm:"nbo_source" json:"nboSource"` // 项目来源
  17. NboBudget float64 `orm:"nbo_budget" json:"nboBudget"` // 项目预算
  18. ApproStatus string `orm:"appro_status" json:"approStatus"` // 审批状态(10待审批20审批中30审批通过40审批退回60审批拒绝)
  19. ContactId int `orm:"contact_id" json:"contactId"` // 关联联系人
  20. ContactName string `orm:"contact_name" json:"contactName"` // 联系人姓名
  21. ContactPostion string `orm:"contact_postion" json:"contactPostion"` // 联系人岗位
  22. ContactTelephone string `orm:"contact_telephone" json:"contactTelephone"` // 联系人电话
  23. MakerId int `orm:"maker_id" json:"makerId"` // 关联决策人
  24. MakerName string `orm:"maker_name" json:"makerName"` // 决策人姓名
  25. MakerPost string `orm:"maker_post" json:"makerPost"` // 决策人岗位
  26. MakerTelephone string `orm:"maker_telephone" json:"makerTelephone"` // 决策人电话
  27. SalesModel string `orm:"sales_model" json:"salesModel"` // 销售模式(10直销20经销30代理)
  28. SaleId int `orm:"sale_id" json:"saleId"` // 归属销售
  29. SaleName string `orm:"sale_name" json:"saleName"` // 销售姓名
  30. DistributorId int `orm:"distributor_id" json:"distributorId"` // 经销商/代理商ID
  31. DistributorName string `orm:"distributor_name" json:"distributorName"` // 经销商/代理商名称
  32. FinalFollowTime *gtime.Time `orm:"final_follow_time" json:"finalFollowTime"` // 最后跟进时间
  33. NextFollowTime *gtime.Time `orm:"next_follow_time" json:"nextFollowTime"` // 下次跟进时间
  34. PlanPurchaseTime *gtime.Time `orm:"plan_purchase_time" json:"planPurchaseTime"` // 计划采购时间
  35. EstTransTime *gtime.Time `orm:"est_trans_time" json:"estTransTime"` // 预计成交时间
  36. EstTransPrice float64 `orm:"est_trans_price" json:"estTransPrice"` // 预计成交价格
  37. RiskProfile string `orm:"risk_profile" json:"riskProfile"` // 风险情况
  38. Difficulty string `orm:"difficulty" json:"difficulty"` // 困难点
  39. Competitor string `orm:"competitor" json:"competitor"` // 竞争公司
  40. Intervention string `orm:"Intervention" json:"intervention"` // 介入情况
  41. DeptId int `orm:"dept_id" json:"deptId"` // 所属部门ID
  42. DeptName string `orm:"dept_name" json:"deptName"` // 所属部门
  43. Remark string `orm:"remark" json:"remark"` // 备注
  44. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  45. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  46. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  47. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  48. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  49. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  50. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  51. }