from pydantic import BaseModel, EmailStr from typing import Optional, List class User(BaseModel): id: Optional[str] = None # Will be generated by the database email: EmailStr password: str # In a real app, this would be hashed software_experience: Optional[List[str]] = None hardware_experience: Optional[List[str]] = None