cancer_predict/app/models/headimages.rb

13 lines
420 B
Ruby
Raw Normal View History

class Headimages
include Mongoid::Document
include Mongoid::Timestamps
include OrbitModel::Status
include OrbitModel::Impression
# encoding: utf-8
include OrbitTag::Taggable
include OrbitCategory::Categorizable
mount_uploader :temp_file, HeadImagesUploader
field :cancerpredictfields_id ,type:String ,default:""
field :title ,type:String ,default:""
field :sort_number ,type:Integer ,default: 0
end