       sourceId: registration.id
       version: 3
     }
-


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

class @CustomerApp extends Space.Application

  RequiredModules: ['Space.cqrs']

  Dependencies:
    commandBus: 'Space.cqrs.CommandBus'
    eventBus: 'Space.cqrs.EventBus'
    commits: 'Space.cqrs.CommitCollection'
    configuration: 'Space.cqrs.Configuration'
    Mongo: 'Mongo'


class CustomerApp.RegistrationCompleted extends Space.cqrs.Event
  @type 'CustomerApp.RegistrationCompleted'

# -------------- AGGREGATES ---------------

class Customer extends Space.cqrs.AggregateRoot

