customgms

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2023 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 GmsAppCgp added in v0.0.22

type GmsAppCgp struct {
	ID         uint      // 主键ID                             // id[主键]
	Cgp        string    `json:"cgp" form:"cgp" gorm:"column:cgp;comment:;size:50;"`
	PackageId  int       `json:"packageId" form:"packageId" gorm:"column:package_id;comment:;"`
	StrServIds string    `json:"strServIds" form:"strServIds" gorm:"column:str_serv_ids;comment:;size:500;"`
	Code       string    `json:"code" form:"code" gorm:"column:code;comment:;"`
	Valid      int       `json:"valid" form:"valid" gorm:"column:valid;comment:兑换开关;size:19;"`
	UsedCount  int       `json:"usedCount" form:"usedCount" gorm:"column:used_count;comment:使用数量;size:19;"`
	MaxCount   int       `json:"maxCount" form:"maxCount" gorm:"column:max_count;comment:数量限制;size:19;"`
	ExpireTime time.Time `json:"expireTime" form:"expireTime" gorm:"column:expire_time;comment:过期时间;"`
	StartTime  time.Time `json:"startTime" form:"startTime" gorm:"column:start_time;comment:开始时间;"`
}

礼包码

type GmsAppCgpGift

type GmsAppCgpGift struct {
	ID         uint      // 主键ID                             // 礼包id[主键]
	ExpireTime time.Time `json:"expireTime" form:"expireTime" gorm:"column:expire_time;comment:过期时间;"`
	Name       string    `json:"name" form:"name" gorm:"column:name;comment:礼包名;size:255;"`
	Remark     string    `json:"remark" form:"remark" gorm:"column:remark;comment:备注;size:255;"`
	StartTime  time.Time `json:"startTime" form:"startTime" gorm:"column:start_time;comment:开始时间;"`
	StrItems   string    `json:"strItems" form:"strItems" gorm:"column:str_items;comment:奖励内容;size:500;"`
	Valid      int       `json:"valid" form:"valid" gorm:"column:valid;comment:兑换开关;size:19;"`
}

礼包

type GmsAppCgpUse

type GmsAppCgpUse struct {
	ID      string    // 主键ID  rid+cgp
	Cgp     string    `json:"cgp" form:"cgp" gorm:"column:cgp;comment:;size:50;"`
	Num     int       `json:"num" form:"num" gorm:"column:num;comment:使用数量;size:19;"`
	Rid     int       `json:"rid" form:"rid" gorm:"column:rid;comment:使用数量;size:19;"`
	UseTime time.Time `json:"useTime" form:"useTime" gorm:"column:usetime;comment:开始时间;"`
}

礼包使用信息

Jump to

Keyboard shortcuts

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