refactor: 修改图片/视频上传记录表名

This commit is contained in:
2025-02-28 14:03:38 +08:00
parent c28363eef6
commit ca40dc3cc8
7 changed files with 25 additions and 26 deletions

View File

@@ -0,0 +1,33 @@
<?php
declare (strict_types = 1);
namespace app\common\model;
use think\Model;
/**
* @mixin \think\Model
*/
class SysImageUploadRecordBaseModel extends Model
{
// 表名
protected $name = 'sys_image_upload_record';
// 主键
protected $pk = 'id';
// 字段信息
protected $schema = [
'id' => 'int',
'language_id' => 'int',
'module' => 'string',
'image_path' => 'string',
'image_thumb' => 'string',
'file_size' => 'int',
'file_type' => 'string',
'file_md5' => 'string',
'file_sha1' => 'string',
'created_at' => 'datetime',
'deleted_at' => 'datetime',
];
}