chore: init saasshop repo + sql migrations runner + gitee go
This commit is contained in:
23
app/Models/ChannelConfig.php
Normal file
23
app/Models/ChannelConfig.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ChannelConfig extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
protected $fillable = [
|
||||
'channel_code', 'channel_name', 'channel_type', 'status', 'entry_path',
|
||||
'supports_login', 'supports_payment', 'supports_share', 'sort', 'settings', 'remark',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'supports_login' => 'boolean',
|
||||
'supports_payment' => 'boolean',
|
||||
'supports_share' => 'boolean',
|
||||
'settings' => 'array',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user