package com.arms.api.issue.almapi.model.dto;

import jakarta.validation.Constraint;
import jakarta.validation.Payload;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Constraint(validatedBy = AlmIssueValidator.class)
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface AlmIssueValid {
    String message() default "Invalid data";

    Class<?>[] groups() default {};
    Class<? extends Payload>[] payload() default {};
}
