<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 批量采购询盘模型
 * @mixin \think\Model
 */
class BulkPurchaseInquiryBaseModel extends BaseModel
{
    // 表名
    protected $name = 'bulk_purchase_inquiry';

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

    // 字段信息
    protected $schema = [
        'id'          => 'int',
        'language_id' => 'int',
        'corp_name'   => 'string',
        'first_name'  => 'string',
        'last_name'   => 'string',
        'email'       => 'string',
        'phone'       => 'string',
        'province'    => 'string',
        'city'        => 'string',
        'district'    => 'string',
        'street'      => 'string',
        'interested'  => 'string',
        'url'         => 'string',
        'referer_url' => 'string',
        'message'     => 'string',
        'ip'          => 'string',
        'created_at'  => 'datetime'
    ];
}
