17 lines
262 B
Python
17 lines
262 B
Python
from pydantic import BaseModel
|
|
|
|
class SkillResponse(BaseModel):
|
|
id: int
|
|
name: str
|
|
type: str
|
|
|
|
class Config:
|
|
from_attributes = True
|
|
|
|
|
|
class ProjectSkill(BaseModel):
|
|
id: int
|
|
name: str
|
|
|
|
class Config:
|
|
from_attributes = True |