8 lines
167 B
Ruby
8 lines
167 B
Ruby
|
class PatentAuthorType
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
|
||
|
field :title, type: String, localize: true
|
||
|
|
||
|
has_and_belongs_to_many :patents
|
||
|
end
|