forgeboot/forgeboot-webmvc/dto/build.gradle.kts
gewuyou 5c74c42a24 feat(dto): Added extension function and mapper interface
- Added the PredicateExtensions.kt file to provide extension functions for the Predicate list
- Added BaseMapper.kt file to define the base mapper interface
- Added ConversionMapper.kt file to define the conversion mapper interface between entity and DTO
- Modify the DeleteByIdsReq class to open class - Modify the PageQueryReq class to change the date type from LocalDateTime to Instant
- Modify the R class and ResponseInformation interfaces, change the response status code type from String to Int- Add mapstruct dependency in build.gradle.kts
2025-05-31 22:43:14 +08:00

19 lines
559 B
Plaintext

plugins{
alias(libs.plugins.forgeboot.i18n.keygen)
}
dependencies {
api(project(Modules.I18n.API))
api(project(Modules.TRACE.API))
implementation(libs.kotlinReflect)
compileOnly(libs.springBootDependencies.bom)
compileOnly(libs.jackson.annotations)
compileOnly(libs.springBootStarter.jpa)
compileOnly(libs.springBootStarter.validation)
compileOnly(libs.org.mapstruct)
}
i18nKeyGen {
rootPackage.set("com.gewuyou.forgeboot.webmvc.dto.i18n")
level.set(3)
readPath.set("src/main/resources/i18n/${project.name}")
}