Browse Source

文章

master
huangjiajun 1 day ago
parent
commit
7c9397135a
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      src/model/article_user_like.go

+ 12
- 0
src/model/article_user_like.go View File

@@ -0,0 +1,12 @@
package model

import (
"time"
)

type ArticleUserLike struct {
Id int `json:"id" xorm:"not null pk autoincr INT(11)"`
Uid int `json:"uid" xorm:"default 0 INT(11)"`
ArticleId int `json:"article_id" xorm:"default 0 INT(11)"`
CreateAt time.Time `json:"create_at" xorm:"DATETIME"`
}

Loading…
Cancel
Save