Files
hyperf_rbac_framework_serve…/app/Model/AdminUserOperationLog.php
2025-09-16 18:07:10 +08:00

38 lines
985 B
PHP

<?php
declare(strict_types=1);
namespace App\Model;
/**
* @property int $id
* @property int $admin_user_id
* @property string $username
* @property string $method
* @property string $router
* @property string $service_name
* @property string $ip
* @property \Carbon\Carbon $created_at
* @property \Carbon\Carbon $updated_at
* @property string $remark
*/
class AdminUserOperationLog extends Model
{
/**
* The table associated with the model.
*/
protected ?string $table = 'admin_user_operation_log';
/**
* The attributes that are mass assignable.
*/
protected array $fillable = ['id', 'admin_user_id','username', 'method', 'router', 'service_name', 'ip', 'ip_location', 'created_at', 'updated_at', 'remark'];
/**
* The attributes that should be cast to native types.
*/
protected array $casts = ['id' => 'integer', 'admin_user_id' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'];
}