23 lines
448 B
PHP
23 lines
448 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace app\admin\model;
|
|
|
|
use support\think\Model;
|
|
|
|
class CrudLog extends Model
|
|
{
|
|
protected string $table = 'crud_log';
|
|
protected string $pk = 'id';
|
|
protected bool $autoWriteTimestamp = true;
|
|
protected bool $updateTime = false;
|
|
|
|
protected array $type = [
|
|
'create_time' => 'integer',
|
|
'update_time' => 'integer',
|
|
'table' => 'array',
|
|
'fields' => 'array',
|
|
];
|
|
}
|