<?php

namespace Velis\Dto\Validators;

use Attribute;

#[Attribute]
class NotEmpty extends BaseValidator
{
    public string $message = 'Property cannot be empty';

    public function validate(mixed $value): bool
    {
        return !empty($value);
    }
}
