11 lines
219 B
Ruby
11 lines
219 B
Ruby
|
class BookType
|
||
|
include Mongoid::Document
|
||
|
include Mongoid::Timestamps
|
||
|
include Mongoid::Attributes::Dynamic
|
||
|
include OrbitCoreLib::ObjectDisable
|
||
|
|
||
|
field :title, type: String, localize: true
|
||
|
|
||
|
has_many :books
|
||
|
end
|