Skip to content

Commit

Permalink
fix: 챌린지 생성 api - 인증 미션 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
daeunkwak committed Jul 21, 2023
1 parent 9a82740 commit c74c695
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public class ChallengeCreateRequestDto {
@Schema(description = "챌린지 소개", example = "챌린지 소개~~", required=true)
private String challengeInfo;

@Schema(description = "챌린지 미션", example = "챌린지 인증 미션은 이러합니다", required=true)
private String certifyMission;

@Schema(description = "참여 정원", example = "15", required=true)
private Integer challengeCapacity;

Expand All @@ -38,6 +41,7 @@ public Challenge toEntity(){
.challengeBranch(challengeBranch)
.challengeName(challengeName)
.challengeInfo(challengeInfo)
.certifyMission(certifyMission)
.challengeCapacity(challengeCapacity)
.recruitPeriod(recruitPeriod)
.challengePeriod(challengePeriod * 7)
Expand Down

0 comments on commit c74c695

Please sign in to comment.