fase(5): findings module complete
Some checks failed
ABE Exploratory Testing / explore (push) Has been cancelled
Some checks failed
ABE Exploratory Testing / explore (push) Has been cancelled
This commit is contained in:
13
src/modules/findings/domain/events/FindingResolved.ts
Normal file
13
src/modules/findings/domain/events/FindingResolved.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { randomUUID } from 'crypto';
|
||||
import { DomainEvent } from '../../../../shared/domain/DomainEvent';
|
||||
|
||||
export class FindingResolved implements DomainEvent {
|
||||
readonly eventId = randomUUID();
|
||||
readonly eventName = 'finding.resolved';
|
||||
readonly occurredOn = new Date();
|
||||
|
||||
constructor(
|
||||
readonly aggregateId: string,
|
||||
readonly payload: Record<string, unknown>
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user