<?php
declare(strict_types=1);

namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * @property int $id
 * @property int $teacher_id
 * @property int|null $lesson_id
 * @property \Cake\I18n\Date $session_date
 * @property string|null $time_label
 * @property string|null $notes
 * @property \Cake\I18n\DateTime|null $created
 * @property \Cake\I18n\DateTime|null $modified
 * @property \App\Model\Entity\Teacher $teacher
 * @property \App\Model\Entity\Lesson|null $lesson
 */
class TeacherAvailabilitySlot extends Entity
{
    /**
     * @var array<string, bool>
     */
    protected array $_accessible = [
        'teacher_id' => true,
        'lesson_id' => true,
        'session_date' => true,
        'time_label' => true,
        'notes' => true,
        'created' => true,
        'modified' => true,
        'teacher' => true,
        'lesson' => true,
    ];
}
