init: 项目初始代码
This commit is contained in:
24
app/api/model/Attachment.php
Normal file
24
app/api/model/Attachment.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
namespace app\api\model;
|
||||
|
||||
/**
|
||||
* 文章
|
||||
* @mixin \think\Model
|
||||
*/
|
||||
class Attachment extends BaseModel
|
||||
{
|
||||
protected $schema = [
|
||||
'id' => 'int',
|
||||
'platform_id' => 'int',
|
||||
'site_id' => 'int',
|
||||
'name' => 'string',
|
||||
'type' => 'string',
|
||||
'local' => 'string',
|
||||
'path' => 'string',
|
||||
'hash' => 'string',
|
||||
'md5' => 'string',
|
||||
'create_time' => 'int',
|
||||
'update_time' => 'int'
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user