<?php
/**
 * Created by PhpStorm.
 * User: 思维定制
 * Date: 2018/11/27
 * Time: 9:45
 */

namespace App\Models;


class AgentBannerModel extends BaseModel
{
    protected $table = 'agent_banner';

    /**
    主键
     */
    protected $primaryKey = 'id';

    //分页
    protected $perPage = PAGE_NUMS;

    /**
     * 可以被集体附值的表的字段
     *
     * @var string
     */
    protected $fillable = [
        'store_id',
        'url',
        'name',
        'oss_key',
        'type',
    ];
}