-
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.
Merge pull request #48 from Likelion12/12-be-소셜링-상세-조회
Feat : 소셜링 상세 조회
- Loading branch information
Showing
6 changed files
with
132 additions
and
6 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
54 changes: 54 additions & 0 deletions
54
src/main/java/com/example/likelion12/dto/socialring/GetSocialringDetailResponse.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,54 @@ | ||
package com.example.likelion12.dto.socialring; | ||
|
||
import com.example.likelion12.domain.base.BaseGender; | ||
import com.example.likelion12.domain.base.BaseLevel; | ||
import com.example.likelion12.domain.base.BaseRole; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
import java.time.LocalDate; | ||
import java.util.List; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class GetSocialringDetailResponse { | ||
|
||
/** | ||
* 소셜링 상세 조회 response dto | ||
*/ | ||
private BaseRole memberRole; | ||
private String socialringName; | ||
private String socialringImg; | ||
private String activityRegionName; | ||
private String facilityName; | ||
private String exerciseName; | ||
private int totalRecruits; | ||
private LocalDate socialringDate; | ||
private int socialringCost; | ||
private String comment; | ||
private String commentSimple; | ||
private BaseGender gender; | ||
private BaseLevel level; | ||
private List<GetSocialringDetailResponse.Socialrings> members; | ||
private List<GetSocialringDetailResponse.Recommands> recommands; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public static class Socialrings { | ||
private String memberImg; | ||
} | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public static class Recommands{ | ||
private Long socialringId; | ||
private String socialringName; | ||
private String socialringImg; | ||
private String activityRegionName; | ||
private LocalDate socialringDate; | ||
private int socialringCost; | ||
private String commentSimple; | ||
private int currentRecruits; | ||
private int totalRecruits; | ||
} | ||
} |
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