25 lines
592 B
PHP
25 lines
592 B
PHP
<?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'
|
|
];
|
|
|
|
}
|