<?php
namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * Admission Entity.
 *
 * @property int $id
 * @property string $motivo
 * @property string $hda
 * @property string $int_hb
 * @property string $int_cti
 * @property string $equipe_assistente
 * @property string $alergias
 * @property bool $isolamento
 * @property string $motivo_hda
 * @property string $outras_patologia
 * @property int $screening_id
 * @property \App\Model\Entity\Screening $screening
 * @property \Cake\I18n\Time $created
 * @property string $status
 * @property \App\Model\Entity\HabitualMedication[] $habitual_medications
 * @property \App\Model\Entity\Hpp[] $hpps
 * @property \App\Model\Entity\PhysicalExam[] $physical_exams
 * @property \App\Model\Entity\RelevantComplementaryExam[] $relevant_complementary_exams
 */
class Admission 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 = [
        '*' => true,
        'id' => false,
    ];
}
