You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
445 B
25 lines
445 B
package com.ruoyi.common.annotation;
|
|
|
|
|
|
import java.lang.annotation.*;
|
|
|
|
/**
|
|
* 自定义注解:字段对比
|
|
*
|
|
* @author 刘晓旭
|
|
* @date 2024-10-16
|
|
* */
|
|
@Target({ElementType.FIELD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
@Inherited
|
|
@Documented
|
|
public @interface FieldCompare {
|
|
/** 字段对应的中文 */
|
|
String chineseName();
|
|
|
|
/**
|
|
* 类型映射
|
|
* 使用方式 1:男,0:女
|
|
*/
|
|
String properties() default "";
|
|
}
|
|
|