对比新文件 |
| | |
| | | package com.ruoyi.common.annotation; |
| | | |
| | | 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 |
| | | { |
| | | /** |
| | | * 閮ㄩ棬琛ㄧ殑鍒悕 |
| | | */ |
| | | public String deptAlias() default ""; |
| | | |
| | | /** |
| | | * 鐢ㄦ埛琛ㄧ殑鍒悕 |
| | | */ |
| | | public String userAlias() default ""; |
| | | } |