<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 留言记录（联系我们）模型
 * @mixin \think\Model
 */
class LeaveMessageBaseModel extends BaseModel
{
    // 表名
    protected $name = 'leave_message';

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

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