belongsTo(Student::class, 'id_student'); } public static function findById($id) { return self::with('student')->findOrFail($id); } }