fase(15): reporting module with pdf generation
This commit is contained in:
9
src/modules/reporting/domain/events/ReportFailed.ts
Normal file
9
src/modules/reporting/domain/events/ReportFailed.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { randomUUID } from 'crypto';
|
||||
import { DomainEvent } from '../../../../shared/domain/DomainEvent';
|
||||
|
||||
export class ReportFailed implements DomainEvent {
|
||||
readonly eventId = randomUUID();
|
||||
readonly eventName = 'reporting.report_failed';
|
||||
readonly occurredOn = new Date();
|
||||
constructor(readonly aggregateId: string, readonly payload: Record<string, unknown>) {}
|
||||
}
|
||||
Reference in New Issue
Block a user