mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-08 14:11:42 +08:00
update model coin_change
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
class CoinChange < ApplicationRecord
|
||||
belongs_to :to_wallet, class_name: 'Wallet'
|
||||
belongs_to :from_wallet, class_name: 'Wallet'
|
||||
validates :amount, presence: true
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user