<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * @mixin \think\Model
 */
class ArticleLeaveMessageBaseModel extends BaseModel
{
    // 表名
    protected $name = 'article_leave_message';

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

    // 字段信息
    protected $schema = [
        'id'         => 'int',
        'article_id' => 'int',
        'name'       => 'string',
        'email'      => 'string',
        'content'    => 'string',
        'ip'         => 'string',
        'user_agent' => 'string',
        'is_audited' => 'int',
        'created_at' => 'datetime',
        'deleted_at' => 'datetime'
    ];
}
