<?php
/**
 * Created by PhpStorm.
 * User: machengjun
 * Date: 2018/3/22
 * Time: 下午5:29
 */
namespace App\Modules\Models\RepairImages;

use Illuminate\Database\Eloquent\Model;

class RepairImages extends Model
{

    protected $table = 'repair_images';
    protected $fillable = ['id','repairs_id', 'url'];

    public function getUrlAttribute($value)
    {
        return config('constants.tencent.IMG_BUCKET_URLS').$value;
    }
}