'date', 'completed_at' => 'datetime', 'total_questions' => 'integer', 'answered_questions' => 'integer', ]; protected $hidden = [ 'deleted_at', ]; public function category() { return $this->belongsTo(InterviewCategory::class, 'interview_category_id'); } public function interviewer() { return $this->belongsTo(\App\Models\User::class, 'interviewer_id'); } public function answers() { return $this->hasMany(InterviewAnswer::class, 'interview_session_id'); } }