-
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.
Merge pull request #61 from gutanbug/dev
feat #38 : 관리자 권한의 미승인 인증글 조회 기능 추가
- Loading branch information
Showing
9 changed files
with
112 additions
and
20 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
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
27 changes: 27 additions & 0 deletions
27
...a/com/renew/sw/mentoring/domain/post/model/entity/dto/list/SummarizedMissionBoardDto.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,27 @@ | ||
package com.renew.sw.mentoring.domain.post.model.entity.dto.list; | ||
|
||
import com.renew.sw.mentoring.domain.post.model.entity.RegisterStatus; | ||
import com.renew.sw.mentoring.domain.post.model.entity.type.MissionBoard; | ||
import com.renew.sw.mentoring.infra.s3.service.AWSObjectStorageService; | ||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
public class SummarizedMissionBoardDto extends SummarizedGenericPostDto { | ||
|
||
@Schema(description = "미션 아이디", example = "1") | ||
private final Long missionId; | ||
|
||
@Schema(description = "보너스 미션 성공 여부", example = "false") | ||
private final boolean isBonusMissionSuccessful; | ||
|
||
@Schema(description = "등록 상태", example = "IN_PROGRESS") | ||
private final RegisterStatus registerStatus; | ||
|
||
public SummarizedMissionBoardDto(AWSObjectStorageService s3service, int bodySize, MissionBoard missionBoard) { | ||
super(s3service, bodySize, missionBoard); | ||
this.missionId = missionBoard.getMissionId(); | ||
this.isBonusMissionSuccessful = missionBoard.isBonusMissionSuccessful(); | ||
this.registerStatus = missionBoard.getRegisterStatus(); | ||
} | ||
} |
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