introduce the runway definitions

This commit is contained in:
Sven Czarnian
2022-10-25 14:31:58 +02:00
parent 6378630027
commit cb9cd97c17
5 changed files with 73 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ import { Constraint, ConstraintSchema } from './constraint.model';
import { Planning, PlanningSchema } from './planning.model';
import { RunwaySpacing, RunwaySpacingSchema } from './runwayspacing.model';
import { Waypoint } from '../../generic/models/waypoint.model';
import { Runway, RunwaySchema } from './runway.model';
export type AirportDocument = Airport & Document;
@@ -29,6 +30,12 @@ export class Airport {
})
elevation: number;
@Prop({
required: true,
type: [RunwaySchema],
})
runways: Runway[];
@Prop({
type: [ConstraintSchema],
})