项目初始化
This commit is contained in:
20
app/admin/model/SensitiveData.php
Normal file
20
app/admin/model/SensitiveData.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace app\admin\model;
|
||||
|
||||
use support\think\Model;
|
||||
|
||||
class SensitiveData extends Model
|
||||
{
|
||||
protected string $table = 'security_sensitive_data';
|
||||
protected string $pk = 'id';
|
||||
protected bool $autoWriteTimestamp = true;
|
||||
|
||||
protected array $type = [
|
||||
'create_time' => 'integer',
|
||||
'update_time' => 'integer',
|
||||
'data_fields' => 'array',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user