partner_company_contact.go 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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/partner/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // PartnerCompanyContact is the golang structure for table partner_company_contact.
  10. type PartnerCompanyContact internal.PartnerCompanyContact
  11. // Fill with you ideas below.
  12. type PartnerCompanyContactListReq struct {
  13. request.PageReq
  14. PartnerId int `json:"partnerId"` // 所属合作伙伴
  15. Name string `json:"name"` // 姓名
  16. Post string `json:"post"` // 岗位
  17. }
  18. type PartnerCompanyContactAddReq struct {
  19. PartnerId int `json:"partnerId" v:"required#合作伙伴Id不能为空"` // 所属合作伙伴
  20. Name string `json:"name" v:"required#名称不能为空"` // 姓名
  21. Post string `json:"post"` // 岗位
  22. ContactWay string `json:"contactWay"` // 电话
  23. Territory string `json:"territory"` // 负责区域
  24. Remark string `json:"remark"` // 备注
  25. }
  26. type PartnerCompanyContactUpdateReq struct {
  27. Id int `json:"id" v:"required#请输入Id"`
  28. Name string `json:"name"` // 姓名
  29. Post *string `json:"post"` // 岗位
  30. ContactWay *string `json:"contactWay"` // 电话
  31. Territory *string `json:"territory"` // 负责区域
  32. Remark *string `json:"remark"` // 备注
  33. }
  34. type PartnerCompanyContactExcelUploadReq struct {
  35. PartnerId int `json:"partnerId" v:"required#合作伙伴Id不能为空"` // 所属合作伙伴
  36. ExcelUrl string `json:"excelUrl" v:"required#请输入excel地址"` // excel 文件地址
  37. }