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

27 lines
645 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
/**
* 标签
*
* @property int $id
* @property string $name 名称
* @property int $sort 排序值
* @method static Builder|Label newModelQuery()
* @method static Builder|Label newQuery()
* @method static Builder|Label query()
* @method static Builder|Label whereId($value)
* @method static Builder|Label whereName($value)
* @method static Builder|Label whereSort($value)
* @mixin \Eloquent
*/
class Label extends Model {
public $timestamps = false;
protected $table = 'label';
protected $primaryKey = 'id';
}