Files
yusheng-php/application/guildadmin/model/AuthGroup.php
2025-11-18 10:07:09 +08:00

23 lines
436 B
PHP

<?php
namespace app\guildadmin\model;
use think\Model;
class AuthGroup extends Model
{
// 开启自动写入时间戳字段
protected $autoWriteTimestamp = 'int';
protected $table = 'fa_vs_guild_admin_auth_group';
// 定义时间戳字段名
protected $createTime = 'createtime';
protected $updateTime = 'updatetime';
public function getNameAttr($value, $data)
{
return __($value);
}
}