<?php
namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * StudentSession Entity
 *
 * @property int $id
 * @property int $student_id
 * @property int $session_id
 * @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\Session $session
 */
class StudentSession 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,
        'session_id' => true,
        'created_by' => true,
        'updated_by' => true,
        'created_at' => true,
        'updated_at' => true,
        'student' => true,
        'session' => true,
    ];
}
