Add DTOs for owner

This commit is contained in:
Jacob Windsor
2025-02-19 15:22:02 +01:00
parent 6f5a2f422e
commit 8c2f5acccf
6 changed files with 57 additions and 6 deletions
@@ -0,0 +1,7 @@
from pydantic import BaseModel
class OwnerDetailResponse(BaseModel):
id: str
user_id: str
email: str
+9
View File
@@ -0,0 +1,9 @@
from pydantic import BaseModel
class OwnerResponse(BaseModel):
id: str
user_id: str
class OwnerListResponse(BaseModel):
owners: list[OwnerResponse]