mirror of
https://gh.wpcy.net/https://github.com/thomas-deep/freescoutAI.git
synced 2026-05-24 10:56:58 +08:00
26 lines
461 B
PHP
26 lines
461 B
PHP
<?php
|
|
|
|
namespace Modules\FreeScoutAI\Entities;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class AISettings extends Model
|
|
{
|
|
protected $table = 'freescoutai_settings';
|
|
|
|
protected $primaryKey = 'mailbox_id';
|
|
|
|
public $incrementing = false;
|
|
|
|
protected $fillable = [
|
|
'mailbox_id',
|
|
'enabled',
|
|
'provider',
|
|
'api_key',
|
|
'model'
|
|
];
|
|
|
|
protected $casts = [
|
|
'enabled' => 'boolean'
|
|
];
|
|
}
|