dto

package
v0.0.0-...-93b8502 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 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 OrdersDetailDto

type OrdersDetailDto struct {
	ID        uint   `json:"id"`
	GoodsName string `json:"goodsName"`
	Barcode   string `json:"barcode"`
	Price     string `json:"price"`
	Count     uint   `json:"count"`
	Supplier  string `json:"supplier"`
	Standard  string `json:"standard"`
	Spec      string `json:"spec"`
}

type OrdersDto

type OrdersDto struct {
	Page
	Position uint               `json:"position"` //在列表中的位置
	ID       uint               `json:"id"`
	Money    string             `json:"money"`
	Count    uint               `json:"count"`
	Detail   []*OrdersDetailDto `json:"detail"`
}

type Page

type Page struct {
	Page     int `json:"page"`
	PageSize int `json:"pageSize"`
}

func (*Page) GetLimit

func (p *Page) GetLimit() int

func (*Page) GetOffset

func (p *Page) GetOffset() int

Jump to

Keyboard shortcuts

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