# The BaseFiles table contains all the File references for a particular JobId that point
#  to a Base file - i.e. they were previously saved and hence were not saved in the current
#  JobId but in BaseJobId under FileId.
class BaseFile < ActiveRecord::Base
  self.table_name = :BaseFiles
  self.primary_key = :BaseId

  alias_attribute :id, :BaseId
  alias_attribute :base_job_id, :BaseJobId
  alias_attribute :job_id, :JobId
  alias_attribute :file_id, :FileId
  alias_attribute :file_index, :FileIndex
end
