2012-09-24 06:10:44 +00:00
|
|
|
class WritingPatentFile
|
|
|
|
|
|
|
|
include Mongoid::Document
|
|
|
|
include Mongoid::Timestamps
|
|
|
|
|
|
|
|
mount_uploader :file, AssetUploader
|
|
|
|
|
2013-08-13 09:00:44 +00:00
|
|
|
field :description, localize: true
|
2012-09-24 06:10:44 +00:00
|
|
|
field :should_destroy, :type => Boolean
|
|
|
|
field :title, localize: true
|
|
|
|
|
|
|
|
belongs_to :writing_patent
|
|
|
|
|
|
|
|
end
|