<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ClassSchedule extends Model
{
    protected $fillable = [
        'training_class_id','teacher_id','title','study_date','start_time','end_time','location','content','status','note',
    ];

    public function trainingClass(){ return $this->belongsTo(TrainingClass::class); }
    public function teacher(){ return $this->belongsTo(Teacher::class); }
}
