-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[hotfix] 필수 requset 필드 수정
- Loading branch information
Showing
9 changed files
with
46 additions
and
31 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
src/main/java/com/pickple/server/api/moim/domain/CategoryInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/com/pickple/server/api/moim/domain/DateInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/main/java/com/pickple/server/api/moim/domain/ImageInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/main/java/com/pickple/server/api/moim/domain/QuestionInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
package com.pickple.server.api.moim.domain; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Size; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class QuestionInfo { | ||
|
||
@Size(max = 50, message = "50자 이내로 작성해주세요.") | ||
@NotBlank(message = "질문이 비어있습니다.") | ||
private String question1; | ||
|
||
@Size(max = 50, message = "50자 이내로 작성해주세요.") | ||
private String question2; | ||
|
||
@Size(max = 50, message = "50자 이내로 작성해주세요.") | ||
private String question3; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/main/java/com/pickple/server/api/moimsubmission/domain/AccountInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,17 @@ | ||
package com.pickple.server.api.moimsubmission.domain; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class AccountInfo { | ||
|
||
@NotBlank(message = "예금주가 비어있습니다.") | ||
private String holder; | ||
|
||
@NotBlank(message = "은행이 비어있습니다.") | ||
private String bank; | ||
|
||
@NotBlank(message = "계좌번호가 비어있습니다.") | ||
private String accountNumber; | ||
} |
6 changes: 6 additions & 0 deletions
6
src/main/java/com/pickple/server/api/moimsubmission/domain/AnswerInfo.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
package com.pickple.server.api.moimsubmission.domain; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
import jakarta.validation.constraints.Size; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class AnswerInfo { | ||
|
||
@Size(max = 200, message = "200자 이내로 작성해주세요.") | ||
@NotBlank(message = "답변이 비어있습니다.") | ||
private String answer1; | ||
|
||
@Size(max = 200, message = "200자 이내로 작성해주세요.") | ||
private String answer2; | ||
|
||
@Size(max = 200, message = "200자 이내로 작성해주세요.") | ||
private String answer3; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters