mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-24 07:19:46 +08:00
26 lines
387 B
Java
26 lines
387 B
Java
package com.ruoyi.common.annotation;
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* 数据权限
|
|
*
|
|
* @author Lion Li
|
|
*/
|
|
@Target(ElementType.METHOD)
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Documented
|
|
public @interface DataColumn {
|
|
|
|
/**
|
|
* 占位符关键字
|
|
*/
|
|
String key() default "deptName";
|
|
|
|
/**
|
|
* 占位符替换值
|
|
*/
|
|
String value() default "dept_id";
|
|
|
|
}
|