Class: ViewItAsset

Inherits:
ApplicationViewRecord show all
Includes:
Models::SearchableView
Defined in:
app/models/view_it_asset.rb

Overview

== Schema Information

Table name: view_it_assets
Database name: primary

id :integer primary key
company_name :string(100)
description :text
device_type :string(255)
employee_full_name :string(255)
is_inactive :boolean
it_accessories :text
location :text
memory :string(255)
name :string(255)
notes :text
order_number :string(255)
phone_number :string(255)
processor :string(255)
screen_size :integer
serial_number :string(255)
software :string(255)
supplier_full_name :string(255)
warranty_expiration_date :date
created_at :datetime
updated_at :datetime
company_id :integer
employee_id :integer
supplier_id :integer

Method Summary

Methods included from Models::SearchableView

#crm_link, #crm_link_subtitle, #has_columns?, #main_resource, #readonly?

Methods inherited from ApplicationViewRecord

create, create!, #readonly?

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event