<?php
declare (strict_types = 1);

namespace app\common\model;

/**
 * 代理商数据模型
 * @mixin \think\Model
 */
class AgentBaseModel extends BaseModel
{
    // 表名
    protected $name = 'agent';

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

    // 字段信息
    protected $schema = [
        'id'              => 'int',
        'language_id'     => 'int',
        'corp_name'       => 'string',
        'email'           => 'string',
        'phone'           => 'string',
        'referer_url'     => 'string',
        'website_url'     => 'string',
        'business_type'   => 'string',
        'enterprise_size' => 'string',
        'address'         => 'string',
        'message'         => 'string',
        'ip'              => 'string',
        'created_at'      => 'datetime'
    ];
}
