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

@Component({
    selector: 'flight-details-boarding',
    templateUrl: './flight-details-boarding.component.html',
    styleUrls: ['./flight-details-boarding.component.scss'],
})
export class FlightDetailsBoardingComponent {
    @Input() departure: IDepartureStation;
    @Input() transition: ITransition;
    @Input() hasTimeNote: boolean;

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