40 lines
1.6 KiB
JavaScript
40 lines
1.6 KiB
JavaScript
|
|
"use strict";
|
||
|
|
var __extends = (this && this.__extends) || (function () {
|
||
|
|
var extendStatics = function (d, b) {
|
||
|
|
extendStatics = Object.setPrototypeOf ||
|
||
|
|
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
||
|
|
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
||
|
|
return extendStatics(d, b);
|
||
|
|
};
|
||
|
|
return function (d, b) {
|
||
|
|
if (typeof b !== "function" && b !== null)
|
||
|
|
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
||
|
|
extendStatics(d, b);
|
||
|
|
function __() { this.constructor = d; }
|
||
|
|
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
||
|
|
};
|
||
|
|
})();
|
||
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
|
exports.Lessons = void 0;
|
||
|
|
var baseObject_1 = require("../Basic/baseObject");
|
||
|
|
var enums_1 = require("../enums");
|
||
|
|
var Lessons = /** @class */ (function (_super) {
|
||
|
|
__extends(Lessons, _super);
|
||
|
|
function Lessons() {
|
||
|
|
var _this = _super.call(this) || this;
|
||
|
|
_this.lessonContents = [];
|
||
|
|
_this.courseID = 0;
|
||
|
|
_this.lessonTitle = "";
|
||
|
|
_this.lessonNo = "";
|
||
|
|
_this.description = "";
|
||
|
|
_this.duration = "";
|
||
|
|
_this.difficultyLevel = enums_1.EnumDifficultyLevel.Beginner;
|
||
|
|
_this.isQuizAvailable = false;
|
||
|
|
_this.status = enums_1.EnumStatus.Active;
|
||
|
|
_this.lessonContents = [];
|
||
|
|
return _this;
|
||
|
|
}
|
||
|
|
return Lessons;
|
||
|
|
}(baseObject_1.BaseObject));
|
||
|
|
exports.Lessons = Lessons;
|
||
|
|
//# sourceMappingURL=lessons.js.map
|