Add the quota type

This commit is contained in:
Tracker-Friendly 2024-11-03 16:52:46 +00:00
parent bbe7a5f5cc
commit f449c1e55c
1 changed files with 6 additions and 1 deletions

View File

@ -22,3 +22,8 @@ type File struct {
User uuid.UUID `validate:"required"`
Bytes []byte // Only used in write operations
}
type Quota struct {
User uuid.UUID `validate:"required"`
Bytes int64 `validate:"required"`
}