This repository has been archived by the owner on Oct 20, 2024. It is now read-only.
-
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 #63 from FinFellows/develop
[FEAT]: 정책 삭제/수정 API 구현 (#62)
- Loading branch information
Showing
6 changed files
with
133 additions
and
1 deletion.
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
46 changes: 46 additions & 0 deletions
46
src/main/java/com/finfellows/domain/policyinfo/dto/PolicyUpdateReq.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,46 @@ | ||
package com.finfellows.domain.policyinfo.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class PolicyUpdateReq { | ||
|
||
@Schema(description = "정책 이름") | ||
private String polyBizSjNm; | ||
@Schema(description = "정책 한 줄 소개") | ||
private String polyItcnCn; | ||
@Schema(description = "정책 내용") | ||
private String sporCn; | ||
@Schema(description = "운영 기간") | ||
private String bizPrdCn; | ||
@Schema(description = "신청 기간") | ||
private String rqutPrdCn; | ||
@Schema(description = "지원 규모") | ||
private String sporScvl; | ||
@Schema(description = "연령") | ||
private String ageInfo; | ||
@Schema(description = "거주지 및 소득") | ||
private String prcpCn; | ||
@Schema(description = "학력") | ||
private String accrRqisCn; | ||
@Schema(description = "전공") | ||
private String majrRquisCn; | ||
@Schema(description = "취업 상태") | ||
private String empmSttsCn; | ||
@Schema(description = "특화 분야") | ||
private String spizRlmRqisCn; | ||
@Schema(description = "추가 단서 사항") | ||
private String aditRscn; | ||
@Schema(description = "참여 제한 대상") | ||
private String prcpLmttTrgtCn; | ||
@Schema(description = "신청 절차") | ||
private String rqutProcCn; | ||
@Schema(description = "심사 및 발표") | ||
private String jdgnPresCn; | ||
@Schema(description = "신청 사이트") | ||
private String rqutUrla; | ||
@Schema(description = "제출 서류") | ||
private String pstnPaprCn; | ||
|
||
} |
9 changes: 9 additions & 0 deletions
9
src/main/java/com/finfellows/domain/policyinfo/exception/InvalidPolicyInfoException.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,9 @@ | ||
package com.finfellows.domain.policyinfo.exception; | ||
|
||
public class InvalidPolicyInfoException extends RuntimeException { | ||
|
||
public InvalidPolicyInfoException() { | ||
super("정책 정보가 올바르지 않습니다."); | ||
} | ||
|
||
} |
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