src/app/models/planet.model.ts
Pianeta
Properties |
climate |
climate:
|
Type : string
|
Defined in src/app/models/planet.model.ts:15
|
Clima |
diameter |
diameter:
|
Type : string
|
Defined in src/app/models/planet.model.ts:19
|
Diametro |
films |
films:
|
Type : string
|
Defined in src/app/models/planet.model.ts:21
|
filmsObj |
filmsObj:
|
Type : Film[]
|
Defined in src/app/models/planet.model.ts:22
|
gravity |
gravity:
|
Type : string
|
Defined in src/app/models/planet.model.ts:26
|
Gravità |
name |
name:
|
Type : string
|
Defined in src/app/models/planet.model.ts:11
|
Nome |
orbital_period |
orbital_period:
|
Type : string
|
Defined in src/app/models/planet.model.ts:30
|
Periodo orbitale |
population |
population:
|
Type : string
|
Defined in src/app/models/planet.model.ts:34
|
Popolazione |
residents |
residents:
|
Type : string
|
Defined in src/app/models/planet.model.ts:38
|
elenco dei residenti |
residentsObj |
residentsObj:
|
Type : People[]
|
Defined in src/app/models/planet.model.ts:39
|
rotation_period |
rotation_period:
|
Type : string
|
Defined in src/app/models/planet.model.ts:43
|
Periodo di rotazione |
surface_water |
surface_water:
|
Type : string
|
Defined in src/app/models/planet.model.ts:47
|
Acqua presente |
terrain |
terrain:
|
Type : string
|
Defined in src/app/models/planet.model.ts:52
|
tipo di terreno |
created |
created:
|
Type : string
|
Inherited from
Base
|
Defined in Base:12
|
Data Creazione |
edited |
edited:
|
Type : string
|
Inherited from
Base
|
Defined in Base:16
|
Data Modifica |
url |
url:
|
Type : string
|
Inherited from
Base
|
Defined in Base:8
|
Url di riferimento dell'object |
import { Base } from './base.model';
import { Film } from './film.model';
import { People } from './people.model';
/**
* Pianeta
*/
export class Planet extends Base {
/**
* Nome
*/
name: string;
/**
* Clima
*/
climate: string;
/**
* Diametro
*/
diameter: string;
films: string;
filmsObj: Film[];
/**
* GravitÃ
*/
gravity: string;
/**
* Periodo orbitale
*/
orbital_period: string;
/**
* Popolazione
*/
population: string;
/**
* elenco dei residenti
*/
residents: string;
residentsObj: People[];
/**
* Periodo di rotazione
*/
rotation_period: string;
/**
* Acqua presente
*/
surface_water: string;
/**
* tipo di terreno
*/
terrain: string;
}
/**
* Gestione dei campi di dettaglio nella visualizzazione delle popo-up
*/
export const PlanetFields = [
{
label: 'Name',
field: 'name'
},
{
label: 'Climate',
field: 'climate'
},
{
label: 'Diameter',
field: 'diameter'
}
];