17 lines
277 B
PHP
17 lines
277 B
PHP
|
<?php
|
||
|
|
||
|
namespace App\Models;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Option extends Model
|
||
|
{
|
||
|
protected $table = 'options';
|
||
|
|
||
|
protected $fillable = ['name', 'value', 'default', 'type', 'min', 'max'];
|
||
|
|
||
|
protected $casts = [
|
||
|
'options' => 'array'
|
||
|
];
|
||
|
}
|