init: 项目初始代码
This commit is contained in:
24
app/api/model/Video.php
Normal file
24
app/api/model/Video.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
declare (strict_types = 1);
|
||||
|
||||
namespace app\api\model;
|
||||
|
||||
/**
|
||||
* 产品视频模型
|
||||
*/
|
||||
class Video extends BaseModel
|
||||
{
|
||||
protected $schema = [
|
||||
'id' => 'int',
|
||||
'platform_id' => 'int',
|
||||
'site_id' => 'int',
|
||||
'name' => 'string',
|
||||
'image' => 'string',
|
||||
'url' => 'string',
|
||||
'is_top' => 'int',
|
||||
'sort' => 'int',
|
||||
'create_time' => 'int',
|
||||
'update_time' => 'int'
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user