Last active
August 23, 2018 03:46
-
-
Save jaocamp/fae378ee964b9ad594d5d9700589de0d to your computer and use it in GitHub Desktop.
CQRS e Event Sourcing com Axon Framework e Spring Boot - UpdateBalanceBankAccountCommand.java
This file contains hidden or 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
package br.com.coderef.command; | |
import lombok.AllArgsConstructor; | |
import lombok.Getter; | |
import lombok.ToString; | |
import org.axonframework.commandhandling.TargetAggregateIdentifier; | |
import java.math.BigDecimal; | |
@Getter | |
@ToString | |
@AllArgsConstructor | |
public class UpdateBalanceBankAccountCommand { | |
@TargetAggregateIdentifier | |
private String bankId; | |
private BigDecimal balance; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment