diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index e4c17c7..2bc673f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,11 +4,11 @@
-
+
+
-
-
-
+
+
@@ -146,8 +146,6 @@
-
-
@@ -171,7 +169,9 @@
-
+
+
+
true
diff --git a/pkg/internal/database/migrator.go b/pkg/internal/database/migrator.go
index 61592eb..175938a 100644
--- a/pkg/internal/database/migrator.go
+++ b/pkg/internal/database/migrator.go
@@ -11,6 +11,7 @@ var AutoMaintainRange = []any{
&models.AccountProfile{},
&models.AccountContact{},
&models.AccountFriendship{},
+ &models.Status{},
&models.Badge{},
&models.Realm{},
&models.RealmMember{},
diff --git a/pkg/internal/models/accounts.go b/pkg/internal/models/accounts.go
index 03fcc83..b58bc3f 100644
--- a/pkg/internal/models/accounts.go
+++ b/pkg/internal/models/accounts.go
@@ -20,8 +20,10 @@ type Account struct {
ConfirmedAt *time.Time `json:"confirmed_at"`
PermNodes datatypes.JSONMap `json:"perm_nodes"`
- Profile AccountProfile `json:"profile"`
- Badges []Badge `json:"badges"`
+ Profile AccountProfile `json:"profile"`
+ Statuses []Status `json:"statuses"`
+ Badges []Badge `json:"badges"`
+
Contacts []AccountContact `json:"contacts"`
RealmIdentities []RealmMember `json:"realm_identities"`
diff --git a/pkg/internal/models/statuses.go b/pkg/internal/models/statuses.go
new file mode 100644
index 0000000..d9c88da
--- /dev/null
+++ b/pkg/internal/models/statuses.go
@@ -0,0 +1,20 @@
+package models
+
+type StatusAttitude = uint8
+
+const (
+ AttitudeNeutral = StatusAttitude(iota)
+ AttitudePositive
+ AttitudeNegative
+)
+
+type Status struct {
+ BaseModel
+
+ Type string `json:"type"`
+ Label string `json:"label"`
+ Attitude StatusAttitude `json:"attitude"`
+ IsNoDisturb bool `json:"is_no_disturb"`
+ IsInvisible bool `json:"is_invisible"`
+ AccountID uint `json:"account_id"`
+}