<?php

namespace app\model\poem;

use app\extra\basic\Model;


/**
 * @property integer $id (主键)
 * @property string $title 标题
 * @property mixed $poem_id 随机ID
 * @property integer $author_id 作者ID
 * @property mixed $author_name 作者名称
 * @property integer $dynasty_id 朝代ID
 * @property mixed $dynasty_name 朝代名称
 */
class PoemData 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 = "poem_data";
    
    /**
     * 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;


}
