12 lines
263 B
Ruby
12 lines
263 B
Ruby
|
class JournalPaperType
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
include Mongoid::Attributes::Dynamic
|
||
|
include OrbitCoreLib::ObjectDisable
|
||
|
|
||
|
field :key, type: String
|
||
|
field :title, type: String, localize: true
|
||
|
|
||
|
has_many :journal_papers
|
||
|
end
|