use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize)]
pub struct FlightLegRecord {
    pub flight_designator: String,
    pub operational_suffix: String,
    pub airline_designator: String,
    pub control_duplicate_indicator: String,
    pub flight_number: String,
    pub itinerary_variation_identifier: String,
    pub leg_sequence_number: String,
    pub service_type: String,
    pub period_of_operation_from: String,
    pub period_of_operation_to: String,
    pub days_of_operation: String,
    pub frequency_rate: String,
    pub departure_station: String,
    pub scheduled_time_of_passenger_departure: String,
    pub scheduled_time_of_aircraft_departure: String,
    pub time_variation_departure: String,
    pub passenger_terminal_departure: String,
    pub arrival_station: String,
    pub scheduled_time_of_aircraft_arrival: String,
    pub scheduled_time_of_passenger_arrival: String,
    pub time_variation_arrival: String,
    pub passenger_terminal_arrival: String,
    pub aircraft_type: String,
    pub passenger_reservations_booking_designator: String,
    pub passenger_reservations_booking_modifier: String,
    pub meal_service_note: String,
    pub joint_operation_airline_designators: String,
    pub min_connecting_time_status_departure: String,
    pub min_connecting_time_status_arrival: String,
    pub secure_flight_indicator: String,
    pub itinerary_variation_identifier_overflow: String,
    pub aircraft_owner: String,
    pub cockpit_crew_employer: String,
    pub cabin_crew_employer: String,
    pub onward_flight: String,
    pub airline_designator2: String,
    pub flight_number2: String,
    pub aircraft_rotation_layover: String,
    pub operational_suffix2: String,
    pub flight_transit_layover: String,
    pub operating_airline_disclosure: String,
    pub traffic_restriction_code: String,
    pub traffic_restriction_code_leg_overflow_indicator: String,
    pub aircraft_configuration: String,
    pub date_variation: String,
    pub record_type: char,
    pub record_serial_number: String,
}
