商户订单
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace Modules\Merchant\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MerchantWithdrawalModel extends Model
|
||||
{
|
||||
protected $table = 'merchant_withdrawals';
|
||||
|
||||
protected $fillable = [
|
||||
'withdraw_no',
|
||||
'merchant_id',
|
||||
'amount',
|
||||
'channel',
|
||||
'account_info',
|
||||
'status',
|
||||
'remark',
|
||||
'processed_at',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'merchant_id' => 'integer',
|
||||
'amount' => 'decimal:2',
|
||||
'account_info' => 'array',
|
||||
'status' => 'integer',
|
||||
'processed_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user