hravemzdy.procezor
Version:
payroll-procezor Salary, Health, Social, Taxing Properties for years 2010-2022
38 lines • 1.45 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ArticleSpec = void 0;
var ArticleCode_1 = require("../service_types/ArticleCode");
var ArticleDafine_1 = require("../service_types/ArticleDafine");
var ArticleTerm_1 = require("../service_types/ArticleTerm");
var ArticleSpec = /** @class */ (function () {
function ArticleSpec(_code, _seqs, _role, _sums) {
this.code = _code;
this.seqs = _seqs;
this.role = _role;
this.sums = Array.from(_sums);
}
ArticleSpec.prototype.Code = function () {
return this.code;
};
ArticleSpec.prototype.Seqs = function () {
return this.seqs;
};
ArticleSpec.prototype.Role = function () {
return this.role;
};
ArticleSpec.prototype.term = function () {
return new ArticleTerm_1.ArticleTerm(this.code, this.seqs);
};
ArticleSpec.prototype.defs = function () {
return new ArticleDafine_1.ArticleDefine(this.code, this.seqs, this.role);
};
ArticleSpec.constToSumsArray = function (_codes) {
return Array.from(_codes).map(function (x) { return ArticleCode_1.ArticleCode.get(x); });
};
ArticleSpec.specsToSumsArray = function (_codes) {
return Array.from(_codes).map(function (x) { return ArticleCode_1.ArticleCode.get(x.value); });
};
return ArticleSpec;
}());
exports.ArticleSpec = ArticleSpec;
//# sourceMappingURL=ArticleSpec.js.map