package com.goafanti.common.utils;

import com.goafanti.common.constant.ErrorConstants;
import org.springframework.context.annotation.Import;

import javax.validation.Payload;
import javax.validation.constraints.NotNull;
import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
public @interface Param {

    String name() default "";

    String message() default ErrorConstants.PARAM_EMPTY_ERROR;


}
