recruitment/app/models/employee_experience.rb

14 lines
307 B
Ruby

class EmployeeExperience
include Mongoid::Document
include Mongoid::Timestamps
field :company_name, localize: true
field :job_title, localize: true
field :responsibilities, localize: true
field :start_date, type: DateTime
field :end_date, type: DateTime
belongs_to :employee_profile
end