<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class PackagePhoto extends Model
{
    public $timestamps = false;

    protected $fillable = ['image', 'package_id'];


    /**
     * Return package for package image
     * @return BelongsTo
     */
    public function package() :BelongsTo
    {
        return $this->belongsTo(Package::class);
    }
}
