-
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.
[BE/#33] Feat : 이슈 Labels 추가 / 수정 API 구현
- Loading branch information
Showing
6 changed files
with
70 additions
and
7 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
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
34 changes: 34 additions & 0 deletions
34
BE/src/main/java/com/codesquad/issuetracker/hamill/dto/request/UpdateAttachedLabelsDto.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,34 @@ | ||
package com.codesquad.issuetracker.hamill.dto.request; | ||
|
||
import java.util.List; | ||
|
||
public class UpdateAttachedLabelsDto { | ||
|
||
private Long userId; | ||
|
||
private List<Integer> addedLabelsId; | ||
|
||
private List<Integer> deletedLabelsId; | ||
|
||
private UpdateAttachedLabelsDto(Long userId, List<Integer> addedLabelsId, List<Integer> deletedLabelsId) { | ||
this.userId = userId; | ||
this.addedLabelsId = addedLabelsId; | ||
this.deletedLabelsId = deletedLabelsId; | ||
} | ||
|
||
public static UpdateAttachedLabelsDto of(Long userId, List<Integer> addedLabelsId, List<Integer> deletedLabelsId) { | ||
return new UpdateAttachedLabelsDto(userId, addedLabelsId, deletedLabelsId); | ||
} | ||
|
||
public Long getUserId() { | ||
return userId; | ||
} | ||
|
||
public List<Integer> getAddedLabelsId() { | ||
return addedLabelsId; | ||
} | ||
|
||
public List<Integer> getDeletedLabelsId() { | ||
return deletedLabelsId; | ||
} | ||
} |
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