项目初始化
This commit is contained in:
20
app/admin/model/AdminGroup.php
Normal file
20
app/admin/model/AdminGroup.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
use app\common\model\traits\TimestampInteger;
|
||||
use support\think\Model;
|
||||
|
||||
/**
|
||||
* AdminGroup 模型(Webman 迁移版)
|
||||
*/
|
||||
class AdminGroup extends Model
|
||||
{
|
||||
use TimestampInteger;
|
||||
|
||||
protected string $table = 'admin_group';
|
||||
protected string $pk = 'id';
|
||||
protected bool $autoWriteTimestamp = true;
|
||||
}
|
||||
Reference in New Issue
Block a user