<?php
/**
 * Created by PhpStorm.
 * User: hp
 * Date: 2017/11/21
 * Time: 8:59
 */

namespace App\Modules\Promotion\Models;

use Illuminate\Database\Eloquent\Model;

/**
 * Class Headline  标题
 * @package App\Modules\Promotion\Models
 */
class BgImages extends Model
{
    protected $table = 'bg_images';

    /**
     * @return mixed  获取所有的模板图
     */
    static function getAllBgImages()
    {
        return $result = self::get();
    }
}