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

27 lines
665 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
/**
* 国家/地区
*
* @property int $id
* @property string $name 名称
* @property string $code 代码
* @method static Builder|Country newModelQuery()
* @method static Builder|Country newQuery()
* @method static Builder|Country query()
* @method static Builder|Country whereCode($value)
* @method static Builder|Country whereId($value)
* @method static Builder|Country whereName($value)
* @mixin \Eloquent
*/
class Country extends Model {
public $timestamps = false;
protected $table = 'country';
protected $primaryKey = 'id';
}