rumine-api-wrapper/db/schemas/UserSchema.py

11 lines
249 B
Python
Raw Normal View History

2024-03-07 14:06:53 +01:00
from pydantic import PositiveInt
from .UUIDSchema import UUIDSchema
2024-04-15 13:57:31 +02:00
from .TabSchema import TabSchema
2024-03-07 14:06:53 +01:00
class UserSchema(UUIDSchema):
username: str
2024-04-15 13:18:31 +02:00
discord_id: str
has_sub: bool
2024-04-15 13:57:31 +02:00
expiry: PositiveInt = 1
tab: TabSchema = TabSchema()