File

src/app/models/vehicle.model.ts

Description

Oggetto del mapping del veicolo

Extends

Macchine

Index

Properties

Properties

consumables
consumables: string
Type : string
films
films: string
Type : string

mapping dei film url

filmsObj
filmsObj: Film[]
Type : Film[]

mapping dei film obj

pilots
pilots: string
Type : string

mapping dei personaggi

pilotsObj
pilotsObj: People[]
Type : People[]

mapping dei personaggi obj

vehicle_class
vehicle_class: string
Type : string

Classe del veicolo

cargo_capacity
cargo_capacity: string
Type : string
Inherited from Macchine
Defined in Macchine:41

Capacità di carico

cost_in_credits
cost_in_credits: string
Type : string
Inherited from Macchine
Defined in Macchine:21

Costo in crediti

crew
crew: string
Type : string
Inherited from Macchine
Defined in Macchine:25

Equipaggio

length
length: string
Type : string
Inherited from Macchine
Defined in Macchine:33

Dimensione

manufacturer
manufacturer: string
Type : string
Inherited from Macchine
Defined in Macchine:37

Prodotto

max_atmosphering_speed
max_atmosphering_speed: string
Type : string
Inherited from Macchine
Defined in Macchine:29

Massima velocità in atmosfera

model
model: string
Type : string
Inherited from Macchine
Defined in Macchine:13

Modelli

name
name: string
Type : string
Inherited from Macchine
Defined in Macchine:9

Identificativo

passengers
passengers: string
Type : string
Inherited from Macchine
Defined in Macchine:17

Numero di passegger

created
created: string
Type : string
Inherited from Macchine
Defined in Macchine:12

Data Creazione

edited
edited: string
Type : string
Inherited from Macchine
Defined in Macchine:16

Data Modifica

url
url: string
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'
  }
];

results matching ""

    No results matching ""