base_distributor_contact.go 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. Fill this file as you wish.
  3. // ==========================================================================
  4. package base
  5. import (
  6. "dashoo.cn/micro/app/model/base/internal"
  7. "dashoo.cn/opms_libary/request"
  8. )
  9. // BaseDistributorContact is the golang structure for table base_distributor_contact.
  10. type BaseDistributorContact internal.BaseDistributorContact
  11. // Fill with you ideas below.
  12. type BaseDistributorContactListReq struct {
  13. request.PageReq
  14. DistId int `json:"distId"` // 所属经销商
  15. Name string `json:"name"` // 姓名
  16. }
  17. type BaseDistributorContactAddReq struct {
  18. DistId int `json:"distId" v:"required#请输入所属经销商"` // 所属经销商
  19. Name string `json:"name" v:"required#请输入联系人姓名"` // 姓名
  20. Post string `json:"post"` // 岗位
  21. Phone string `json:"phone"` // 电话
  22. Wechat string `json:"wechat"` // 微信
  23. Mail string `json:"mail"` // 邮箱
  24. Honorific string `json:"honorific"` // 尊称
  25. Territory string `json:"territory"` // 负责区域/业务线
  26. Remark string `json:"remark"` // 备注
  27. }
  28. type BaseDistributorContactUpdateReq struct {
  29. Id int `json:"id" v:"required#请输入Id"`
  30. Name string `json:"name"` // 姓名
  31. Post string `json:"post"` // 岗位
  32. Phone string `json:"phone"` // 电话
  33. Wechat *string `json:"wechat"` // 微信
  34. Mail *string `json:"mail"` // 邮箱
  35. Honorific *string `json:"honorific"` // 尊称
  36. Territory *string `json:"territory"` // 负责区域/业务线
  37. Remark *string `json:"remark"`
  38. }
  39. type IdsReq struct {
  40. Id []int `json:"id"`
  41. }