diff --git a/data/user.go b/data/user.go index 5a98237..162447f 100644 --- a/data/user.go +++ b/data/user.go @@ -8,6 +8,12 @@ import ( "gorm.io/gorm/clause" ) +// Permission Level +// Banned User: 0 +// Normal User: 10 +// Admin User: 20 +// Super User: 30 + type User struct { Id uint `json:"id" gorm:"primarykey;autoincrement"` UUID uuid.UUID `json:"uuid" gorm:"type:uuid;uniqueindex;not null"`