chore: init saasshop repo + sql migrations runner + gitee go
This commit is contained in:
21
app/Models/PaymentConfig.php
Normal file
21
app/Models/PaymentConfig.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class PaymentConfig extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'payment_code', 'payment_name', 'provider', 'status', 'is_sandbox', 'supports_refund', 'settings', 'remark',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'is_sandbox' => 'boolean',
|
||||
'supports_refund' => 'boolean',
|
||||
'settings' => 'array',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user