Class: Ea::Qea::Models::EaSecrypt

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

Overview

Encryption metadata from t_secrypt. Records whether parts of the QEA are encrypted and what algorithm was used.

Constant Summary collapse

COLUMN_MAP =
{
  "SecryptID" => :secrypt_id,
  "Object_ID" => :object_id,
  "PasswordHash" => :password_hash
}.freeze

Class Method Summary collapse

Methods inherited from BaseModel

from_db_row, #primary_key, #sort_position

Class Method Details

.column_mapObject



28
29
30
# File 'lib/ea/qea/models/ea_secrypt.rb', line 28

def self.column_map
  COLUMN_MAP
end

.primary_key_columnObject



14
15
16
# File 'lib/ea/qea/models/ea_secrypt.rb', line 14

def self.primary_key_column
  :secrypt_id
end

.table_nameObject



18
19
20
# File 'lib/ea/qea/models/ea_secrypt.rb', line 18

def self.table_name
  "t_secrypt"
end