<?php

declare(strict_types=1);

/*
 * Chill is a software for social workers
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Chill\PersonBundle\PersonIdentifier;

/**
 * Data Transfer Object to create a ConstraintViolationListInterface.
 */
class IdentifierViolationDTO
{
    public function __construct(
        public string $message,
        /**
         * @var string an UUID
         */
        public string $code,
        /**
         * @var array<string, string>
         */
        public array $parameters = [],
        public string $messageDomain = 'validators',
    ) {}
}
