import { Entity } from "./entity"; export class Terminal extends Entity { public _id: string; public nome: string; public serie: string; constructor(json?: any, generateId?: boolean) { super(json, generateId); this.nome = json && json.nome; this.serie = json && json.serie; } public toJson(): any { return { _id: this._id, nome: this.nome, serie: this.serie } } }