proj_business_contact.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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. )
  8. // ProjBusinessContact is the golang structure for table proj_business_contact.
  9. type ProjBusinessContact internal.ProjBusinessContact
  10. // Fill with you ideas below.
  11. type BusinessContact struct {
  12. Id int `json:"id"` // 主键
  13. BusId int `json:"busId"` // 关联项目
  14. ContactId int `json:"contactId"` // 联系人主键
  15. CustId int `json:"custId" ` // 关联客户
  16. CuctName string `json:"cuctName" ` // 姓名
  17. CuctGender string `json:"cuctGender"` // 性别(10男20女)
  18. Postion string `json:"postion"` // 职位
  19. Telephone string `json:"telephone"` // 电话
  20. Wechat string `json:"wechat"` // 微信
  21. Email string `json:"email"` // 邮箱
  22. Policy int `json:"policy"` //是否决策
  23. }
  24. type BusinessContactReq struct {
  25. BusId int `json:"busId" v:"required#关联项目不能为空"` // 关联项目
  26. ContactIds []int `json:"contactIds" v:"required#联系人不能为空"` // 联系人主键
  27. Remark string `json:"remark"` // 备注
  28. }