base_distributor.go 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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/opms_libary/request"
  7. "github.com/gogf/gf/os/gtime"
  8. "dashoo.cn/micro/app/model/base/internal"
  9. )
  10. // BaseDistributor is the golang structure for table base_distributor.
  11. type BaseDistributor internal.BaseDistributor
  12. // Fill with you ideas below.
  13. type BaseDistributorSearchReq struct {
  14. DistCode string `json:"distCode"` // 经销商code
  15. DistName string `json:"distName"` // 经销商名称
  16. BelongSale string `json:"belongSale"` // 所属经销商
  17. ProvinceId int `json:"provinceId"` // 省份ID
  18. request.PageReq
  19. }
  20. //列表返回字段
  21. type DistributorRonp struct {
  22. Id int `orm:"id,primary" json:"id"` // 主健
  23. DistCode string `orm:"dist_code" json:"distCode"` // 经销商编码
  24. DistName string `orm:"dist_name" json:"distName"` // 经销商名字
  25. AbbrName string `orm:"abbr_name" json:"abbrName"` // 助记名
  26. DistBoss string `orm:"dist_boss" json:"distBoss"` // 负责人
  27. DistBossPhone int `orm:"dist_boss_phone" json:"distBossPhone"` // 负责人电话
  28. BelongSale string `orm:"belong_sale" json:"belongSale"` // 销售
  29. ProvinceDesc string `orm:"province_desc" json:"provinceDesc"` // 省份描述
  30. BusinessScope string `orm:"business_scope" json:"businessScope"` // 业务范围
  31. CreatedName string `orm:"created_name" json:"createdName"` // 创建人名字
  32. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  33. //District *BaseDistrict `orm:"with:id=province_id"`
  34. //*Contanct
  35. }
  36. type Contanct struct {
  37. Name string `json:"name"` // 销售名
  38. }