Skip to content

Commit

Permalink
refactor: missing dto data fix
Browse files Browse the repository at this point in the history
  • Loading branch information
singsangssong committed Oct 17, 2024
1 parent 9576760 commit 9559b0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,18 @@ public class ProjectBriefDTO {
private String title;
private LocalDate start;
private LocalDate end;
private String description;
private String thumbnail;
private String devStatus;
private String devType;

@Builder
public ProjectBriefDTO(Long id, String title, LocalDate start, LocalDate end, String thumbnail, String devStatus, String devType) {
public ProjectBriefDTO(Long id, String title, LocalDate start, LocalDate end, String description, String thumbnail, String devStatus, String devType) {
this.id = id;
this.title = title;
this.start = start;
this.end = end;
this.description = description;
this.thumbnail = thumbnail;
this.devStatus = devStatus;
this.devType = devType;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public static ProjectBriefDTO entity2ProjectBriefDTO(Project project){
.title(project.getTitle())
.start(project.getStartDate())
.end(project.getEndDate())
.description(project.getDescription())
.thumbnail(project.getThumbnail())
.devStatus(project.getDevStatus())
.devType(project.getDevType())
Expand Down

0 comments on commit 9559b0c

Please sign in to comment.