12
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
<?php
|
||||
namespace app\model\Openim;
|
||||
|
||||
use think\Model;
|
||||
/**
|
||||
* @property string $engine
|
||||
* @property string $name
|
||||
* @property string $content_type
|
||||
* @property datetime $create_time
|
||||
* @property string $group
|
||||
* @property string $key
|
||||
* @property int $size
|
||||
*/
|
||||
class S3 extends \app\model\Base
|
||||
{
|
||||
protected $table = 's3';
|
||||
protected $schema = [
|
||||
'engine' => 'string',
|
||||
'name' => 'string',
|
||||
'content_type' => 'string',
|
||||
'create_time' => 'datetime',
|
||||
'group' => 'string',
|
||||
'key' => 'string',
|
||||
'size' => 'int',
|
||||
];
|
||||
protected function getOptions(): array{
|
||||
return array_merge(parent::getOptions(),[
|
||||
'connection' => 'immongodb',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user