import { PaymentProvider } from '@prisma/client'; import { DomainEvent } from '@modules/shared'; export class PaymentRefundedEvent implements DomainEvent { readonly eventName = 'payment.refunded'; readonly occurredAt = new Date(); constructor( public readonly aggregateId: string, public readonly userId: string, public readonly provider: PaymentProvider, public readonly amountVND: bigint, ) {} }