HRM-10/HRM.UI/ClientApp/src/app/_models/Attendance/workPlanGroup.js
Mohaimen Hasan 838b8d4480 first commit
2026-11-03 13:06:00 +06:00

44 lines
1.9 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.WorkPlanGroup = void 0;
var enums_1 = require("../enums");
var baseObject_1 = require("../Basic/baseObject");
var WorkPlanGroup = /** @class */ (function (_super) {
__extends(WorkPlanGroup, _super);
function WorkPlanGroup() {
var _this = _super.call(this) || this;
_this.name = '';
_this.type = enums_1.EnumWorkPlanGroup.Fixed;
_this.initialShiftID = undefined;
_this.saturdayShiftID = undefined;
_this.sundayShiftID = undefined;
_this.mondayShiftID = undefined;
_this.tuesdayShiftID = undefined;
_this.wednesdayShiftID = undefined;
_this.thursdayShiftID = undefined;
_this.fridayShiftID = undefined;
_this.holidayOne = enums_1.HolidayDayOfWeek.None;
_this.holidayTwo = enums_1.HolidayDayOfWeek.None;
_this.workPlanGroupType = enums_1.EnumWorkPlanGroup.Fixed;
_this.hasTwoHolidays = true;
return _this;
}
return WorkPlanGroup;
}(baseObject_1.BaseObject));
exports.WorkPlanGroup = WorkPlanGroup;
//# sourceMappingURL=workPlanGroup.js.map