<?php

declare(strict_types=1);

namespace App\Models;

use App\Contracts\Model;
use Illuminate\Database\Eloquent\Attributes\WithoutIncrementing;
use Illuminate\Database\Eloquent\Attributes\WithoutTimestamps;

/**
 * @property string $key
 * @property string $value
 *
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Kvp newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Kvp newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Kvp query()
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Kvp whereKey($value)
 * @method static \Illuminate\Database\Eloquent\Builder<static>|Kvp whereValue($value)
 *
 * @mixin \Eloquent
 */
#[WithoutIncrementing]
#[WithoutTimestamps]
class Kvp extends Model
{
    public $table = 'kvp';

    protected $keyType = 'string';

    public $fillable = [
        'key',
        'value',
    ];
}
