Files
piaps-student-performance/backend/app/schemas/otp_schemas.py

13 lines
175 B
Python

from pydantic import BaseModel
class OTPReadSchema(BaseModel):
id: str
user_id: int
code: str
class OTPCreateSchema(BaseModel):
user_id: int
code: str