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:
14
dist/modules/findings/domain/events/FindingCreated.js
vendored
Normal file
14
dist/modules/findings/domain/events/FindingCreated.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FindingCreated = void 0;
|
||||
const crypto_1 = require("crypto");
|
||||
class FindingCreated {
|
||||
constructor(aggregateId, payload) {
|
||||
this.aggregateId = aggregateId;
|
||||
this.payload = payload;
|
||||
this.eventId = (0, crypto_1.randomUUID)();
|
||||
this.eventName = 'finding.created';
|
||||
this.occurredOn = new Date();
|
||||
}
|
||||
}
|
||||
exports.FindingCreated = FindingCreated;
|
||||
Reference in New Issue
Block a user