from typing import Any

from ....core.interfaces.dto import Dto
from ....core.interfaces.core import Core


class Session[Properties: Any](Core[Properties]):
  ip: str
  agent: str
  expiration: int


# ----------------------------------------
# Data Transfer Object Interface
# ----------------------------------------


class SessionDto[Properties: Any](Dto[Properties]):
  ip: str
  agent: str
  expiration: int
