class TripPassenger < Sequel::Model(:'trip passengers') # Many to one relationships n_to_o :passenger, :class=>:Passenger, :prefix=>'pax' n_to_o :trip, :class=>:Trip, :prefix=>'trip' #### BEGIN GENERATED SECTION #### set_primary_key [:'kid - user', :'kid - mult', :'kid - comm', :'kid - date', :'kid - time'] column_alias :apis_pax_num, :'apis pax num' column_alias :additional_cost, :'additional cost' column_alias :addl_weight, :'addl weight' column_alias :addl_weight_fix, :'addl weight fix' column_alias :airfare, :'airfare' column_alias :airfare_fixed, :'airfare fixed' column_alias :all_legs, :'all legs' column_alias :arr_contact_phone, :'arr contact phone' column_alias :arr_hotel_comment, :'arr hotel comment' column_alias :arr_hotel_flags, :'arr hotel flags' column_alias :arr_hotel_kid_comm, :'arr hotel kid - comm' column_alias :arr_hotel_kid_date, :'arr hotel kid - date' column_alias :arr_hotel_kid_mult, :'arr hotel kid - mult' column_alias :arr_hotel_kid_time, :'arr hotel kid - time' column_alias :arr_hotel_kid_user, :'arr hotel kid - user' column_alias :arr_leg_dep_date_gmt, :'arr leg dep date gmt' column_alias :arr_leg_dep_time_gmt, :'arr leg dep time gmt' column_alias :arr_limo_comment, :'arr limo comment' column_alias :arr_limo_flags, :'arr limo flags' column_alias :arr_limo_kid_comm, :'arr limo kid - comm' column_alias :arr_limo_kid_date, :'arr limo kid - date' column_alias :arr_limo_kid_mult, :'arr limo kid - mult' column_alias :arr_limo_kid_time, :'arr limo kid - time' column_alias :arr_limo_kid_user, :'arr limo kid - user' column_alias :arrival_ap_id, :'arrival a/p id' column_alias :arrival_ap_count, :'arrival ap count' column_alias :arrival_contact, :'arrival contact' column_alias :arrival_iata, :'arrival iata' column_alias :arrival_icao, :'arrival icao' column_alias :arrival_leg_number, :'arrival leg number' column_alias :arrive_ap_id_prefix, :'arrive a/p id prefix' column_alias :arriveleg_kid_comm, :'arriveleg kid - comm' column_alias :arriveleg_kid_date, :'arriveleg kid - date' column_alias :arriveleg_kid_mult, :'arriveleg kid - mult' column_alias :arriveleg_kid_time, :'arriveleg kid - time' column_alias :arriveleg_kid_user, :'arriveleg kid - user' column_alias :baggage_vol_fix, :'baggage vol fix' column_alias :baggage_volume, :'baggage volume' column_alias :billable, :'billable' column_alias :birthdate, :'birthdate' column_alias :birthplace, :'birthplace' column_alias :business_reason, :'business reason' column_alias :cell_phone, :'cell phone' column_alias :confirmation_number, :'confirmation number' column_alias :confirmed, :'confirmed' column_alias :contact, :'contact' column_alias :contact_email, :'contact email' column_alias :contact_phone, :'contact phone' column_alias :control_employee, :'control employee' column_alias :cost, :'cost' column_alias :cost_1, :'cost 1' column_alias :cost_2, :'cost 2' column_alias :cost_3, :'cost 3' column_alias :cost_4, :'cost 4' column_alias :cost_center, :'cost center' column_alias :cost_fixed, :'cost fixed' column_alias :crew_position, :'crew position' column_alias :dep_limo_comment, :'dep limo comment' column_alias :dep_limo_flags, :'dep limo flags' column_alias :dep_limo_kid_comm, :'dep limo kid - comm' column_alias :dep_limo_kid_date, :'dep limo kid - date' column_alias :dep_limo_kid_mult, :'dep limo kid - mult' column_alias :dep_limo_kid_time, :'dep limo kid - time' column_alias :dep_limo_kid_user, :'dep limo kid - user' column_alias :depart_ap_id, :'depart a/p id' column_alias :depart_ap_id_prefix, :'depart a/p id prefix' column_alias :depart_date_gmt, :'depart date gmt' column_alias :depart_iata, :'depart iata' column_alias :depart_icao, :'depart icao' column_alias :depart_time_gmt, :'depart time gmt' column_alias :departleg_kid_comm, :'departleg kid - comm' column_alias :departleg_kid_date, :'departleg kid - date' column_alias :departleg_kid_mult, :'departleg kid - mult' column_alias :departleg_kid_time, :'departleg kid - time' column_alias :departleg_kid_user, :'departleg kid - user' column_alias :department, :'department' column_alias :departure_ap_count, :'departure ap count' column_alias :departure_leg_number, :'departure leg number' column_alias :division, :'division' column_alias :employee_number, :'employee number' column_alias :entertainment, :'entertainment' column_alias :flight_time, :'flight time' column_alias :golf_count, :'golf count' column_alias :group, :'group' column_alias :host_initials, :'host initials' column_alias :host_kid_comm, :'host kid - comm' column_alias :host_kid_date, :'host kid - date' column_alias :host_kid_mult, :'host kid - mult' column_alias :host_kid_time, :'host kid - time' column_alias :host_kid_user, :'host kid - user' column_alias :internal_updated, :'internal updated' column_alias :internal01, :'internal01' column_alias :internal02, :'internal02' column_alias :internal03, :'internal03' column_alias :internal04, :'internal04' column_alias :internal1, :'internal1' column_alias :kid_comm, :'kid - comm' column_alias :kid_date, :'kid - date' column_alias :kid_mult, :'kid - mult' column_alias :kid_time, :'kid - time' column_alias :kid_user, :'kid - user' column_alias :lead_pax, :'lead pax' column_alias :leg_services, :'leg services' column_alias :male_female, :'male female' column_alias :misc_kid_comm, :'misc kid - comm' column_alias :misc_kid_date, :'misc kid - date' column_alias :misc_kid_mult, :'misc kid - mult' column_alias :misc_kid_time, :'misc kid - time' column_alias :misc_kid_user, :'misc kid - user' column_alias :misc_serv_comment, :'misc serv comment' column_alias :misc_serv_depart, :'misc serv depart' column_alias :misc_serv_flags, :'misc serv flags' column_alias :name, :'name' column_alias :nationality, :'nationality' column_alias :not_emp_spouse_dep, :'not emp spouse dep' column_alias :note, :'note' column_alias :notified, :'notified' column_alias :number_of_seats, :'number of seats' column_alias :overflight_permit, :'overflight permit' column_alias :ptp_flight_time, :'ptp flight time' column_alias :ptp_statute_miles, :'ptp statute miles' column_alias :passport_country, :'passport country' column_alias :passport_expires, :'passport expires' column_alias :passport_iso, :'passport iso' column_alias :passport_issued, :'passport issued' column_alias :passport_number, :'passport number' column_alias :pax_kid_comm, :'pax kid - comm' column_alias :pax_kid_date, :'pax kid - date' column_alias :pax_kid_mult, :'pax kid - mult' column_alias :pax_kid_time, :'pax kid - time' column_alias :pax_kid_user, :'pax kid - user' column_alias :pax_pos_code, :'pax pos code' column_alias :pax_weight, :'pax weight' column_alias :pax_weight_fix, :'pax weight fix' column_alias :percent_50_rule, :'percent 50 rule' column_alias :percent_cost_2, :'percent cost 2' column_alias :percent_cost_3, :'percent cost 3' column_alias :percent_cost_4, :'percent cost 4' column_alias :personal_rate, :'personal rate' column_alias :priority, :'priority' column_alias :quote_kid_comm, :'quote kid - comm' column_alias :quote_kid_date, :'quote kid - date' column_alias :quote_kid_mult, :'quote kid - mult' column_alias :quote_kid_time, :'quote kid - time' column_alias :quote_kid_user, :'quote kid - user' column_alias :rate_ac_type_id, :'rate ac type id' column_alias :rate_company_id, :'rate company id' column_alias :rate_effective_date, :'rate effective date' column_alias :rate_kid_comm, :'rate kid - comm' column_alias :rate_kid_date, :'rate kid - date' column_alias :rate_kid_mult, :'rate kid - mult' column_alias :rate_kid_time, :'rate kid - time' column_alias :rate_kid_user, :'rate kid - user' column_alias :rate_type, :'rate type' column_alias :reason_code, :'reason code' column_alias :request_number, :'request number' column_alias :residence, :'residence' column_alias :resident_alien, :'resident alien' column_alias :resident_alien_numbe, :'resident alien numbe' column_alias :sec, :'sec' column_alias :security, :'security' column_alias :ski_count, :'ski count' column_alias :special_handling, :'special handling' column_alias :status, :'status' column_alias :statute_miles, :'statute miles' column_alias :tax_assist, :'tax assist' column_alias :transient_crew, :'transient crew' column_alias :trip_kid_comm, :'trip kid - comm' column_alias :trip_kid_date, :'trip kid - date' column_alias :trip_kid_mult, :'trip kid - mult' column_alias :trip_kid_time, :'trip kid - time' column_alias :trip_kid_user, :'trip kid - user' column_alias :visa_number, :'visa number' column_alias :weight, :'weight' column_alias :weight_fixed, :'weight fixed' column_alias :invalid, :'invalid' #### END GENERATED SECTION #### end