Files
2026-03-08 05:49:00 -04:00

15 lines
479 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScheduleCreated = void 0;
const crypto_1 = require("crypto");
class ScheduleCreated {
constructor(aggregateId, payload) {
this.aggregateId = aggregateId;
this.payload = payload;
this.eventId = (0, crypto_1.randomUUID)();
this.eventName = 'scheduling.schedule_created';
this.occurredOn = new Date();
}
}
exports.ScheduleCreated = ScheduleCreated;