bilibili-backup/app/service/main/workflow/model/archive.go

16 lines
378 B
Go
Raw Normal View History

2019-04-22 10:59:20 +08:00
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"
}