"""Album domain entity."""

import datetime as dt
import uuid
from dataclasses import dataclass


@dataclass(frozen=True, slots=True)
class Album:
    id: uuid.UUID
    title: str
    artist_id: uuid.UUID
    year: int | None
    cover_path: str | None
    musicbrainz_id: str | None
    created_at: dt.datetime
    updated_at: dt.datetime
