UNPKG

scheunemann-interfaces

Version:
24 lines (23 loc) 841 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.InvoiceSettingsEntity = void 0; var global_settings_type_enum_1 = require("../enums/global-settings-type.enum"); var InvoiceSettingsEntity = /** @class */ (function () { function InvoiceSettingsEntity(data) { this.active = true; this.billingDays = 6; this.createdAt = new Date(); this.id = ''; this.type = global_settings_type_enum_1.EGlobalSettingsType.INVOICE_CONFIG; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return InvoiceSettingsEntity; }()); exports.InvoiceSettingsEntity = InvoiceSettingsEntity;