You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
// =================================================================================
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
// =================================================================================
package entity
import ( "github.com/gogf/gf/v2/os/gtime" )
// Coupon is the golang structure for table coupon.
type Coupon struct { Id uint `json:"id" orm:"id" description:""` //
Title string `json:"title" orm:"title" description:"名字"` // 名字
Cover string `json:"cover" orm:"cover" description:"封面小图片"` // 封面小图片
ImgUrl string `json:"imgUrl" orm:"img_url" description:"放大看全图"` // 放大看全图
StartTime int `json:"startTime" orm:"start_time" description:"有效期起始"` // 有效期起始
EndTime int `json:"endTime" orm:"end_time" description:"有效期截止"` // 有效期截止
Type int `json:"type" orm:"type" description:"类型(1:卡券 2:二维码)"` // 类型(1:卡券 2:二维码)
Deleted int `json:"deleted" orm:"deleted" description:"是否删除?"` // 是否删除?
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
}
|