<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;


class Log extends Model
{
    protected  $fillable = ['object_id', 'created_by', 'updated_by', 'status_id', 'from', 'deleted_by',];
    use SoftDeletes;


    public  function user(){
        return $this->belongsTo(User::class);
    }

    /**
     * The attributes that should be mutated to dates.
     *
     * @var array
     */
    protected $dates = ['deleted_at'];
}
