UNPKG

cecon-interfaces

Version:
27 lines (26 loc) 809 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioScheduleEntity = void 0; var PayioScheduleEntity = /** @class */ (function () { // #endregion Properties (7) // #region Constructors (1) function PayioScheduleEntity(data) { // #region Properties (7) this.active = true; this.createdAt = new Date(); this.days = []; this.id = ''; this.name = ''; this.products = []; this.updatedAt = new Date(); if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioScheduleEntity; }()); exports.PayioScheduleEntity = PayioScheduleEntity;