<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 横幅模型
 * @mixin \think\Model
 */
class SysBannerBaseModel extends BaseModel
{
    // 表名
    protected $name = 'sys_banner';

    // 主键
    protected $pk = 'id';

    // 字段信息
    protected $schema = [
        'id'           => 'int',
        'language_id'  => 'int',
        'at_platform'  => 'string',
        'at_page'      => 'string',
        'unique_label' => 'string',
        'name'         => 'string',
        'desc'         => 'string',
        'sort'         => 'sort',
        'recommend'    => 'int',
        'status'       => 'int',
        'created_at'   => 'datetime',
        'updated_at'   => 'datetime',
        'deleted_at'   => 'datetime',
    ];
}
