Initial commit
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
class SessionTokenResponse(BaseModel):
|
||||
Token: str
|
||||
@@ -0,0 +1,11 @@
|
||||
from datetime import datetime
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
|
||||
class SettlementDetailResponse(BaseModel):
|
||||
Id: int
|
||||
Name: str
|
||||
Address: str
|
||||
LastDone: Optional[datetime]
|
||||
LastDoneBy: Optional[int]
|
||||
Active: bool
|
||||
@@ -0,0 +1,11 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
|
||||
class UserCreatedResponse(BaseModel):
|
||||
Id: int
|
||||
Name: str
|
||||
Surnames: str
|
||||
Email: str
|
||||
Username: Optional[str]
|
||||
Locked: Optional[bool]
|
||||
Active: Optional[bool]
|
||||
@@ -0,0 +1,11 @@
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
|
||||
class UserDetailResponse(BaseModel):
|
||||
Id: int
|
||||
Name: str
|
||||
Surnames: str
|
||||
Email: str
|
||||
Username: Optional[str]
|
||||
Locked: Optional[bool]
|
||||
Active: Optional[bool]
|
||||
Reference in New Issue
Block a user