Last active
August 23, 2018 03:40
-
-
Save jaocamp/5a501b694b5565755798fe2022728b77 to your computer and use it in GitHub Desktop.
CQRS e Event Sourcing com Axon Framework e Spring Boot - BankAccount.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.model; | |
import lombok.AllArgsConstructor; | |
import lombok.Getter; | |
import lombok.NoArgsConstructor; | |
import lombok.Setter; | |
import javax.persistence.Entity; | |
import javax.persistence.Id; | |
import java.math.BigDecimal; | |
@Entity | |
@Setter | |
@Getter | |
@NoArgsConstructor | |
@AllArgsConstructor | |
public class BankAccount { | |
@Id | |
private String id; | |
private String name; | |
private BigDecimal balance; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment