-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #260 from U2DJ2/backend-main
[BE] main branch 병합
- Loading branch information
Showing
91 changed files
with
794 additions
and
577 deletions.
There are no files selected for viewing
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
6 changes: 0 additions & 6 deletions
6
backend/src/main/java/moim_today/domain/moim/DisplayStatus.java
This file was deleted.
Oops, something went wrong.
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
12 changes: 10 additions & 2 deletions
12
backend/src/main/java/moim_today/dto/admin/auth/AdminLoginRequest.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,7 +1,15 @@ | ||
package moim_today.dto.admin.auth; | ||
|
||
import jakarta.validation.constraints.Min; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.ADMIN_PASSWORD_BLANK_ERROR; | ||
import static moim_today.global.constant.exception.ValidationExceptionConstant.UNIVERSITY_ID_MIN_ERROR; | ||
|
||
|
||
public record AdminLoginRequest( | ||
long universityId, | ||
String adminPassword | ||
@Min(value = 0, message = UNIVERSITY_ID_MIN_ERROR) long universityId, | ||
@NotBlank(message = ADMIN_PASSWORD_BLANK_ERROR) String adminPassword | ||
) { | ||
|
||
} |
6 changes: 5 additions & 1 deletion
6
backend/src/main/java/moim_today/dto/admin/user_inquiry/UserInquiryAnswerRequest.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,10 +1,14 @@ | ||
package moim_today.dto.admin.user_inquiry; | ||
|
||
import jakarta.validation.constraints.Min; | ||
import lombok.Builder; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.USER_INQUIRY_ID_MIN_ERROR; | ||
|
||
@Builder | ||
public record UserInquiryAnswerRequest( | ||
long userInquiryId, | ||
@Min(value = 0, message = USER_INQUIRY_ID_MIN_ERROR) long userInquiryId, | ||
boolean answerComplete | ||
) { | ||
|
||
} |
8 changes: 6 additions & 2 deletions
8
backend/src/main/java/moim_today/dto/admin/user_inquiry/UserInquiryRequest.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
11 changes: 7 additions & 4 deletions
11
backend/src/main/java/moim_today/dto/admin/user_inquiry/UserInquiryRespondRequest.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
10 changes: 8 additions & 2 deletions
10
backend/src/main/java/moim_today/dto/auth/MemberLoginRequest.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,8 +1,14 @@ | ||
package moim_today.dto.auth; | ||
|
||
import jakarta.validation.constraints.Email; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.*; | ||
|
||
public record MemberLoginRequest( | ||
String email, | ||
String password, | ||
@Email(message = EMAIL_INVALID_ERROR) @NotBlank(message = EMAIL_BLANK_ERROR) String email, | ||
@NotBlank(message = MEMBER_PASSWORD_BLANK_ERROR) String password, | ||
boolean isKeepLogin | ||
) { | ||
|
||
} |
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
9 changes: 8 additions & 1 deletion
9
backend/src/main/java/moim_today/dto/certification/CompleteEmailCertificationRequest.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,6 +1,13 @@ | ||
package moim_today.dto.certification; | ||
|
||
import jakarta.validation.constraints.Email; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.EMAIL_BLANK_ERROR; | ||
import static moim_today.global.constant.exception.ValidationExceptionConstant.EMAIL_INVALID_ERROR; | ||
|
||
public record CompleteEmailCertificationRequest( | ||
String email | ||
@Email(message = EMAIL_INVALID_ERROR) @NotBlank(message = EMAIL_BLANK_ERROR) String email | ||
) { | ||
|
||
} |
9 changes: 8 additions & 1 deletion
9
backend/src/main/java/moim_today/dto/certification/EmailCertificationRequest.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,6 +1,13 @@ | ||
package moim_today.dto.certification; | ||
|
||
import jakarta.validation.constraints.Email; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.EMAIL_BLANK_ERROR; | ||
import static moim_today.global.constant.exception.ValidationExceptionConstant.EMAIL_INVALID_ERROR; | ||
|
||
public record EmailCertificationRequest( | ||
String email | ||
@Email(message = EMAIL_INVALID_ERROR) @NotBlank(message = EMAIL_BLANK_ERROR) String email | ||
) { | ||
|
||
} |
9 changes: 8 additions & 1 deletion
9
backend/src/main/java/moim_today/dto/certification/PasswordFindRequest.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,6 +1,13 @@ | ||
package moim_today.dto.certification; | ||
|
||
import jakarta.validation.constraints.Email; | ||
import jakarta.validation.constraints.NotBlank; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.EMAIL_BLANK_ERROR; | ||
import static moim_today.global.constant.exception.ValidationExceptionConstant.EMAIL_INVALID_ERROR; | ||
|
||
public record PasswordFindRequest( | ||
String email | ||
@Email(message = EMAIL_INVALID_ERROR) @NotBlank(message = EMAIL_BLANK_ERROR) String email | ||
) { | ||
|
||
} |
9 changes: 7 additions & 2 deletions
9
backend/src/main/java/moim_today/dto/department/AddDepartmentRequest.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
11 changes: 8 additions & 3 deletions
11
backend/src/main/java/moim_today/dto/department/ApproveRequestDepartmentRequest.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,11 +1,16 @@ | ||
package moim_today.dto.department; | ||
|
||
import jakarta.validation.constraints.Min; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.Builder; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.*; | ||
|
||
@Builder | ||
public record ApproveRequestDepartmentRequest( | ||
long requestDepartmentId, | ||
long universityId, | ||
String requestDepartmentName | ||
@Min(value = 0, message = DEPARTMENT_ID_MIN_ERROR) long requestDepartmentId, | ||
@Min(value = 0, message = UNIVERSITY_ID_MIN_ERROR) long universityId, | ||
@NotBlank(message = DEPARTMENT_NAME_BLANK_ERROR) String requestDepartmentName | ||
) { | ||
|
||
} |
10 changes: 8 additions & 2 deletions
10
backend/src/main/java/moim_today/dto/file/FileDeleteRequest.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,7 +1,13 @@ | ||
package moim_today.dto.file; | ||
|
||
import jakarta.validation.constraints.NotBlank; | ||
|
||
import static moim_today.global.constant.exception.ValidationExceptionConstant.FILENAME_BLANK_ERROR; | ||
import static moim_today.global.constant.exception.ValidationExceptionConstant.UPLOAD_FILE_PATH_BLANK_ERROR; | ||
|
||
public record FileDeleteRequest( | ||
String uploadFilePath, | ||
String fileName | ||
@NotBlank(message = UPLOAD_FILE_PATH_BLANK_ERROR) String uploadFilePath, | ||
@NotBlank(message = FILENAME_BLANK_ERROR) String fileName | ||
) { | ||
|
||
} |
Oops, something went wrong.