<?php
namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * StudentCourse Entity
 *
 * @property int $id
 * @property int $student_id
 * @property int $course_id
 * @property \Cake\I18n\Date|null $enrollment_date
 * @property int|null $created_by
 * @property int|null $updated_by
 * @property \Cake\I18n\Time|null $created_at
 * @property \Cake\I18n\Time|null $updated_at
 *
 * @property \App\Model\Entity\Student $student
 * @property \App\Model\Entity\Course $course
 */
class StudentCourse extends Entity
{
    /**
     * Fields that can be mass assigned using newEntity() or patchEntity().
     *
     * Note that when '*' is set to true, this allows all unspecified fields to
     * be mass assigned. For security purposes, it is advised to set '*' to false
     * (or remove it), and explicitly make individual fields accessible as needed.
     *
     * @var array
     */
    protected $_accessible = [
        'student_id' => true,
        'course_id' => true,
        'enrollment_date' => true,
        'created_by' => true,
        'updated_by' => true,
        'created_at' => true,
        'updated_at' => true,
        'student' => true,
        'course' => true,
    ];
}
