mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-29 03:33:17 +01:00
49 lines
1.1 KiB
PHP
49 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* App\Models\Option
|
|
*
|
|
* @property int $id
|
|
* @property string $key
|
|
* @property string $value
|
|
*
|
|
* @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)
|
|
*
|
|
* @mixin \Eloquent
|
|
*/
|
|
class Option extends Model
|
|
{
|
|
/**
|
|
* The attributes that are mass assignable.
|
|
*
|
|
* @var array<int, string>
|
|
*/
|
|
protected $fillable = [
|
|
'key',
|
|
'value',
|
|
];
|
|
|
|
/**
|
|
* Indicates if the model should be timestamped.
|
|
*
|
|
* @var bool
|
|
*/
|
|
public $timestamps = false;
|
|
|
|
/**
|
|
* Casts.
|
|
*
|
|
* @var array<string, string>
|
|
*/
|
|
protected $casts = [];
|
|
}
|