<?php

namespace App\Domain\Media;

use App\Framework\Database\Attributes\Column;
use App\Framework\Database\Attributes\Entity;

#[Entity(tableName: 'image_slots', idColumn: 'id')]
final readonly class ImageSlot
{
    public ?Image $image;

    public function __construct(
        #[Column(name: 'id', primary: true)]
        public int $id,
        #[Column(name: 'slot_name')]
        public string $slotName,
        #[Column(name: 'image_id')]
        public string $imageId,
    ){}
}
