All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.obatis.core.annotation.request.ParamEncrypt Maven / Gradle / Ivy

There is a newer version: 3.0.1-release
Show newest version
package com.obatis.core.annotation.request;

import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * api 接口返回数据时,加密参数返回
 */
@Target({ FIELD })
@Retention(RUNTIME)
@Documented
public @interface ParamEncrypt {

    String method() default "电子邮箱地址不正确";

    Class[] groups() default {};

    Class[] payload() default {};
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy