2024-09-16 16:12:09 +00:00
|
|
|
package models
|
|
|
|
|
|
|
|
import "git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
|
|
|
|
|
|
|
type Subscription struct {
|
|
|
|
hyper.BaseModel
|
|
|
|
|
|
|
|
FollowerID uint `json:"follower_id"`
|
|
|
|
Follower Account `json:"follower"`
|
|
|
|
AccountID *uint `json:"account_id,omitempty"`
|
|
|
|
Account *Account `json:"account,omitempty"`
|
|
|
|
TagID *uint `json:"tag_id,omitempty"`
|
|
|
|
Tag Tag `json:"tag,omitempty"`
|
|
|
|
CategoryID *uint `json:"category_id,omitempty"`
|
|
|
|
Category Category `json:"category,omitempty"`
|
2024-10-14 13:40:28 +00:00
|
|
|
RealmID *uint `json:"realm_id,omitempty"`
|
|
|
|
Realm Realm `json:"realm,omitempty"`
|
2024-09-16 16:12:09 +00:00
|
|
|
}
|