class AirportFbo < Sequel::Model(:"airport fbos") # NOTE - Count of instances as of 06/01/2009 => 717298 set_primary_key [:'kid - user', :'kid - mult', :'kid - comm', :'kid - date', :'kid - time'] o_to_n :trip_legs, :class=>:TripLeg, :prefix=>'fbo' o_to_n :fueled_trip_legs, :class=>:TripLeg, :prefix=>'fueler' o_to_n :airport_fuels, :class=>:AirportFuel, :prefix=>'fbo' #### BEGIN GENERATED SECTION #### column_alias :aftn_sita, :'aftn/sita' column_alias :addr_2, :'addr 2' column_alias :airport_kid_comm, :'airport kid - comm' column_alias :airport_kid_date, :'airport kid - date' column_alias :airport_kid_mult, :'airport kid - mult' column_alias :airport_kid_time, :'airport kid - time' column_alias :airport_kid_user, :'airport kid - user' column_alias :approved, :'approved' column_alias :avgas, :'avgas' column_alias :avgas_card, :'avgas card' column_alias :avgas_cost, :'avgas cost' column_alias :avgas_effective_date, :'avgas effective date' column_alias :avgas_unit, :'avgas unit' column_alias :car, :'car' column_alias :cell_phone, :'cell phone' column_alias :city, :'city' column_alias :closed, :'closed' column_alias :conference, :'conference' column_alias :contact, :'contact' column_alias :country, :'country' column_alias :data_source, :'data source' column_alias :deice, :'deice' column_alias :discount, :'discount' column_alias :discount_date, :'discount date' column_alias :eval_date, :'eval date' column_alias :fax, :'fax' column_alias :frequency_1, :'frequency 1' column_alias :frequency_2, :'frequency 2' column_alias :frequency_3, :'frequency 3' column_alias :fuel_brand, :'fuel brand' column_alias :fuel_vendor_id, :'fuel vendor id' column_alias :fueler, :'fueler' column_alias :gpu, :'gpu' column_alias :hanger, :'hanger' column_alias :hours, :'hours' column_alias :hours_24, :'hours 24' column_alias :internal_1, :'internal 1' column_alias :internal_2, :'internal 2' column_alias :internal0, :'internal0' column_alias :internal01, :'internal01' column_alias :internal02, :'internal02' column_alias :jet_fuel, :'jet fuel' column_alias :jet_fuel_cost, :'jet fuel cost' column_alias :jet_fuel_effect_date, :'jet fuel effect date' column_alias :jet_fuel_unit, :'jet fuel unit' 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 :latitude, :'latitude' column_alias :loader, :'loader' column_alias :location, :'location' column_alias :longitude, :'longitude' column_alias :lounge, :'lounge' column_alias :mail_address, :'mail address' column_alias :multiservice_card, :'multiservice card' column_alias :name, :'name' column_alias :no_acukwik_update, :'no acukwik update' column_alias :pax_comment_key, :'pax comment key' column_alias :payment_method, :'payment method' column_alias :phone, :'phone' column_alias :phone_800, :'phone - 800' column_alias :physical_address, :'physical address' column_alias :primary, :'primary' column_alias :problem, :'problem' column_alias :rental_car, :'rental car' column_alias :sita, :'sita' column_alias :shower, :'shower' column_alias :snooze, :'snooze' column_alias :state, :'state' column_alias :state_name, :'state name' column_alias :telex_email, :'telex/email' column_alias :uvair, :'uvair' column_alias :unique_number, :'unique number' column_alias :updated_date, :'updated date' column_alias :vendor_id, :'vendor id' column_alias :web_page, :'web page' column_alias :zip, :'zip' column_alias :key0, :'key0' column_alias :key1, :'key1' column_alias :key2, :'key2' column_alias :key3, :'key3' column_alias :key4, :'key4' column_alias :spare_serv, :'spare serv' #### END GENERATED SECTION #### def is_primary? primary == 1 end end