10 lines
186 B
Ruby
10 lines
186 B
Ruby
|
class JournalPaperType
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
field :key, type: String
|
||
|
field :title, type: String, localize: true
|
||
|
|
||
|
has_many :journal_papers
|
||
|
end
|