"""Playlist domain entity."""

import datetime as dt
import uuid
from dataclasses import dataclass


@dataclass(frozen=True, slots=True)
class Playlist:
    id: uuid.UUID
    name: str
    description: str | None
    owner_id: uuid.UUID
    version: int
    created_at: dt.datetime
    updated_at: dt.datetime
