Sha256: 5fcb75c5ae84ce69dd3529db2001d1fb64bf77edc0b1203e1538ae10f38278e2

Contents?: true

Size: 383 Bytes

Versions: 11

Compression:

Stored size: 383 Bytes

Contents

module Crm
  class Currency < ::ApplicationRecord
    self.table_name = "TransactionCurrency"
    self.primary_key = "TransactionCurrencyId"

    validates :CurrencyName, presence: true
    validates :CurrencyPrecision, presence: true
    validates :CurrencySymbol, presence: true
    validates :ExchangeRate, presence: true
    validates :ISOCurrencyCode, presence: true

  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
activerecord_sqlserver_crm-5.1.3 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.1.2 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.1.1 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.7 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.6 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.1.0 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.5 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.4 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.3 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.2 app/models/crm/currency.rb
activerecord_sqlserver_crm-5.0.1 app/models/crm/currency.rb