面包店
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.
 
 
 
 
 

14 line
803 B

  1. package model
  2. type MomentsMaterial struct {
  3. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  4. Pid int `json:"pid" xorm:"not null default 0 comment('分类ID') INT(11)"`
  5. CateId int `json:"cate_id" xorm:"not null default 0 comment('子分类') INT(11)"`
  6. TypeId int `json:"type_id" xorm:"not null default 0 comment('类型ID') INT(11)"`
  7. Data string `json:"data" xorm:"not null comment('素材详情json') TEXT"`
  8. IsShow int `json:"is_show" xorm:"not null default 1 comment('是否显示:0不显示;1显示') TINYINT(1)"`
  9. CreatedAt int `json:"created_at" xorm:"comment('创建时间') INT(11)"`
  10. UpdatedAt int `json:"updated_at" xorm:"comment('更新时间') INT(11)"`
  11. DeletedAt int `json:"deleted_at" xorm:"not null default 0 INT(11)"`
  12. }