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

9 lines
183 B
Python

from pydantic import PositiveInt
from .UUIDSchema import UUIDSchema
class UserSchema(UUIDSchema):
username: str
discord_id: str
has_sub: bool
expiry: PositiveInt = 1