Refactor: deplacer backend dans apps/backend
This commit is contained in:
1 parent
ca3de277b4
commit
357b47bd61
18 files changed
+3
-3
No files matched your search
@@ -0,0 +1,20 @@
|
||||
from pydantic import BaseModel
|
||||
|
||||
class ExperienceTaskResponse(BaseModel):
|
||||
id: int
|
||||
description: str
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
||||
|
||||
class ExperienceResponse(BaseModel):
|
||||
id: int
|
||||
company: str
|
||||
location: str
|
||||
duration: str
|
||||
role: str
|
||||
tasks: list[ExperienceTaskResponse]
|
||||
|
||||
class Config:
|
||||
from_attributes = True
|
||||
|
||||
Reference in new issue
Block a user