service_phone.go 973 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package v1
  2. import (
  3. "property-household-gateway/param/base"
  4. "property-household-gateway/pb/v1"
  5. )
  6. type ServicePhoneClassListQuery struct {
  7. GardenId int64 `form:"garden_id" json:"garden_id"`
  8. Page int64 `form:"page" json:"page"`
  9. PageSize int64 `form:"page_size" json:"page_size"`
  10. }
  11. type ServicePhoneClassListRequest struct{
  12. base.Header
  13. ServicePhoneClassListQuery
  14. }
  15. type ServicePhoneClassListResponse struct{
  16. base.Result
  17. Data v1.ServicePhoneClassListReply `json:"data"`
  18. }
  19. type ServicePhoneListQuery struct {
  20. GardenId int64 `form:"garden_id" json:"garden_id"`
  21. Page int64 `form:"page" json:"page"`
  22. PageSize int64 `form:"page_size" json:"page_size"`
  23. ClassId int64 `form:"class_id" json:"class_id"`
  24. }
  25. type ServicePhoneListRequest struct{
  26. base.Header
  27. ServicePhoneListQuery
  28. }
  29. type ServicePhoneListResponse struct{
  30. base.Result
  31. Data v1.ServicePhoneListReply `json:"data"`
  32. }