<?php

namespace App\Message;

class MeilisearchSyncMessage
{
    public const TYPE_CUSTOMER = 'customer';
    public const TYPE_REVENDEUR = 'revendeur';
    public const TYPE_PRICE = 'price';

    public function __construct(
        public readonly string $type,
        public readonly int $entityId,
        public readonly string $action = 'index',
    ) {
    }
}
