dev
parent
a9d28b2b2d
commit
d69dcdb6ac
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
class Withdraw extends Model
|
||||
{
|
||||
protected $table = 'withdraw';
|
||||
|
||||
public function app()
|
||||
{
|
||||
return $this->belongsTo(App::class, 'app_id', 'app_id');
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
class WithdrawApply extends Model
|
||||
{
|
||||
protected $table = 'withdraw_apply';
|
||||
|
||||
public function app()
|
||||
{
|
||||
return $this->belongsTo(App::class, 'app_id', 'app_id');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue