order.go 874 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package v1
  2. import (
  3. "property-system-gateway/param/base"
  4. v1 "property-system-gateway/pb/v1"
  5. )
  6. // 应用订单相关
  7. type ApplicationOrderAddBody struct {
  8. ApplicationId int64 `form:"application_id" json:"application_id"`
  9. // 单价*周期得出的总价
  10. Amount int64 `form:"amount" json:"amount"`
  11. }
  12. type ApplicationOrderAddRequest struct {
  13. base.Header
  14. ApplicationOrderAddBody
  15. }
  16. type ApplicationOrderAddResponse struct {
  17. base.Result
  18. Data v1.ApplicationOrderAddReply `json:"data"`
  19. }
  20. type GardenApplicationListQuery struct {
  21. Page int64 `form:"page" json:"page"`
  22. PageSize int64 `form:"page_size" json:"page_size"`
  23. Status int32 `form:"status" json:"status"`
  24. }
  25. type GardenApplicationListRequest struct {
  26. base.Header
  27. GardenApplicationListQuery
  28. }
  29. type GardenApplicationListResponse struct {
  30. base.Result
  31. Data v1.GardenApplicationListReply `json:"data"`
  32. }