import { Component, Input } from '@angular/core';
import { IArrivalStation, ITransition } from '@app/shared/models-legacy';

@Component({
    selector: 'flight-details-deboarding',
    templateUrl: './flight-details-deboarding.component.html',
    styleUrls: ['./flight-details-deboarding.component.scss'],
})
export class FlightDetailsDeboardingComponent {
    @Input() arrival: IArrivalStation;
    @Input() transition: ITransition;
    @Input() hasTimeNote: boolean;

    get deboarding() {
        return this.transition?.deboarding;
    }
}
