芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/kwesioben.com/paymoney/app/Models/Bank.php
hasMany(Deposit::class, 'bank_id'); } public function transfers() { return $this->hasMany(Transfer::class, 'bank_id'); } public function transactions() { return $this->hasMany(Transaction::class, 'bank_id'); } public function user() { return $this->belongsTo(User::class, 'user_id'); } public function admin() { return $this->belongsTo(Admin::class, 'user_id'); } public function country() { return $this->belongsTo(Country::class, 'country_id'); } public function currency() { return $this->belongsTo(Currency::class, 'currency_id'); } //pm - 1.9 public function file() { return $this->belongsTo(File::class, 'file_id'); } }