hnc_cancer_predict/app/models/hnc_headimages.rb

13 lines
431 B
Ruby

class HncHeadimages
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, HncHeadImagesUploader
field :hnc_cancer_predictfields_id ,type:String ,default:""
field :title ,type:String ,default:""
field :sort_number ,type:Integer ,default: 0
end