Skip to content

Commit

Permalink
πŸ‘” νšŒμ› νƒˆν‡΄ κΈ°λŠ₯(in port)(#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
jun108059 committed Jul 26, 2022
1 parent 3ece8a0 commit f30996c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package hexagonal.api.member.application.port.in;

import lombok.Getter;

@Getter
public class DeleteMemberCommand {

private final Long id;

public DeleteMemberCommand(Long id) {
// μ‘΄μž¬ν•˜λŠ” ID κ²€μ‚¬λŠ” μ–΄λ””μ„œ ν• κΉŒ
this.id = id;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package hexagonal.api.member.application.port.in;

public interface DeleteMemberUseCase {

Boolean deleteMember(DeleteMemberCommand command);
}

0 comments on commit f30996c

Please sign in to comment.