123456789101112131415161718192021222324 |
- package com.future.common.annotation;
- import java.lang.annotation.*;
- /**
- * 数据权限过滤注解
- *
- * @author future
- */
- @Target(ElementType.METHOD)
- @Retention(RetentionPolicy.RUNTIME)
- @Documented
- public @interface DataScope
- {
- /**
- * 部门表的别名
- */
- public String deptAlias() default "";
- /**
- * 用户表的别名
- */
- public String userAlias() default "";
- }
|