JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "TutorSubject.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/app/Models/TutorSubject.php
File size: 366 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class TutorSubject extends Model
{
use HasFactory;
public function subject_to_tutorSchedule()
{
return $this->hasMany(TutorSchedule::class,'subject_id','id')
->where('start_time', '>=', time());
}
}