17 lines
283 B
Java
17 lines
283 B
Java
package com.tiesheng.annotation.desensitize;
|
|
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
/**
|
|
* @author hao
|
|
*/
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface Desensitize {
|
|
|
|
int prefix() default 1;
|
|
|
|
int suffix() default 1;
|
|
|
|
}
|