我正在尝试使用下面给出的标签创建 .jh 文件。但 Eclipse 插件或在线 JDL-Studio 不接受此部分。
application {
config {
baseName myapp,
path "../", // the generated folder will be "../myapp"
applicationType microservice,
prodDatabaseType postgresql,
buildTool gradle
}
}
我什至尝试了文章中给出的以下示例,但这也不起作用。有没有人在 JDL-Studio 中使用它。
application {
config {
baseName myMonolith,
path "../",
applicationType monolith
}
entities * except C, D
}
application {
config {
baseName myGateway,
path "../",
applicationType gateway,
serverPort 9042
}
entities * except A, B
}
application {
config {
baseName microserviceA,
path "../",
applicationType microservice
}
entities C
}
application {
config {
baseName microserviceB,
path "../",
applicationType microservice,
serverPort 8082
}
entities D
}
entity A
entity B
entity C
entity D
dto * with mapstruct
paginate D with pager