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.
20 lines
313 B
20 lines
313 B
2 months ago
|
package model
|
||
|
|
||
|
import "time"
|
||
|
|
||
|
// 关注数
|
||
|
type FollowCount struct {
|
||
|
UserId int64 `gorm:"index:user_id"`
|
||
|
Number int64
|
||
|
CreatedAt time.Time
|
||
|
UpdatedAt time.Time
|
||
|
}
|
||
|
|
||
|
// 粉丝数
|
||
|
type FollowerCount struct {
|
||
|
UserId int64 `gorm:"index:user_id"`
|
||
|
Number int64
|
||
|
CreatedAt time.Time
|
||
|
UpdatedAt time.Time
|
||
|
}
|