mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.6 KiB
PHP
41 lines
1.6 KiB
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Spatie\Translatable\HasTranslations;
|
|
|
|
/**
|
|
* App\Models\Setting
|
|
*
|
|
* @property int $id
|
|
* @property string $section
|
|
* @property string $type
|
|
* @property string $title
|
|
* @property int $active
|
|
* @property string $key
|
|
* @property string|null $value
|
|
* @property \Illuminate\Support\Carbon|null $created_at
|
|
* @property \Illuminate\Support\Carbon|null $updated_at
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereActive($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereCreatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereKey($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereSection($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereTitle($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereType($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereUpdatedAt($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|Setting whereValue($value)
|
|
* @mixin \Eloquent
|
|
*/
|
|
class Setting extends Model
|
|
{
|
|
use HasFactory,HasTranslations;
|
|
|
|
public $translatable = ['value'];
|
|
}
|