|
|
@@ -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"` |
|
|
|
} |