from __future__ import annotations

from sqlalchemy import String, Text
from sqlalchemy.orm import Mapped, mapped_column

from .base import Base


class SisterTeam(Base):
    """SQLAlchemy ORM model for SisterTeams"""

    __tablename__ = "SisterTeams"

    # Primary Key
    Team: Mapped[str] = mapped_column(String, primary_key=True)

    # Team Information
    Team_Markup: Mapped[str | None] = mapped_column(Text, default=None)  # Wikitext
    Status: Mapped[str | None] = mapped_column(String, default=None)

    # Active Teams
    ActiveList: Mapped[str | None] = mapped_column(
        String, default=None
    )  # Comma-delimited list
    Active_Markup: Mapped[str | None] = mapped_column(
        Text, default=None
    )  # Comma-delimited list of Wikitext

    # Inactive Teams
    InactiveList: Mapped[str | None] = mapped_column(
        String, default=None
    )  # Comma-delimited list
    Inactive_Markup: Mapped[str | None] = mapped_column(
        Text, default=None
    )  # Comma-delimited list of Wikitext

    # All Teams
    AllTeams: Mapped[str | None] = mapped_column(
        String, default=None
    )  # Comma-delimited list
    AllTeams_Markup: Mapped[str | None] = mapped_column(
        Text, default=None
    )  # Comma-delimited list of Wikitext
