UNPKG

scheunemann-interfaces

Version:
29 lines (28 loc) 990 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.EmailSettingsEntity = void 0; var global_settings_type_enum_1 = require("../enums/global-settings-type.enum"); var EmailSettingsEntity = /** @class */ (function () { function EmailSettingsEntity(data) { this.active = true; this.createdAt = new Date(); this.email = ''; this.id = ''; this.masterKey = 'master@ibchain.com'; this.pass = '47CaXFNqSkqPZXY'; this.service = 'outlook'; this.type = global_settings_type_enum_1.EGlobalSettingsType.EMAIL_DEFAULT; this.updatedAt = new Date(); this.host = ''; this.port = 0; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return EmailSettingsEntity; }()); exports.EmailSettingsEntity = EmailSettingsEntity;