Class: AnnotationType
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- AnnotationType
- Defined in:
- lib/msf/models/annotation_type.rb
Overview
ActiveRecord model of MSF AnnotationType
Example:
AnnotationType.find(1)
AnnotationType.first.name
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.primary_key ⇒ Object
11 12 13 |
# File 'lib/msf/models/annotation_type.rb', line 11 def self.primary_key :AnnotationTypeId end |
.table_name ⇒ Object
8 9 10 |
# File 'lib/msf/models/annotation_type.rb', line 8 def self.table_name :AnnotationTypes end |
Instance Method Details
#annotation_type_id ⇒ Object
14 15 16 |
# File 'lib/msf/models/annotation_type.rb', line 14 def annotation_type_id self.AnnotationTypeId end |
#description ⇒ Object
20 21 22 |
# File 'lib/msf/models/annotation_type.rb', line 20 def description self.Description end |
#name ⇒ Object
17 18 19 |
# File 'lib/msf/models/annotation_type.rb', line 17 def name self.Name end |