生成奖励相关代码,实现新增门店奖励
This commit is contained in:
28
internal/model/do/rewards.go
Normal file
28
internal/model/do/rewards.go
Normal file
@ -0,0 +1,28 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package do
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// Rewards is the golang structure of table rewards for DAO operations like Where/Data.
|
||||
type Rewards struct {
|
||||
g.Meta `orm:"table:rewards, do:true"`
|
||||
Id interface{} // 奖励唯一标识符
|
||||
RewardTypeId interface{} // 奖励类型ID
|
||||
RewardScope interface{} // 奖励范围:1=系统奖励,2=门店奖励
|
||||
Name interface{} // 奖励名称
|
||||
Code interface{} // 奖励编号
|
||||
Description interface{} // 奖励描述
|
||||
Status interface{} // 状态:1=启用,2=禁用
|
||||
Stock interface{} // 奖励库存(0表示无限制)
|
||||
StartAt *gtime.Time // 奖励有效开始时间
|
||||
ExpireAt *gtime.Time // 奖励有效结束时间
|
||||
CreatedAt *gtime.Time // 创建时间
|
||||
UpdatedAt *gtime.Time // 更新时间
|
||||
DeletedAt *gtime.Time // 软删除时间戳
|
||||
}
|
||||
Reference in New Issue
Block a user