dto

package
v0.0.0-...-db88faa Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateOrderDTO

type CreateOrderDTO struct {
	Item           string `json:"item"`
	Quantity       int    `json:"quantity"`
	PickUpAddress  string `json:"pickup_address"`
	DropOffAddress string `json:"dropoff_address"`
}

type OrderResponseDTO

type OrderResponseDTO struct {
	ID            uint    `json:"id"`
	UserID        uint    `json:"user_id"`
	Charge        float64 `json:"charge"`
	Status        string  `json:"status"`
	CreatedAt     string  `json:"created_at"`
	RiderID       uint    `json:"rider_id"`
	RefID         string  `json:"ref_id"`
	Item          string  `json:"item"`
	Acknowledge   bool    `json:"acknowledge"`
	PaymentStatus string  `json:"payment_status"`
	PickUpAddress string  `json:"pickup_address"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL