<?php

namespace FSPoster\App\Watermark\App\DTOs\Request;

class SaveWatermarkRequest
{
    public const RENDERING_FAILS_NOT_PUBLISH = 'not_publish';
    public const RENDERING_FAILS_ORIGINAL    = 'original';

    public const RENDERING_FAILS_OPTIONS = [
        self::RENDERING_FAILS_NOT_PUBLISH,
        self::RENDERING_FAILS_ORIGINAL,
    ];

    public bool $watermarkEnabled;
    public string $watermarkRenderingFails;

    /** @var WatermarkRule[] */
    public array $rules;
}
