from pydantic.types import Optional
from sqlmodel import Field, Relationship, SQLModel

from api.public.team.models import Team


class HeroBase(SQLModel):
    name: str
    secret_name: str
    age: Optional[int] = None

    team_id: Optional[int] = 