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.

22 lines
1.1 KiB

  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. Deleted int `json:"deleted" orm:"deleted" description:""` //
  17. CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:""` //
  18. UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:""` //
  19. }