mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
#1 Adding @Generated annotation to generated mappers
This commit is contained in:
parent
7121f22ff0
commit
40fe92c597
@ -37,7 +37,7 @@
|
||||
<dependency>
|
||||
<groupId>org.freemarker</groupId>
|
||||
<artifactId>freemarker</artifactId>
|
||||
<version>2.3.14</version>
|
||||
<version>2.3.19</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.testng</groupId>
|
||||
|
@ -19,7 +19,12 @@ package ${packageName};
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import javax.annotation.Generated;
|
||||
|
||||
@Generated(
|
||||
value = "org.mapstruct.ap.MappingProcessor",
|
||||
date = "${.now?string("yyyy-MM-dd'T'HH:mm:ssZ")}"
|
||||
)
|
||||
public class ${implementationName} implements ${interfaceName} {
|
||||
|
||||
<#list beanMappings as beanMapping>
|
||||
|
Loading…
x
Reference in New Issue
Block a user