Files
orico-official-website/app/common/model/SysImageBaseModel.php

34 lines
679 B
PHP

<?php
declare (strict_types = 1);
namespace app\common\model;
use think\Model;
/**
* @mixin \think\Model
*/
class SysImageBaseModel extends Model
{
// 表名
protected $name = 'sys_image';
// 主键
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',
];
}