fujunling
2023-06-19 d9522d959e8e31ca48e30aa23d4fe8c7d1992b6b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package org.springblade.core.tool.beans;
 
import java.lang.annotation.*;
 
/**
 * copy 字段 配置
 *
 * @author L.cm
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CopyProperty {
 
    /**
     * 属性名,用于指定别名,默认使用:field name
     * @return 属性名
     */
    String value() default "";
 
    /**
     * 忽略:默认为 false
     * @return 是否忽略
     */
    boolean ignore() default false;
}