2021-12-01 13:47:20 +01:00
|
|
|
<?php
|
|
|
|
|
2021-12-02 13:15:53 +01:00
|
|
|
namespace App\Models;
|
2021-12-01 13:47:20 +01:00
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
|
2023-03-02 15:24:57 +01:00
|
|
|
/**
|
|
|
|
* App\Models\Option
|
|
|
|
*
|
|
|
|
* @property int $id
|
|
|
|
* @property string $key
|
|
|
|
* @property string $value
|
|
|
|
*/
|
2021-12-01 13:47:20 +01:00
|
|
|
class Option extends Model
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* The attributes that are mass assignable.
|
|
|
|
*
|
2024-04-20 19:03:44 +02:00
|
|
|
* @var array<int, string>
|
2021-12-01 13:47:20 +01:00
|
|
|
*/
|
|
|
|
protected $fillable = [
|
|
|
|
'key',
|
|
|
|
'value',
|
|
|
|
];
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Indicates if the model should be timestamped.
|
|
|
|
*
|
|
|
|
* @var bool
|
|
|
|
*/
|
|
|
|
public $timestamps = false;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Casts.
|
|
|
|
*
|
2022-11-17 16:46:29 +01:00
|
|
|
* @var array<string, string>
|
2021-12-01 13:47:20 +01:00
|
|
|
*/
|
|
|
|
protected $casts = [];
|
2022-11-22 15:15:52 +01:00
|
|
|
}
|