13 lines
333 B
Ruby
13 lines
333 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_papers
|
|
has_and_belongs_to_many :journal_paper_authors
|
|
end
|