Files
ProxyPanel/app/Models/Config.php
兔姬桑 71828a0ac5 数据库改版 +Rule 编辑相关 (Rule未实际应用)
1. 规范化数据库数据;
2. 添加Rule相关页面
为未来加入web api做准备
2020-08-05 03:20:33 +08:00

28 lines
681 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
/**
* 系统配置
*
* @property int $id
* @property string $name 配置名
* @property string|null $value 配置值
* @method static Builder|Config newModelQuery()
* @method static Builder|Config newQuery()
* @method static Builder|Config query()
* @method static Builder|Config whereId($value)
* @method static Builder|Config whereName($value)
* @method static Builder|Config whereValue($value)
* @mixin \Eloquent
*/
class Config extends Model {
public $timestamps = false;
protected $table = 'config';
protected $primaryKey = 'id';
}