14 lines
246 B
Python
14 lines
246 B
Python
from typing import Optional
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class WritingGradeTaskDTO(BaseModel):
|
|
userId: str
|
|
sessionId: str
|
|
exerciseId: str
|
|
question: str
|
|
answer: str
|
|
type: str
|
|
attachment: Optional[str]
|