File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
querydsl-tooling/querydsl-ksp-codegen/src/main/kotlin/com/querydsl/ksp/codegen Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 11package com.querydsl.ksp.codegen
22
3+ import com.querydsl.core.annotations.Generated
34import com.querydsl.core.types.ConstructorExpression
45import com.querydsl.core.types.Path
56import com.querydsl.core.types.PathMetadata
@@ -16,6 +17,7 @@ object QueryModelRenderer {
1617 .setPrimaryConstructor(model)
1718 .setEntitySuperclass(model)
1819 .addSuperConstructorParameter(model)
20+ .addAnnotation(Generated ::class )
1921 .build()
2022
2123 else -> TypeSpec .classBuilder(model.className)
@@ -28,6 +30,7 @@ object QueryModelRenderer {
2830 .constructorForTypeMetadata(model)
2931 .addInitializerCompanionObject(model)
3032 .addInheritedProperties(model)
33+ .addAnnotation(Generated ::class )
3134 .build()
3235 }
3336 }
You can’t perform that action at this time.
0 commit comments