-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: 3juhwan <[email protected]> Co-authored-by: Arachneee <[email protected]> Co-authored-by: kunsanglee <[email protected]>
- Loading branch information
1 parent
f75a7c9
commit e872df8
Showing
34 changed files
with
458 additions
and
559 deletions.
There are no files selected for viewing
39 changes: 0 additions & 39 deletions
39
server/src/main/java/server/haengdong/application/ActionService.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
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
7 changes: 4 additions & 3 deletions
7
server/src/main/java/server/haengdong/application/request/BillActionAppRequest.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,16 @@ | ||
package server.haengdong.application.request; | ||
|
||
import server.haengdong.domain.action.Action; | ||
import server.haengdong.domain.action.BillAction; | ||
import server.haengdong.domain.action.CurrentMembers; | ||
import server.haengdong.domain.action.Sequence; | ||
import server.haengdong.domain.event.Event; | ||
|
||
public record BillActionAppRequest( | ||
String title, | ||
Long price | ||
) { | ||
|
||
public BillAction toBillAction(Action action, CurrentMembers currentMembers) { | ||
return BillAction.create(action, title, price, currentMembers); | ||
public BillAction toBillAction(Event event, Sequence sequence, CurrentMembers currentMembers) { | ||
return BillAction.create(event, sequence, title, price, currentMembers); | ||
} | ||
} |
Oops, something went wrong.