2018-10-07 14:16:47 +08:00
|
|
|
package com.ruoyi.common.annotation;
|
2018-09-30 17:11:29 +08:00
|
|
|
|
|
|
|
import java.lang.annotation.Documented;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
|
|
import java.lang.annotation.Retention;
|
|
|
|
import java.lang.annotation.RetentionPolicy;
|
|
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 数据权限过滤注解
|
|
|
|
*
|
|
|
|
* @author ruoyi
|
|
|
|
*/
|
|
|
|
@Target(ElementType.METHOD)
|
|
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
|
|
@Documented
|
|
|
|
public @interface DataScope
|
|
|
|
{
|
2018-10-03 23:11:09 +08:00
|
|
|
/**
|
|
|
|
* 表的别名
|
|
|
|
*/
|
2018-11-24 08:54:01 +08:00
|
|
|
public String tableAlias() default "";
|
2018-09-30 17:11:29 +08:00
|
|
|
}
|