mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-07 21:20:53 +00:00
Fix #98 ; Fix some missing class errors; Finished the validation for configs & simplify the store/update process; Combined the User node info & subscribe node info as one unit;
21 lines
307 B
PHP
21 lines
307 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* 等级.
|
|
*/
|
|
class Level extends Model
|
|
{
|
|
public $timestamps = false;
|
|
protected $table = 'level';
|
|
protected $guarded = [];
|
|
|
|
public function users()
|
|
{
|
|
return $this->hasMany(User::class, 'level');
|
|
}
|
|
}
|