FeeDetailRequest.go 643 B

123456789101112131415161718192021222324252627
  1. package http_model
  2. type FeeDetailRequest struct {
  3. EndTime string `json:"end_time"`
  4. }
  5. type FeeDetailData struct {
  6. ProjectID int64 `json:"project_id"`
  7. ProjectName string `json:"project_name"`
  8. ProjectType string `json:"project_type"`
  9. Payment string `json:"payment"`
  10. UpdatedAt string `json:"updated_at"`
  11. }
  12. type FeeDetailPreview struct {
  13. FeeDetailData []*FeeDetailData `json:"fee_detail_data"`
  14. }
  15. func NewFeeDetailRequest() *FeeDetailRequest {
  16. return new(FeeDetailRequest)
  17. }
  18. func NewFeeDetailResponse() *CommonResponse {
  19. resp := new(CommonResponse)
  20. resp.Data = new(FeeDetailPreview)
  21. return resp
  22. }