UNPKG

armisa-models

Version:
24 lines (23 loc) 704 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ReportInfoing = void 0; class ReportInfoing { userLogin(reportInfos) { this.reportInfos = reportInfos.map(i => new ReportInfo(i.id, i.path, i.fileName, i.title)); } constructor(mainStateManager) { this.mainStateManager = mainStateManager; this.reportInfos = []; } } exports.ReportInfoing = ReportInfoing; class ReportInfo { constructor(id, path, fileName, title) { this.id = id; this.path = path; this.fileName = fileName; this.title = title; this.system = '02.Accounting'; this.type = 'report'; } }