2014-06-12 10:27:26 +00:00
|
|
|
class JournalPaperAuthorType
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
field :key, type: String
|
|
|
|
field :title, type: String, localize: true
|
|
|
|
|
2014-07-03 14:39:01 +00:00
|
|
|
has_and_belongs_to_many :journal_papers
|
2014-06-12 10:27:26 +00:00
|
|
|
has_and_belongs_to_many :journal_paper_authors
|
|
|
|
end
|