recruitment/app/models/recruitment_job.rb

33 lines
1.2 KiB
Ruby

class RecruitmentJob
include Mongoid::Document
include Mongoid::Timestamps
include Slug
field :job_title, as: :slug_title, localize: true
field :job_description, localize: true
field :responsibility, localize: true
field :other_conditions, localize: true
field :salary #type1 => negotiable type2 => according to company rules type3 => monthly salary
field :travel_assignment #type1 => Need to travel, type2 => occasionally, type3 => travelling not required
field :working_time #type1 => Day Shift, type2 => Night Shift
field :holiday_system #type1 => According to Company Rules, type2 => other
field :holiday_system_other
field :joining_time #type1 => Immediate, type2 => withing week, type3 => within a month, type4 => more than a month
field :work_type #type1 => Office worker, type2 => graduate, type3 => foreigner, type4 => internship, type5 => SOHO
field :work_experience_years, type: Integer
field :work_experience_months, type: Integer
field :academic_requirement
field :language_requirement
field :tools_requirement
field :category
field :location_of_work
field :industrial_area
field :filled, type: Boolean, :default => false
belongs_to :employer_profile
end