mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-06 21:05:50 +08:00
This commit is contained in:
parent
016e21661a
commit
1eb943c86e
@ -89,6 +89,7 @@ class ScalaEntitySerializer @Inject()(val typeMappings: TypeMappings) extends Se
|
||||
|
||||
writer.beginObject(queryTypeName)
|
||||
writer.line("def as(variable: String) = new ", queryTypeName, "(variable)")
|
||||
writer.line("")
|
||||
writer.line("val ", model.getUncapSimpleName, " = new ", queryTypeName, "(\"", model.getUncapSimpleName, "\")")
|
||||
writer.end()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user