class CrewTrip < Sequel::Model(:'crew trips') # Associations 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 :all_legs, :'all legs' column_alias :arrival_ap_count, :'arrival a/p count' column_alias :arrival_ap_id, :'arrival a/p id' column_alias :arrival_ap_prefix, :'arrival a/p prefix' column_alias :arrival_iata, :'arrival iata' column_alias :arrival_icao, :'arrival icao' column_alias :arrival_leg_key, :'arrival leg key' column_alias :arrival_leg_num, :'arrival leg num' column_alias :assign_type, :'assign type' column_alias :auto_schedule, :'auto-schedule' column_alias :begin_date_gmt, :'begin date gmt' column_alias :begn_time_gmt, :'begn time gmt' column_alias :brief_date, :'brief date' column_alias :brief_time, :'brief time' column_alias :crew, :'crew' column_alias :crew_brief, :'crew brief' column_alias :depart_ap_count, :'depart a/p count' column_alias :depart_ap_id, :'depart a/p id' column_alias :depart_ap_prefix, :'depart a/p prefix' column_alias :depart_iata, :'depart iata' column_alias :depart_icao, :'depart icao' column_alias :depart_leg_key, :'depart leg key' column_alias :depart_leg_num, :'depart leg num' column_alias :end_date_gmt, :'end date gmt' column_alias :end_time_gmt, :'end time gmt' column_alias :flogged, :'flogged' column_alias :gsc, :'gsc' column_alias :internal_1, :'internal 1' column_alias :internal_date, :'internal date' column_alias :internal0, :'internal0' column_alias :internal01, :'internal01' 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, :'lead' column_alias :not_qualified, :'not qualified' column_alias :passport, :'passport' column_alias :position, :'position' column_alias :special_qual1, :'special qual1' column_alias :special_qual2, :'special qual2' column_alias :special_qual3, :'special qual3' column_alias :training, :'training' 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 :internal_2, :'internal 2' #### END GENERATED SECTION #### end