Skip to content

Commit

Permalink
refactor: 디폴트값 대입 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
limehee committed Jul 19, 2024
1 parent 0136dae commit 1e9fc6c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ public class JobPostingRequestDto {
@Schema(description = "공고명", example = "[네이버웹툰] Analytics Engineer(경력)", required = true)
private String title;

@Schema(description = "경력 수준", example = "EXPERIENCED", required = false)
@Schema(description = "경력 수준", example = "EXPERIENCED")
private CareerLevel careerLevel;

@Schema(description = "고용 형태", example = "FULL_TIME", required = false)
@Schema(description = "고용 형태", example = "FULL_TIME")
private EmploymentType employmentType;

@NotNull(message = "{notNull.jobPosting.companyName}")
@Schema(description = "기업명", example = "네이버", required = true)
private String companyName;

@Schema(description = "채용 기간", example = "2024.01.11 ~ 2024.01.28", required = false)
@Schema(description = "채용 기간", example = "2024.01.11 ~ 2024.01.28")
private String recruitmentPeriod;

@NotNull(message = "{notNull.jobPosting.jobPostingUrl}")
@Schema(description = "채용 공고 URL", example = "https://recruit.navercorp.com/rcrt/view.do?annoId=30001804&sw=&subJobCdArr=1010001%2C1010002%2C1010003%2C1010004%2C1010005%2C1010006%2C1010007%2C1010008%2C1010020%2C1020001%2C1030001%2C1030002%2C1040001%2C1050001%2C1050002%2C1060001&sysCompanyCdArr=&empTypeCdArr=&entTypeCdArr=&workAreaCdArr=", required = false)
@Schema(description = "채용 공고 URL", example = "https://recruit.navercorp.com/rcrt/view.do?annoId=30001804&sw=&subJobCdArr=1010001%2C1010002%2C1010003%2C1010004%2C1010005%2C1010006%2C1010007%2C1010008%2C1010020%2C1020001%2C1030001%2C1030002%2C1040001%2C1050001%2C1050002%2C1060001&sysCompanyCdArr=&empTypeCdArr=&entTypeCdArr=&workAreaCdArr=")
private String jobPostingUrl;

public static JobPosting toEntity(JobPostingRequestDto requestDto) {
Expand Down

0 comments on commit 1e9fc6c

Please sign in to comment.