diff --git a/build.gradle b/build.gradle index b4043e5..d6f01fd 100644 --- a/build.gradle +++ b/build.gradle @@ -58,6 +58,10 @@ dependencies { // email implementation("com.sun.mail:javax.mail:1.6.2") + + // test h2 db + testImplementation 'com.h2database:h2' + } tasks.named('test') { diff --git a/settings.gradle b/settings.gradle index 0a383dd..1e4fdcc 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1 +1,6 @@ +pluginManagement { + plugins { + id 'org.jetbrains.kotlin.jvm' version '2.2.0' + } +} rootProject.name = 'demo' diff --git a/src/main/java/NextLevel/demo/exception/ErrorCode.java b/src/main/java/NextLevel/demo/exception/ErrorCode.java index 0f3a427..44bcd89 100644 --- a/src/main/java/NextLevel/demo/exception/ErrorCode.java +++ b/src/main/java/NextLevel/demo/exception/ErrorCode.java @@ -30,7 +30,8 @@ public enum ErrorCode { // project NOT_CORRECT_TAG_SIZE(HttpStatus.BAD_REQUEST, "04001","invalidated tag input") , - ERROR_EXPIRED_DATE_CONVERSION(HttpStatus.BAD_REQUEST, "04003","can not convert expired : %s"), + ERROR_EXPIRED_DATE_CONVERSION(HttpStatus.BAD_REQUEST, "04003","can not convert date : %s"), + START_MUST_BEFORE_EXPIRED(HttpStatus.BAD_REQUEST, "04004","start must be before expired"), // funding NOT_ENOUGH_POINT(HttpStatus.BAD_REQUEST, "05001","not enough point left:%s, need:%s"), diff --git a/src/main/java/NextLevel/demo/funding/dto/funding dto.txt b/src/main/java/NextLevel/demo/funding/dto/funding dto.txt new file mode 100644 index 0000000..c6fadbe --- /dev/null +++ b/src/main/java/NextLevel/demo/funding/dto/funding dto.txt @@ -0,0 +1,21 @@ +project 별 funding 정보 dto : my page 메이커 +project dto : project total funding dto + project funding dto (기본 정보) + option funding list dto : input ( OptionEntity(with List ) ) + option 정렬, option funding 날짜 정렬 + option dto + List