add all waypoints of the arrival routes

This commit is contained in:
Sven Czarnian
2022-10-23 13:36:10 +02:00
parent a21eddda93
commit 229c11915b
7 changed files with 131 additions and 4 deletions

View File

@@ -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],
})