mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-20 02:06:38 +08:00
33 lines
567 B
Java
33 lines
567 B
Java
package com.ruoyi.common.annotation;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* 数据权限过滤注解
|
|
*
|
|
* @author ruoyi
|
|
* @deprecated 3.6.0 移除 {@link com.ruoyi.common.annotation.DataPermission}
|
|
*/
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
@Deprecated
|
|
public @interface DataScope {
|
|
|
|
/**
|
|
* 部门表的别名
|
|
*/
|
|
String deptAlias() default "";
|
|
|
|
/**
|
|
* 用户表的别名
|
|
*/
|
|
String userAlias() default "";
|
|
|
|
/**
|
|
* 是否过滤用户权限
|
|
*/
|
|
boolean isUser() default false;
|
|
|
|
}
|