UNPKG

armisa-models

Version:
12 lines (11 loc) 511 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AmisaAttachedDatas = void 0; const AttachedData_1 = require("./AttachedData"); class AmisaAttachedDatas { constructor(attachedDataResponse, currentData) { this.currentData = currentData; this.attachedDatas = attachedDataResponse.map(i => new AttachedData_1.AttachedData(i.id || 0, i.nameData || '', i.nameSalMali || '', i.salMali || 0)); } } exports.AmisaAttachedDatas = AmisaAttachedDatas;