proj_business_contact.go 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. Postion string `json:"postion"` // 职位
  20. Telephone string `json:"telephone"` // 电话
  21. Wechat string `json:"wechat"` // 微信
  22. Email string `json:"email"` // 邮箱
  23. Policy int `json:"policy"` //是否决策
  24. }
  25. // BusinessContactSearchReq 获取项目关联联系人信息
  26. type BusinessContactSearchReq struct {
  27. BusId int64 `json:"busId" v:"required# 关联项目不能为空"` // 主键
  28. CuctId int `json:"cuctId"` // 客户联系人
  29. CuctName string `json:"cuctName"` // 客户联系人姓名
  30. request.PageReq
  31. }
  32. type BusinessContactReq struct {
  33. BusId int `json:"busId" v:"required#关联项目不能为空"` // 关联项目
  34. ContactIds []int `json:"contactIds" v:"required#联系人不能为空"` // 联系人主键
  35. Remark string `json:"remark"` // 备注
  36. }