Skip to content

Commit

Permalink
adding aggregates
Browse files Browse the repository at this point in the history
  • Loading branch information
michaellif committed Mar 26, 2021
1 parent 8260109 commit 58142ca
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package digital.capsa.core.aggregate

abstract class Aggregate<T : AggregateId> {

abstract var id: T

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package digital.capsa.core.aggregate

import java.io.Serializable

interface AggregateId : Serializable

0 comments on commit 58142ca

Please sign in to comment.