This repository has been archived by the owner on Jul 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
학교 정보 입력 기능 개발 (#61) #62
Merged
Merged
Changes from 13 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
a26c736
[Feat] 학교 정보 저장 Entity 추가
yejin-e 9c2d6c9
[Feat] 학교 정보 추가 Request DTO 추가
yejin-e f3d0884
[Feat] SchoolInformation Service 추가
yejin-e 0339eb0
[Edit] 메서드 명 변경
yejin-e 6e89e1c
[Fix] 회원가입(Create) 시 JWT 발급 처리
yejin-e 1328038
[Fix] Return 타입을 object로 변경
yejin-e e75994c
[Remove] 테스트코드 삭제
yejin-e d20edde
[Feat] SchoolInformation Controller 추가
yejin-e 1c2759b
Merge branch 'feature/return-jwt-at-user-creating' into feature/add-s…
yejin-e afc42ed
[Feat] AddSchoolInfo에 id 추가
yejin-e 6a25271
[Style] 코드 줄 바꿈
yejin-e 12f1bca
[Delete] 주석 제거
yejin-e f8068ab
[Style] Auto dotnet format
yejun614 c54847a
[Edit] AddSchoolInfo 메서드의 리턴 타입 수정
yejin-e d9bd58c
Merge branch 'develop' into feature/add-school-info
yejin-e 01c7888
[Style] Auto dotnet format
yejun614 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace server.DTOs; | ||
|
||
public class CreateSchoolRequest | ||
{ | ||
[Required] | ||
public string School { get; set; } | ||
|
||
[Required] | ||
public string Department { get; set; } | ||
|
||
[Required] | ||
public string State { get; set; } | ||
|
||
public int? Grade { get; set; } | ||
} |
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
|
||
namespace server.Entities | ||
{ | ||
public class SchoolInformationEntity : BaseEntity | ||
{ | ||
[Required] | ||
public long User { get; set; } | ||
|
||
[Required] | ||
public string School { get; set; } | ||
|
||
[Required] | ||
public string Department { get; set; } | ||
|
||
[Required] | ||
public string State { get; set; } | ||
|
||
public int? Grade { get; set; } | ||
|
||
} | ||
} |
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 |
---|---|---|
|
@@ -4,6 +4,8 @@ namespace server.Interface; | |
|
||
interface IUserService | ||
{ | ||
public Task<bool> Create(CreateUserRequest body); | ||
public Task<AuthResponse> Create(CreateUserRequest body); | ||
public Task<bool> AddSchoolInfo(long id, CreateSchoolRequest body); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 확인필요7라인과 유사합니다 |
||
|
||
} | ||
|
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인필요
Interface 상의 Return Type은 Task이나, 구현된 Controller에서는 Task<ActionResult> 입니다.