♻️ Moved account-based post to publisher-based post
This commit is contained in:
@@ -1,18 +1,16 @@
|
||||
package models
|
||||
|
||||
import "git.solsynth.dev/hydrogen/dealer/pkg/hyper"
|
||||
import "git.solsynth.dev/hypernet/nexus/pkg/nex/cruda"
|
||||
|
||||
type Subscription struct {
|
||||
hyper.BaseModel
|
||||
cruda.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"`
|
||||
RealmID *uint `json:"realm_id,omitempty"`
|
||||
Realm Realm `json:"realm,omitempty"`
|
||||
FollowerID uint `json:"follower_id"`
|
||||
Follower Publisher `json:"follower"`
|
||||
AccountID *uint `json:"account_id,omitempty"`
|
||||
Account *Publisher `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"`
|
||||
}
|
||||
|
Reference in New Issue
Block a user