fase(15): reporting module with pdf generation

This commit is contained in:
debian
2026-03-06 05:57:05 -05:00
parent 3ff36f0b6a
commit cffa1aeea9
64 changed files with 3462 additions and 87 deletions

View File

@@ -0,0 +1,14 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DateRange = void 0;
const ValueObject_1 = require("../../../../shared/domain/ValueObject");
class DateRange extends ValueObject_1.ValueObject {
get startDate() { return this.props.startDate; }
get endDate() { return this.props.endDate; }
static create(startDate, endDate) {
if (startDate > endDate)
throw new Error('startDate must be before endDate');
return new DateRange({ startDate, endDate });
}
}
exports.DateRange = DateRange;