瀏覽代碼

Remove deprecated BigDecimal

master
Adrian Short 9 年之前
父節點
當前提交
17cbf64288
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      models.rb

+ 1
- 1
models.rb 查看文件

@@ -6,7 +6,7 @@ class Payment
property :updated_at, DateTime
property :service_id, Integer, :required => true
property :supplier_id, Integer, :required => true
property :amount, BigDecimal, :precision => 10, :scale => 2, :required => true # ex VAT
property :amount, Decimal, :precision => 10, :scale => 2, :required => true # ex VAT
property :d, Date, :required => true # transaction date
property :transaction_id, Integer # May not be unique per payment as one transaction could have several payments


Loading…
取消
儲存