lib/wolf_core/application/burnett/data_transformation/mappings.rb



module WolfCore
  module Burnett
    module Mappings
      JOB_TYPE_MAPPING = {
        '144' => '26',
        '145' => '30',
        '153' => '24',
        '152' => '28',
        '155' => '12',
        '156' => '22',
        '150' => '27',
        '148' => '31',
        '158' => '25',
        '151' => '29',
        '163' => '23',
      }

      def map_job_type(value)
        JOB_TYPE_MAPPING[value] || value
      end

      def revert_map_job_type(value)
        JOB_TYPE_MAPPING.invert[value] || value
      end
    end
  end
end