-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DDING-000] ClubMember 도메인 패키지 분리 (#140)
- Loading branch information
Showing
20 changed files
with
122 additions
and
193 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
71 changes: 0 additions & 71 deletions
71
src/main/generated/ddingdong/ddingdongBE/domain/club/entity/QClubMember.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
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: 1 addition & 1 deletion
2
...in/java/ddingdong/ddingdongBE/domain/club/controller/dto/response/ClubMemberResponse.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
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
20 changes: 0 additions & 20 deletions
20
src/main/java/ddingdong/ddingdongBE/domain/club/repository/ClubMemberRepository.java
This file was deleted.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
...dongBE/domain/club/entity/ClubMember.java → .../domain/clubmember/entity/ClubMember.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
8 changes: 8 additions & 0 deletions
8
src/main/java/ddingdong/ddingdongBE/domain/clubmember/repository/ClubMemberRepository.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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package ddingdong.ddingdongBE.domain.clubmember.repository; | ||
|
||
import ddingdong.ddingdongBE.domain.clubmember.entity.ClubMember; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface ClubMemberRepository extends JpaRepository<ClubMember, Long> { | ||
|
||
} |
13 changes: 13 additions & 0 deletions
13
src/main/java/ddingdong/ddingdongBE/domain/clubmember/service/ClubMemberService.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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package ddingdong.ddingdongBE.domain.clubmember.service; | ||
|
||
import ddingdong.ddingdongBE.domain.clubmember.entity.ClubMember; | ||
import java.util.List; | ||
|
||
public interface ClubMemberService { | ||
|
||
ClubMember getById(Long clubMemberId); | ||
|
||
void saveAll(List<ClubMember> clubMembers); | ||
|
||
void deleteAll(List<ClubMember> clubMembers); | ||
} |
14 changes: 14 additions & 0 deletions
14
src/main/java/ddingdong/ddingdongBE/domain/clubmember/service/FacadeClubMemberService.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package ddingdong.ddingdongBE.domain.clubmember.service; | ||
|
||
import ddingdong.ddingdongBE.domain.clubmember.service.dto.command.UpdateClubMemberCommand; | ||
import ddingdong.ddingdongBE.domain.clubmember.service.dto.command.UpdateClubMemberListCommand; | ||
|
||
public interface FacadeClubMemberService { | ||
|
||
byte[] getClubMemberListFile(Long userId); | ||
|
||
void updateMemberList(UpdateClubMemberListCommand command); | ||
|
||
void update(UpdateClubMemberCommand updateClubMemberCommand); | ||
|
||
} |
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
15 changes: 10 additions & 5 deletions
15
...omain/club/service/ClubMemberService.java → ...ber/service/GeneralClubMemberService.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: 3 additions & 2 deletions
5
.../service/dto/UpdateClubMemberCommand.java → .../dto/command/UpdateClubMemberCommand.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
12 changes: 12 additions & 0 deletions
12
...ngdong/ddingdongBE/domain/clubmember/service/dto/command/UpdateClubMemberListCommand.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package ddingdong.ddingdongBE.domain.clubmember.service.dto.command; | ||
|
||
import lombok.Builder; | ||
import org.springframework.web.multipart.MultipartFile; | ||
|
||
@Builder | ||
public record UpdateClubMemberListCommand( | ||
Long userId, | ||
MultipartFile clubMemberListFile | ||
) { | ||
|
||
} |
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
Oops, something went wrong.