material.go 576 B

1234567891011121314151617181920212223242526272829303132
  1. package v1
  2. import (
  3. "property-household-gateway/param/base"
  4. "property-household-gateway/pb/v1"
  5. )
  6. type MaterialInfoQuery struct {
  7. Mtype int32 `form:"mtype" json:"mtype"`
  8. }
  9. type MaterialInfoRequest struct {
  10. base.Header
  11. MaterialInfoQuery
  12. }
  13. type MaterialInfoResponse struct {
  14. base.Result
  15. Data v1.MaterialInfoReply `json:"data"`
  16. }
  17. type MaterialListQuery struct {
  18. Mtypes string `form:"mtypes" json:"mtypes"`
  19. }
  20. type MaterialListRequest struct {
  21. base.Header
  22. MaterialListQuery
  23. }
  24. type MaterialListResponse struct {
  25. base.Result
  26. Data v1.MaterialListReply `json:"data"`
  27. }