HRM-10/HRM.UI/ClientApp/src/app/_models/Basic/HrNotification.js

54 lines
2.2 KiB
JavaScript
Raw Normal View History

2026-11-03 13:06:00 +06:00
"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.HrNotificationEmployees = exports.HrNotification = void 0;
var baseObject_1 = require("./baseObject");
var enums_1 = require("../enums");
var HrNotification = /** @class */ (function (_super) {
__extends(HrNotification, _super);
function HrNotification() {
var _this = _super.call(this) || this;
_this.isSendToAll = true;
_this.hrNotificationEmployees = [];
_this.payrolltypeID = 0;
_this.fileType = enums_1.EnumFileType.Notification;
_this.entryDate = new Date();
_this.publishDate = new Date();
_this.publishEndDate = new Date();
_this.notificationText = "";
_this.notificationTextDetail = "";
_this.status = enums_1.EnumStatus.Active;
_this.notificationType = enums_1.EnumHrNotificationType.News;
return _this;
}
return HrNotification;
}(baseObject_1.BaseObject));
exports.HrNotification = HrNotification;
var HrNotificationEmployees = /** @class */ (function () {
function HrNotificationEmployees() {
this.id = 0;
this.hrNotificationId = 0;
this.employeeId = 0;
this.employeeNo = "";
this.name = "";
this.department = "";
this.designation = "";
}
return HrNotificationEmployees;
}());
exports.HrNotificationEmployees = HrNotificationEmployees;
//# sourceMappingURL=HrNotification.js.map