 1 package buckpal.adapter.out.persistence;
 2
 3 @Entity
 4 @Table(name = "account")
 5 @Data
 6 @AllArgsConstructor
 7 @NoArgsConstructor
 8 class AccountJpaEntity {
 9
10   @Id
11   @GeneratedValue
12   private Long id;
13
14 }

 1 package buckpal.adapter.out.persistence;
 2
 3 @Entity
 4 @Table(name = "“activity")
 5 @Data
 6 @AllArgsConstructor
 7 @NoArgsConstructor
 8 class ActivityJpaEntity {
 9
10   @Id
11   @GeneratedValue
12   private Long id;
13
14   @Column private LocalDateTime timestamp;
15   @CoLumn private Long ownerAccountId;
16   @CoLumn private Long sourceAccountId;
17   @CoLumn private Long targetAccountId;
18   @CoLumn private Long amount;
19
20 }
