-
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.
- Loading branch information
Showing
16 changed files
with
73 additions
and
159 deletions.
There are no files selected for viewing
10 changes: 6 additions & 4 deletions
10
jobis-application/src/main/java/team/retum/jobis/domain/bug/model/BugAttachment.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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
package team.retum.jobis.domain.bug.model; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Getter; | ||
import team.retum.jobis.common.annotation.Aggregate; | ||
|
||
@Getter | ||
@Builder | ||
@Aggregate | ||
@AllArgsConstructor | ||
public class BugAttachment { | ||
|
||
private final Long bugReportId; | ||
|
||
private final String attachmentUrl; | ||
|
||
public static BugAttachment of(String attachmentUrl) { | ||
return new BugAttachment(attachmentUrl); | ||
} | ||
} |
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
7 changes: 1 addition & 6 deletions
7
jobis-application/src/main/java/team/retum/jobis/domain/bug/spi/CommandBugReportPort.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 |
---|---|---|
@@ -1,13 +1,8 @@ | ||
package team.retum.jobis.domain.bug.spi; | ||
|
||
import team.retum.jobis.domain.bug.model.BugAttachment; | ||
import team.retum.jobis.domain.bug.model.BugReport; | ||
|
||
import java.util.List; | ||
|
||
public interface CommandBugReportPort { | ||
|
||
BugReport saveBugReport(BugReport bugReport); | ||
|
||
List<BugAttachment> saveAllBugAttachment(List<BugAttachment> bugAttachments); | ||
} | ||
} |
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
16 changes: 0 additions & 16 deletions
16
...ructure/src/main/java/team/retum/jobis/domain/bug/persistence/entity/BugAttachmentId.java
This file was deleted.
Oops, something went wrong.
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
28 changes: 0 additions & 28 deletions
28
...ure/src/main/java/team/retum/jobis/domain/bug/persistence/mapper/BugAttachmentMapper.java
This file was deleted.
Oops, something went wrong.
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
8 changes: 0 additions & 8 deletions
8
...n/java/team/retum/jobis/domain/bug/persistence/repository/BugAttachmentJpaRepository.java
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.