cloud-ide-lms-model
Version:
Package for Model management of Cloud IDEsys LMS
41 lines (40 loc) • 1.23 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MAppPlatformLinkInsertUpdatePayload = exports.MAppPlatformLinkGetByIdPayload = exports.MAppPlatformLink = void 0;
const common_1 = require("../../common-types/common");
/* INTERFACE END */
/* MODEL START */
class MAppPlatformLink extends common_1.MTableQueries {
constructor(init) {
super(init);
Object.assign(this, init);
}
Validate() {
let errorLogger = {};
return errorLogger;
}
}
exports.MAppPlatformLink = MAppPlatformLink;
class MAppPlatformLinkGetByIdPayload {
constructor(init) {
Object.assign(this, init);
}
Validate() {
let errorLogger = {};
if (!this.applink_id && !this._id) {
errorLogger.applink_id = "App Platform Link ID is Required!";
}
return errorLogger;
}
}
exports.MAppPlatformLinkGetByIdPayload = MAppPlatformLinkGetByIdPayload;
class MAppPlatformLinkInsertUpdatePayload {
constructor(init) {
Object.assign(this, init);
}
Validate() {
let errorLogger = {};
return errorLogger;
}
}
exports.MAppPlatformLinkInsertUpdatePayload = MAppPlatformLinkInsertUpdatePayload;