DTO

package
v0.0.0-...-6d4792c Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CartDTO

type CartDTO struct {
	Id      int
	User    *models.UserModel
	Product *models.ProductModel
}

type OrderDTO

type OrderDTO struct {
	Id      int
	User    *models.UserModel
	Product *models.ProductModel
	Name    string
	Status  string
}

type OrdersDTO

type OrdersDTO struct {
	Orders []OrderDTO
}

type PayForm

type PayForm struct {
	PayForm struct {
		Token   string `json:"token"`
		FormUrl string `json:"form_url"`
	} `json:"pay_form"`
}

type ProductDTO

type ProductDTO struct {
	Name   string
	Id     int
	Price  float32
	InCart bool
}

Jump to

Keyboard shortcuts

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