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.

23 lines
1.5 KiB

6 months ago
6 months ago
  1. // =================================================================================
  2. // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package entity
  5. import (
  6. "github.com/gogf/gf/v2/os/gtime"
  7. )
  8. // Coupon is the golang structure for table coupon.
  9. type Coupon struct {
  10. Id uint `json:"id" orm:"id" description:""` //
  11. Title string `json:"title" orm:"title" description:"名字"` // 名字
  12. Cover string `json:"cover" orm:"cover" description:"封面小图片"` // 封面小图片
  13. ImgUrl string `json:"imgUrl" orm:"img_url" description:"放大看全图"` // 放大看全图
  14. StartTime int `json:"startTime" orm:"start_time" description:"有效期起始"` // 有效期起始
  15. EndTime int `json:"endTime" orm:"end_time" description:"有效期截止"` // 有效期截止
  16. Type int `json:"type" orm:"type" description:"类型(1:普通 2:二维码)"` // 类型(1:普通 2:二维码)
  17. Deleted int `json:"deleted" orm:"deleted" description:"是否删除?"` // 是否删除?
  18. CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
  19. UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
  20. }