You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
634 B
18 lines
634 B
package live
|
|
|
|
import "github.com/golangkit/formatime"
|
|
|
|
type UserTrend struct {
|
|
Id uint `gorm:"column:id" json:"id"`
|
|
UserId uint `gorm:"column:user_id" json:"user_id"`
|
|
OriginId uint `gorm:"column:origin_id" json:"origin_id"`
|
|
TrendType uint `gorm:"column:trend_type" json:"trend_type"`
|
|
CreatedAt formatime.Second `gorm:"column:created_at" json:"created_at"`
|
|
UpdatedAt formatime.Second `gorm:"column:updated_at" json:"updated_at"`
|
|
IsShow uint `gorm:"column:is_show" json:"is_show"`
|
|
}
|
|
|
|
func (u *UserTrend) TableName() string {
|
|
return "recook_user_trend"
|
|
}
|