belongsTo(User::class); } public function store(){ return $this->belongsTo(Store::class); } /** * The attributes that should be mutated to dates. * * @var array */ protected $dates = ['created_at', 'updated_at']; }