15 lines
223 B
Python
15 lines
223 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class StepTaskEntity(BaseModel):
|
|
id: Optional[int] = None
|
|
text: str
|
|
|
|
step_id: int
|
|
type_id: int
|
|
|
|
class Config:
|
|
from_attributes = True
|