add all waypoints of the arrival routes
This commit is contained in:
@@ -4,6 +4,7 @@ import { ArrivalRoute, ArrivalRouteSchema } from './arrivalroute.model';
|
||||
import { Constraint, ConstraintSchema } from './constraint.model';
|
||||
import { Planning, PlanningSchema } from './planning.model';
|
||||
import { RunwaySpacing, RunwaySpacingSchema } from './runwayspacing.model';
|
||||
import { Waypoint } from './waypoint.model';
|
||||
|
||||
export type AirportDocument = Airport & Document;
|
||||
|
||||
@@ -15,6 +16,18 @@ export class Airport {
|
||||
})
|
||||
icao: string;
|
||||
|
||||
@Prop({
|
||||
required: true,
|
||||
type: Waypoint,
|
||||
})
|
||||
location: Waypoint;
|
||||
|
||||
@Prop({
|
||||
required: true,
|
||||
type: Number,
|
||||
})
|
||||
elevation: number;
|
||||
|
||||
@Prop({
|
||||
type: [ConstraintSchema],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user