Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package model
// Archive .
type Archive struct {
ID int64 `json:"id" gorm:"column:id"`
MID int64 `json:"mid" gorm:"column:mid"`
TypeID int32 `json:"typeid" gorm:"column:typeid"`
Title string `json:"title" gorm:"column:title"`
Content string `json:"content" gorm:"column:content"`
}
// TableName .
func (a *Archive) TableName() string {
return "archive"
}