entity

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

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

Go to latest
Published: Aug 11, 2022 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 Order

type Order struct {
	*gorm.Model
	OrderId uint64 `gorm:" uniqueIndex;bigint(64);not null;comment:'全局自增唯一ID'"`
	UserId  uint64 `gorm:" uniqueIndex;bigint(64);not null;comment:'全局自增唯一ID'"`
	Status  uint8  `gorm:" bigint(8);not null;default 0;comment:'订单状态,0 创建,1 支付完成,2 取消, 3 作废'"`
	Fee     uint64 `gorm:" bigint(64);not null; default 0;comment:'订单金额'"`
}

Jump to

Keyboard shortcuts

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