-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into feat/#21-applying
- Loading branch information
Showing
8 changed files
with
160 additions
and
36 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
4 changes: 1 addition & 3 deletions
4
.../rcp1/domain/recruitment/dto/PostDTO.java → ...p1/domain/recruitment/dto/PostReqDTO.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
43 changes: 43 additions & 0 deletions
43
src/main/java/com/example/rcp1/domain/recruitment/dto/PostResDTO.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,43 @@ | ||
package com.example.rcp1.domain.recruitment.dto; | ||
|
||
import jakarta.validation.constraints.Min; | ||
import jakarta.validation.constraints.NotBlank; | ||
import lombok.Data; | ||
|
||
import java.time.LocalDate; | ||
import java.util.HashSet; | ||
import java.util.Set; | ||
|
||
@Data | ||
public class PostResDTO { //반환용 DTO | ||
@NotBlank | ||
private Long id; | ||
|
||
@NotBlank | ||
private Long userId; | ||
|
||
@NotBlank | ||
private String title; | ||
|
||
@NotBlank | ||
private String company_photo_url; | ||
|
||
@Min(0) | ||
private int compensation_recommender = 0; | ||
|
||
@Min(0) | ||
private int compensation_applicant = 0; | ||
|
||
private LocalDate dueDate; | ||
|
||
@Min(0) | ||
private int heart = 0; | ||
|
||
@NotBlank | ||
private String content; | ||
|
||
@NotBlank | ||
private String working_address; | ||
|
||
Set<FieldDTO> fields = new HashSet<>(); | ||
} |
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