<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 产品询盘记录模型
 * @mixin \think\Model
 */
class ProductInquiryBaseModel extends BaseModel
{
    // 表名
    protected $name = 'product_inquiry';

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

    // 字段信息
    protected $schema = [
        'id'           => 'int',
        'language_id'  => 'int',
        'corp_name'    => 'string',
        'first_name'   => 'string',
        'last_name'    => 'string',
        'email'        => 'string',
        'phone'        => 'string',
        'country_name' => 'string',
        'industry'     => 'string',
        'referer_url'  => 'string',
        'message'      => 'string',
        'created_at'   => 'datetime'
    ];
}
