recruitment/app/models/employee_recommendation.rb

12 lines
243 B
Ruby

class EmployeeRecommendation
include Mongoid::Document
include Mongoid::Timestamps
field :name
field :email
field :info
field :employee_recommendation_token
mount_uploader :file, AssetUploader
belongs_to :employee_profile
end