mirror of
https://gitee.com/easii/mapstruct-plus.git
synced 2025-12-06 17:18:43 +08:00
AutoMappings注解增加支持配置在方法上面
This commit is contained in:
parent
4e103c7cd1
commit
abe54d84cc
@ -5,7 +5,7 @@ import java.lang.annotation.Retention;
|
|||||||
import java.lang.annotation.RetentionPolicy;
|
import java.lang.annotation.RetentionPolicy;
|
||||||
import java.lang.annotation.Target;
|
import java.lang.annotation.Target;
|
||||||
|
|
||||||
@Target(ElementType.FIELD)
|
@Target({ElementType.FIELD, ElementType.METHOD})
|
||||||
@Retention(RetentionPolicy.CLASS)
|
@Retention(RetentionPolicy.CLASS)
|
||||||
public @interface AutoMappings {
|
public @interface AutoMappings {
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user