<?php

namespace app\model\dynasty;

use app\extra\basic\Model;


/**
 * @property integer $id (主键)
 * @property string $name 
 * @property string $sub_name 
 * @property integer $poem_total 诗词数量
 * @property integer $author_total 作者数量
 * @property integer $status 
 * @property string $pinyin 
 * @property integer $type 1朝代2古籍
 * @property mixed $create_at
 */
class Dynasty extends Model
{
    /**
     * The connection name for the model.
     *
     * @var string|null
     */
    protected $connection = 'mysql';
    
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected string $table = "dynasty";
    
    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected string $primaryKey = "id";
    
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public bool $timestamps = false;


}
