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
|
2024-09-26 23:50:01 +02:00
|
|
|
*
|
2024-07-05 16:34:25 +02:00
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Option newModelQuery()
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Option newQuery()
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Option query()
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Option whereId($value)
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Option whereKey($value)
|
|
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Option whereValue($value)
|
2024-09-26 23:50:01 +02:00
|
|
|
*
|
2024-06-26 13:53:23 +02:00
|
|
|
* @mixin \Eloquent
|
2023-03-02 15:24:57 +01:00
|
|
|
*/
|
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
|
|
|
}
|