from typing import Optional

from pydantic import BaseModel


# define a model for Item
class student(BaseModel):
    stud_id: Optional[int]
    stud_name: str
    parent_name: str
    status: str
    department: str