您最多选择25个主题
主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
15 行
277 B
15 行
277 B
package models
|
|
|
|
import "time"
|
|
|
|
type Topic struct {
|
|
Id int64
|
|
Uid int64
|
|
Title string
|
|
Content string `orm:"size(5000)"`
|
|
Attachment string
|
|
Created time.Time `orm:"index"`
|
|
ViewCount int64 `orm:"index"`
|
|
Author string
|
|
ReplayCount int64
|
|
}
|