<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 导航模型
 * @mixin \think\Model
 */
class SysNavigationBaseModel extends BaseModel
{
    // 表名
    protected $name = 'sys_navigation';
    
    // 主键
    protected $pk = 'id';

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