proj_business_contact.go 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package model
  5. import (
  6. "dashoo.cn/micro/app/model/proj/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // ProjBusinessContact is the golang structure for table proj_business_contact.
  10. type ProjBusinessContact internal.ProjBusinessContact
  11. // Fill with you ideas below.
  12. type BusinessContact struct {
  13. Id int `json:"id"` // 主键
  14. BusId int `json:"busId"` // 关联项目
  15. ContactId int `json:"contactId"` // 联系人主键
  16. CustId int `json:"custId" ` // 关联客户
  17. CuctName string `json:"cuctName" ` // 姓名
  18. CuctGender string `json:"cuctGender"` // 性别(10男20女)
  19. Telephone string `json:"telephone"` // 电话
  20. Wechat string `json:"wechat"` // 微信
  21. Email string `json:"email"` // 邮箱
  22. Dept string `json:"dept"` // 部门
  23. Postion string `json:"postion"` // 职位
  24. OfficeLocation string `json:"officeLocation"` // 办公地点
  25. IsDecision string `json:"isDecision"` // 关键决策人(10是20否)
  26. }
  27. // BusinessContactSearchReq 获取项目关联联系人信息
  28. type BusinessContactSearchReq struct {
  29. BusId int64 `json:"busId" v:"required|min:1#|关联项目不能为空"` // 主键
  30. CuctId int `json:"cuctId"` // 客户联系人
  31. CuctName string `json:"cuctName"` // 客户联系人姓名
  32. request.PageReq
  33. }
  34. type BusinessContactReq struct {
  35. BusId int `json:"busId" v:"required|min:1#|关联项目不能为空"` // 关联项目
  36. ContactIds []int `json:"contactIds" v:"required#联系人不能为空"` // 联系人主键
  37. Remark string `json:"remark"` // 备注
  38. }