model

package
v0.0.0-...-9d05754 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2021 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 OrderModel

type OrderModel struct {
	ID         int64     `gorm:"column:id"`
	OrderID    string    `gorm:"column:order_id"`
	SellerID   string    `gorm:"column:seller_id"`
	BuyerID    string    `gorm:"column:buyer_id"`
	GoodsID    string    `gorm:"column:goods_id"`
	GoodsName  string    `gorm:"column:goods_name"`
	Count      uint32    `gorm:"column:count"`
	Price      float64   `gorm:"column:price"`
	Pay        float64   `gorm:"column:pay"`
	Status     uint8     `gorm:"column:status"`
	Remark     string    `gorm:"column:remark"`
	CreateTime time.Time `gorm:"column:create_time;-"`
	UpdateTime time.Time `gorm:"column:update_time;-"`
	IsDelete   uint8     `gorm:"column:is_delete"`
}

func (OrderModel) TableName

func (m OrderModel) TableName() string

Jump to

Keyboard shortcuts

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