Class: ViewLocatorRecord
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewLocatorRecord
- Includes:
- Models::SearchableView
- Defined in:
- app/models/view_locator_record.rb
Overview
== Schema Information
Table name: view_locator_records
Database name: primary
id :integer primary key
city :string(255)
confirmed_at :datetime
country_iso3 :string(3)
customer_name :string(255)
date_of_wy_visit :datetime
date_wyu_last_passed :datetime
email :string(255)
fax :string(255)
has_countertop_display :boolean
has_had_wy_visit :boolean
has_in_floor_display :boolean
has_in_house_service_team :boolean
has_marketing_materials :boolean
has_passed_wyu :boolean
is_electrician :boolean
is_inactive :boolean
is_installer :boolean
is_remodel_contractor :boolean
is_retailer :boolean
is_wy_certified :boolean
last_completed_sales_activity_date :date
last_confirmed_at :datetime
last_opportunity_date :date
last_order_date :date
lat :float
lifetime_conversion_rate :decimal(5, 2)
lifetime_number_of_opportunities :integer
lifetime_number_of_orders :integer
lifetime_number_of_won_opportunities :integer
lifetime_revenue :decimal(10, 2)
lng :float
maintains_wy_stock :boolean
phone :string(255)
preferred_dealer :boolean
primary_sales_rep_full_name :string(255)
sales_priority_index :integer
slug :string
star_status_level :integer
state :string(255)
state_code :string(20)
street1 :string(255)
street2 :string(255)
supports_comfort_products :boolean
supports_flooring :boolean
supports_roof_deicing :boolean
supports_snowmelting :boolean
trailing_twelve_months_conversion_rate :decimal(5, 2)
trailing_twelve_months_number_of_opportunities :integer
trailing_twelve_months_number_of_orders :integer
trailing_twelve_months_number_of_won_opportunities :integer
trailing_twelve_months_revenue :decimal(10, 2)
website :string(255)
zip :string(255)
created_at :datetime
updated_at :datetime
address_id :integer
customer_id :integer
primary_sales_rep_id :integer
Method Summary
Methods included from Models::SearchableView
#crm_link, #crm_link_subtitle, #has_columns?, #main_resource, #readonly?
Methods inherited from ApplicationViewRecord
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation