2022-12-20 21:45:52 +08:00
|
|
|
package model
|
|
|
|
|
2022-12-25 18:06:03 +08:00
|
|
|
const (
|
|
|
|
StatusOK = iota
|
|
|
|
StatusIgnore
|
|
|
|
StatusAccountClosed
|
|
|
|
StatusPendingVideo
|
|
|
|
StatusPendingLive
|
|
|
|
StatusUntracked
|
|
|
|
)
|
|
|
|
|
2022-12-20 21:45:52 +08:00
|
|
|
type Furry struct {
|
2023-04-09 13:35:34 +08:00
|
|
|
ID uint `gorm:"primarykey"`
|
2022-12-25 18:06:03 +08:00
|
|
|
UID uint `gorm:"uniqueIndex;not null"`
|
|
|
|
Name string `gorm:"index;not null;default:''"`
|
|
|
|
Status int `gorm:"index;not null;default:0"`
|
|
|
|
LiveRoomID uint `gorm:"index;not null;default:0"`
|
2022-12-20 21:45:52 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
func (Furry) TableName() string {
|
|
|
|
return "furries"
|
|
|
|
}
|