123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace App\Models;
- use Illuminate\Database\Eloquent\SoftDeletes;
- use Slowlyo\OwlAdmin\Models\BaseModel as Model;
- class WalletWithdrawRecord extends Model
- {
- use SoftDeletes;
- protected $table = 'wallet_withdraw_records';
- protected $guarded = [];
-
- public function trans()
- {
- return $this->belongsTo('App\Models\WalletTransRecord', 'trans_record_id');
- }
-
- public function wallet()
- {
- return $this->belongsTo('App\Models\Wallet', 'wallet_id');
- }
- }
|