一物一码
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.

article_watch_log.go 404 B

2 years ago
123456789101112
  1. package model
  2. import (
  3. "time"
  4. )
  5. type ArticleWatchLog struct {
  6. Id int64 `json:"id" xorm:"pk autoincr BIGINT(20)"`
  7. ArticleId int64 `json:"article_id" xorm:"not null default 0 comment('文章ID') unique(IDX_LOG) BIGINT(20)"`
  8. Uid int `json:"uid" xorm:"not null default 0 comment('用户ID') unique(IDX_LOG) INT(10)"`
  9. CreatedAt time.Time `json:"created_at" xorm:"created"`
  10. }