Class: Ea::Qea::Models::EaRoleConstraint

Inherits:
BaseModel
  • Object
show all
Defined in:
lib/ea/qea/models/ea_role_constraint.rb

Overview

Role-based constraint from t_roleconstraint.

Constant Summary collapse

COLUMN_MAP =
{
  "RoleConstraintID" => :roleconstraint_id,
  "Object_ID" => :ea_object_id
}.freeze

Class Method Summary collapse

Methods inherited from BaseModel

from_db_row, #primary_key, #sort_position

Class Method Details

.column_mapObject



26
27
28
# File 'lib/ea/qea/models/ea_role_constraint.rb', line 26

def self.column_map
  COLUMN_MAP
end

.primary_key_columnObject



13
14
15
# File 'lib/ea/qea/models/ea_role_constraint.rb', line 13

def self.primary_key_column
  :roleconstraint_id
end

.table_nameObject



17
18
19
# File 'lib/ea/qea/models/ea_role_constraint.rb', line 17

def self.table_name
  "t_roleconstraint"
end