JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "TutorCategory.php"
Full Path: /home2/yvrgircc/public_html/ariseskilltech.com/app/Models/TutorCategory.php
File size: 369 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 TutorCategory extends Model
{
use HasFactory;
public function category_to_tutorSchedule()
{
return $this->hasMany(TutorSchedule::class,'category_id','id')
->where('start_time', '>=', time());
}
}