base_sales_region.go 1006 B

12345678910111213141516171819202122232425262728293031323334
  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. "dashoo.cn/micro/app/model/base/internal"
  8. )
  9. // BaseSalesRegion is the golang structure for table base_sales_region.
  10. type BaseSalesRegion internal.BaseSalesRegion
  11. // Fill with you ideas below.
  12. type RegionSeq struct {
  13. RegionId int `json:"regionId" `
  14. request.PageReq
  15. }
  16. //创建值
  17. type AddRegionReq struct {
  18. RegionDesc string `p:"regionDesc" json:"regionDesc" v:"required#创建描述不能为空"`
  19. UserName string `p:"userName" json:"userName" v:"required#区域负责人不能为空"`
  20. Remark string
  21. }
  22. //只返回区域
  23. type RegionRep struct {
  24. Id int `p:"id" json:"id" `
  25. RegionDesc string `p:"regionDesc" json:"regionDesc" `
  26. RegionCode string `p:"regionCode" json:"regionCode" `
  27. }