Class: AnnotationDataVersion

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/msf/models/annotation_data_version.rb

Overview

ActiveRecord model of MSF AnnotationDataVersion

Example:

AnnotationDataVersion.find(1)

AnnotationDataVersion.first.name

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.primary_keyObject



11
12
13
# File 'lib/msf/models/annotation_data_version.rb', line 11

def self.primary_key
  :PcDataVersion
end

.table_nameObject



8
9
10
# File 'lib/msf/models/annotation_data_version.rb', line 8

def self.table_name
  :AnnotationDataVersion
end

Instance Method Details

#pc_data_releaseObject



17
18
19
# File 'lib/msf/models/annotation_data_version.rb', line 17

def pc_data_release
  self.PcDataRelease
end

#pc_data_versionObject



14
15
16
# File 'lib/msf/models/annotation_data_version.rb', line 14

def pc_data_version
  self.PcDataVersion
end