UNPKG

bitfront-library

Version:

Angular CLI project with components and classes used by other Angular projects of the BIT foundation.

38 lines 1.51 kB
"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) { 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.Fichero = void 0; var item_1 = require("./item"); var Fichero = /** @class */ (function (_super) { __extends(Fichero, _super); function Fichero(id, nombre, fileName, mimeType, tamano, fechaModificacion, tipoFichero, observaciones) { var _this = _super.call(this, id) || this; _this.id = id; _this.nombre = nombre; _this.fileName = fileName; _this.mimeType = mimeType; _this.tamano = tamano; _this.fechaModificacion = fechaModificacion; _this.tipoFichero = tipoFichero; _this.observaciones = observaciones; return _this; } Fichero.newObject = function () { return new Fichero(null, "", "", "", 0, "", null, ""); }; return Fichero; }(item_1.Item)); exports.Fichero = Fichero; //# sourceMappingURL=fichero.js.map