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

18 regels
885 B

  1. package model
  2. import (
  3. "time"
  4. )
  5. type SysPushTemplate struct {
  6. Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
  7. IsAppPush int `json:"is_app_push" xorm:"not null default 1 comment('是否app推送') TINYINT(1)"`
  8. IsSmsPush int `json:"is_sms_push" xorm:"not null default 0 comment('是否短信推送') TINYINT(1)"`
  9. Type string `json:"type" xorm:"not null default '' comment('模板类型') VARCHAR(50)"`
  10. Title string `json:"title" xorm:"not null default '' comment('标题') VARCHAR(128)"`
  11. Content string `json:"content" xorm:"not null comment('内容') TEXT"`
  12. Skip string `json:"skip" xorm:"not null default '' comment('跳转功能') VARCHAR(255)"`
  13. CreateAt time.Time `json:"create_at" xorm:"default CURRENT_TIMESTAMP TIMESTAMP"`
  14. UpdateAt time.Time `json:"update_at" xorm:"default CURRENT_TIMESTAMP TIMESTAMP"`
  15. }