 class CustomerApp.RegistrationCompleted extends Space.cqrs.Event
   @type 'CustomerApp.RegistrationCompleted'
 
-# -------------- ENTITIES ---------------
+# -------------- AGGREGATES ---------------
 
 class Customer extends Space.cqrs.AggregateRoot
 

      sourceId: registration.id
      version: 3
    }



# ============== INTEGRATION SETUP =============== #

class CustomerApp extends Space.Application

  RequiredModules: ['Space.cqrs']

  Dependencies:
    eventBus: 'Space.cqrs.EventBus'
    configuration: 'Space.cqrs.Configuration'
    Mongo: 'Mongo'

