from typing import Optional
from sqlmodel import Field, SQLModel
from datetime import datetime


class Capacity(SQLModel, table=True):
    """Create an SQLModel for capcities"""

    id: Optional[int] = Field(default=None, primary_key=True)
    user_id: int = Field(foreign_key="app_db.appuser.id")
    team_id: int = 