diff --git a/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/UserVO/UserSummary.java b/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/UserVO/UserSummary.java new file mode 100644 index 0000000..1ab9544 --- /dev/null +++ b/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/UserVO/UserSummary.java @@ -0,0 +1,46 @@ +package com.codesquad.issuetracker.ragdoll.dto.UserVO; + +public class UserSummary { + + private Long userId; + + private String userName; + + private String avatarUrl; + + public UserSummary() {} + + private UserSummary(Long userId, String userName, String avatarUrl) { + this.userId = userId; + this.userName = userName; + this.avatarUrl = avatarUrl; + } + + public static UserSummary create(Long userId, String userName, String avatarUrl) { + return new UserSummary(userId, userName, avatarUrl); + } + + public Long getUserId() { + return userId; + } + + public void setUserId(Long userId) { + this.userId = userId; + } + + public String getUserName() { + return userName; + } + + public void setUserName(String userName) { + this.userName = userName; + } + + public String getAvatarUrl() { + return avatarUrl; + } + + public void setAvatarUrl(String avatarUrl) { + this.avatarUrl = avatarUrl; + } +} diff --git a/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/labelVO/LabelDetails.java b/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/labelVO/LabelDetails.java new file mode 100644 index 0000000..78363ec --- /dev/null +++ b/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/labelVO/LabelDetails.java @@ -0,0 +1,46 @@ +package com.codesquad.issuetracker.ragdoll.dto.labelVO; + +public class LabelDetails { + + private Integer labelId; + + private String labelName; + + private String hexCode; + + public LabelDetails() {} + + private LabelDetails(Integer labelId, String labelName, String hexCode) { + this.labelId = labelId; + this.labelName = labelName; + this.hexCode = hexCode; + } + + public static LabelDetails create(Integer labelId, String labelName, String hexCode) { + return new LabelDetails(labelId, labelName, hexCode); + } + + public Integer getLabelId() { + return labelId; + } + + public void setLabelId(Integer labelId) { + this.labelId = labelId; + } + + public String getLabelName() { + return labelName; + } + + public void setLabelName(String labelName) { + this.labelName = labelName; + } + + public String getHexCode() { + return hexCode; + } + + public void setHexCode(String hexCode) { + this.hexCode = hexCode; + } +} diff --git a/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/milestoneVO/MilestoneSummary.java b/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/milestoneVO/MilestoneSummary.java new file mode 100644 index 0000000..38276f7 --- /dev/null +++ b/BE/src/main/java/com/codesquad/issuetracker/ragdoll/dto/milestoneVO/MilestoneSummary.java @@ -0,0 +1,35 @@ +package com.codesquad.issuetracker.ragdoll.dto.milestoneVO; + +public class MilestoneSummary { + + private Integer milestoneId; + + private String milestoneTitle; + + public MilestoneSummary() {} + + public MilestoneSummary(Integer milestoneId, String milestoneTitle) { + this.milestoneId = milestoneId; + this.milestoneTitle = milestoneTitle; + } + + public static MilestoneSummary create(Integer milestoneId, String milestoneTitle) { + return new MilestoneSummary(milestoneId, milestoneTitle); + } + + public Integer getMilestoneId() { + return milestoneId; + } + + public void setMilestoneId(Integer milestoneId) { + this.milestoneId = milestoneId; + } + + public String getMilestoneTitle() { + return milestoneTitle; + } + + public void setMilestoneTitle(String milestoneTitle) { + this.milestoneTitle = milestoneTitle; + } +}