UNPKG

cloud-ide-lms-model

Version:

Package for Model management of Cloud IDEsys LMS

44 lines (43 loc) 1.22 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.MEmailLogResendPayload = exports.MEmailLogGetByIdPayload = exports.MEmailLog = void 0; const common_1 = require("../../common-types/common"); /* INTERFACE END */ /* MODEL START */ class MEmailLog extends common_1.MTableQueries { constructor(init) { super(init); Object.assign(this, init); } Validate() { let errorLogger = {}; return errorLogger; } } exports.MEmailLog = MEmailLog; class MEmailLogGetByIdPayload { constructor(init) { Object.assign(this, init); } Validate() { let errorLogger = {}; if (!this.elog_id && !this._id) { errorLogger.elog_id = "Email Log ID is Required!"; } return errorLogger; } } exports.MEmailLogGetByIdPayload = MEmailLogGetByIdPayload; class MEmailLogResendPayload { constructor(init) { Object.assign(this, init); } Validate() { let errorLogger = {}; if (!this.elog_id && !this._id) { errorLogger.elog_id = "Email Log ID is Required!"; } return errorLogger; } } exports.MEmailLogResendPayload = MEmailLogResendPayload;