Class: Ea::Qea::Models::EaAuthor
- Defined in:
- lib/ea/qea/models/ea_author.rb
Overview
Author / contributor from t_authors.
Schema:
(AuthorID INTEGER PRIMARY KEY, Name TEXT, Email TEXT,
Notes TEXT, ...)
Constant Summary collapse
- COLUMN_MAP =
{ "AuthorID" => :author_id }.freeze
Class Method Summary collapse
Methods inherited from BaseModel
from_db_row, #primary_key, #sort_position
Class Method Details
.column_map ⇒ Object
29 30 31 |
# File 'lib/ea/qea/models/ea_author.rb', line 29 def self.column_map COLUMN_MAP end |
.primary_key_column ⇒ Object
17 18 19 |
# File 'lib/ea/qea/models/ea_author.rb', line 17 def self.primary_key_column :author_id end |
.table_name ⇒ Object
21 22 23 |
# File 'lib/ea/qea/models/ea_author.rb', line 21 def self.table_name "t_authors" end |