12 lines
291 B
Ruby
12 lines
291 B
Ruby
|
class JournalPaperAuthorType
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
include Mongoid::Attributes::Dynamic
|
||
|
include OrbitCoreLib::ObjectDisable
|
||
|
|
||
|
field :key, type: String
|
||
|
field :title, type: String, localize: true
|
||
|
|
||
|
has_and_belongs_to_many :journal_paper_authors
|
||
|
end
|