32 lines
700 B
PHP
32 lines
700 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace app\index\model;
|
|
|
|
/**
|
|
* 广告模型
|
|
* @mixin \think\Model
|
|
*/
|
|
class Advertisement extends BaseModel
|
|
{
|
|
protected $schema = [
|
|
'id' =>'int',
|
|
'platform_id' =>'int',
|
|
'language_id' =>'int',
|
|
'site_id' =>'int',
|
|
'advertise_space_id' =>'int',
|
|
'command' =>'string',
|
|
'name' =>'string',
|
|
'image' =>'string',
|
|
'url' =>'string',
|
|
'start_time' =>'int',
|
|
'stop_time' =>'int',
|
|
'play_order' =>'int',
|
|
'sort' =>'int',
|
|
'status' =>'int',
|
|
'create_time' =>'int',
|
|
'update_time' =>'int',
|
|
];
|
|
|
|
|
|
}
|