proj_business.go 4.7 KB

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