<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Review extends Model {protected $guarded=[]; protected function casts():array{return ['scores'=>'array','publish_consent'=>'boolean','submitted_at'=>'datetime','token_expires_at'=>'datetime'];} public function user(){return $this->belongsTo(User::class);} public function project(){return $this->belongsTo(Project::class);}}
