更新校验
parent
a8c9afbc4e
commit
e892dbea3b
|
@ -1,6 +1,7 @@
|
||||||
package com.muyu.common.core.validation.custom;
|
package com.muyu.common.core.validation.custom;
|
||||||
|
|
||||||
import jakarta.validation.Constraint;
|
import jakarta.validation.Constraint;
|
||||||
|
import jakarta.validation.Payload;
|
||||||
|
|
||||||
import java.lang.annotation.*;
|
import java.lang.annotation.*;
|
||||||
|
|
||||||
|
@ -19,4 +20,7 @@ import static java.lang.annotation.RetentionPolicy.RUNTIME;
|
||||||
public @interface IsSystemYseNo {
|
public @interface IsSystemYseNo {
|
||||||
|
|
||||||
String message() default "数据字典,[系统是否] - 参数不合法";
|
String message() default "数据字典,[系统是否] - 参数不合法";
|
||||||
|
Class<?>[] groups() default { };
|
||||||
|
Class<? extends Payload>[] payload() default { };
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue