import { DomainEvent } from '../../../core/domain' ; import { BillDebtor } from '../model/bill-debtor' ; import { BillPayer } from '../model/bill-payer' ; export class BillWasCreated implements DomainEvent { constructor ( public readonly id , public readonly groupId , public readonly name , public readonly money , public readonly currencyCode , public readonly date , public readonly payers , public readonly debtors , public readonly creatorId ) { } }