module Vhcs
  class HlidCardProvider < VhcsRecord

    self.table_name = 'HLIDCardProvider'
    self.primary_key = 'ProviderCode'

    alias_attribute :provider_code, :ProviderCode
    alias_attribute :provider_line_1, :ProviderLine1
    alias_attribute :provider_line_2, :ProviderLine2
    alias_attribute :provider_line_3, :ProviderLine3
    alias_attribute :provider_line_4, :ProviderLine4
    alias_attribute :provider_line_5, :ProviderLine5
    alias_attribute :mail_to, :MailTo
    alias_attribute :mail_to_2, :MailTo2
    alias_attribute :contact_line_1, :ContactLine1
    alias_attribute :contact_line_2, :ContactLine2
    alias_attribute :contact_line_3, :ContactLine3
    alias_attribute :group_number, :GroupNumber
    alias_attribute :claim_to_1, :ClaimTo1
    alias_attribute :claim_to_2, :ClaimTo2
    alias_attribute :claim_to_3, :ClaimTo3
    alias_attribute :claim_to_4, :ClaimTo4
    alias_attribute :claim_to_5, :ClaimTo5
    alias_attribute :claim_to_6, :ClaimTo6
    alias_attribute :claim_to_7, :ClaimTo7
    alias_attribute :claim_to_8, :ClaimTo8
    alias_attribute :claim_to_9, :ClaimTo9
    alias_attribute :claim_to_10, :ClaimTo10
    alias_attribute :claim_to_11, :ClaimTo11
    alias_attribute :provider_line_6, :ProviderLine6
    alias_attribute :provider_line_7, :ProviderLine7
    alias_attribute :provider_line_8, :ProviderLine8
    alias_attribute :provider_line_9, :ProviderLine9
    alias_attribute :provider_line_10, :ProviderLine10
    alias_attribute :provider_line_11, :ProviderLine11
    alias_attribute :rx_group_id, :RXGroupId
    alias_attribute :rx_contact, :RXContact
    alias_attribute :provider_lookup_1, :ProviderLookup1
    alias_attribute :provider_lookup_2, :ProviderLookup2
    alias_attribute :precert_1, :Precert1
    alias_attribute :precert_2, :Precert2
    alias_attribute :precert_3, :Precert3
    alias_attribute :precert_4, :Precert4
    alias_attribute :precert_5, :Precert5
    alias_attribute :precert_6, :Precert6
    alias_attribute :provider_line_12, :ProviderLine12
    alias_attribute :claim_to_12, :ClaimTo12

  def attributes
    rails_like = {
        provider_code: self.provider_code,
        provider_line_1: self.provider_line_1,
        provider_line_2: self.provider_line_2,
        provider_line_3: self.provider_line_3,
        provider_line_4: self.provider_line_4,
        provider_line_5: self.provider_line_5,
        mail_to: self.mail_to,
        mail_to_2: self.mail_to_2,
        contact_line_1: self.contact_line_1,
        contact_line_2: self.contact_line_2,
        contact_line_3: self.contact_line_3,
        group_number: self.group_number,
        claim_to_1: self.claim_to_1,
        claim_to_2: self.claim_to_2,
        claim_to_3: self.claim_to_3,
        claim_to_4: self.claim_to_4,
        claim_to_5: self.claim_to_5,
        claim_to_6: self.claim_to_6,
        claim_to_7: self.claim_to_7,
        claim_to_8: self.claim_to_8,
        claim_to_9: self.claim_to_9,
        claim_to_10: self.claim_to_10,
        claim_to_11: self.claim_to_11,
        claim_to_12: self.claim_to_12,
        provider_line_6: self.provider_line_6,
        provider_line_7: self.provider_line_7,
        provider_line_8: self.provider_line_8,
        provider_line_9: self.provider_line_9,
        provider_line_10: self.provider_line_10,
        provider_line_11: self.provider_line_11,
        provider_line_12: self.provider_line_12,
        rx_group_id: self.rx_group_id,
        rx_contact: self.rx_contact,
        provider_lookup_1: self.provider_lookup_1,
        provider_lookup_2: self.provider_lookup_2,
        precert_1: self.precert_1,
        precert_2: self.precert_2,
        precert_3: self.precert_3,
        precert_4: self.precert_4,
        precert_5: self.precert_5,
        precert_6: self.precert_6,
    }
    super.merge(rails_like)
  end


  end
end