<?php

namespace Modules\Product\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;
use Modules\Option\Models\Option;

class ProductLog extends Model
{
    protected $fillable =
        [
            'message','product_id','reason_id'
        ];
    public function reason()
    {
        return $this->belongsTo(Option::class,'reason_id')->withTrashed();
    }
}
