src/app/models/vehicle.model.ts
Oggetto del mapping del veicolo
Properties |
consumables |
consumables:
|
Type : string
|
Defined in src/app/models/vehicle.model.ts:8
|
films |
films:
|
Type : string
|
Defined in src/app/models/vehicle.model.ts:16
|
mapping dei film url |
filmsObj |
filmsObj:
|
Type : Film[]
|
Defined in src/app/models/vehicle.model.ts:21
|
mapping dei film obj |
pilots |
pilots:
|
Type : string
|
Defined in src/app/models/vehicle.model.ts:26
|
mapping dei personaggi |
pilotsObj |
pilotsObj:
|
Type : People[]
|
Defined in src/app/models/vehicle.model.ts:31
|
mapping dei personaggi obj |
vehicle_class |
vehicle_class:
|
Type : string
|
Defined in src/app/models/vehicle.model.ts:12
|
Classe del veicolo |
cargo_capacity |
cargo_capacity:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:41
|
Capacità di carico |
cost_in_credits |
cost_in_credits:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:21
|
Costo in crediti |
crew |
crew:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:25
|
Equipaggio |
length |
length:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:33
|
Dimensione |
manufacturer |
manufacturer:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:37
|
Prodotto |
max_atmosphering_speed |
max_atmosphering_speed:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:29
|
Massima velocità in atmosfera |
model |
model:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:13
|
Modelli |
name |
name:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:9
|
Identificativo |
passengers |
passengers:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:17
|
Numero di passegger |
created |
created:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:12
|
Data Creazione |
edited |
edited:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:16
|
Data Modifica |
url |
url:
|
Type : string
|
Inherited from
Macchine
|
Defined in Macchine:8
|
Url di riferimento dell'object |
import { Film } from './film.model';
import { Macchine } from './macchine.model';
import { People } from './people.model';
/**
* Oggetto del mapping del veicolo
*/
export class Vehicle extends Macchine {
consumables: string;
/**
* Classe del veicolo
*/
vehicle_class: string;
/**
* mapping dei film url
*/
films: string;
/**
* mapping dei film obj
*/
filmsObj: Film[];
/**
* mapping dei personaggi
*/
pilots: string;
/**
* mapping dei personaggi obj
*/
pilotsObj: People[];
}
/**
* Mapping per la gestione delle lookup in visualizzazione su pop-up
*/
export const VehicleFields = [
{
label: 'Name',
field: 'name'
},
{
label: 'Cargo Capacity',
field: 'cargo_capacity'
},
{
label: 'Cost in credits',
field: 'cost_in_credits'
},
{
label: 'Crew',
field: 'crew'
},
{
label: 'Consumables',
field: 'consumables'
},
{
label: 'Length',
field: 'length'
},
{
label: 'Manufacturer',
field: 'manufacturer'
},
{
label: 'Max atmosphering speed',
field: 'max_atmosphering_speed'
},
{
label: 'Model',
field: 'model'
},
{
label: 'Passengers',
field: 'passengers'
},
{
label: 'Vehicle class',
field: 'vehicle_class'
}
];