Interactive/pkg/internal/models/subscriptions.go

16 lines
466 B
Go
Raw Normal View History

2024-09-17 00:12:09 +08:00
package models
import "git.solsynth.dev/hypernet/nexus/pkg/nex/cruda"
2024-09-17 00:12:09 +08:00
type Subscription struct {
cruda.BaseModel
2024-09-17 00:12:09 +08:00
FollowerID uint `json:"follower_id"`
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"`
2024-09-17 00:12:09 +08:00
}