<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * FAQ模型
 * @mixin \think\Model
 */
class FaqBaseModel extends BaseModel
{
    // 表名
    protected $name = 'faq';
    
    // 主键
    protected $pk = 'id';

    // 字段信息
    protected $schema = [
        'id'          => 'int',
        'language_id' => 'int',
        'image'       => 'string',
        'question'    => 'string',
        'answer'      => 'string',
        'recommend'   => 'int',
        'sort'        => 'int',
        'created_at'  => 'datetime',
        'updated_at'  => 'datetime',
        'deleted_at'  => 'datetime',
    ];
}
