<?php
namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * Unit Entity.
 *
 * @property int $id
 * @property string $name
 * @property string $email
 * @property string $telephone
 * @property string $street
 * @property string $city
 * @property string $cep
 * @property string $address_number
 * @property string $state
 * @property int $group_id
 * @property \App\Model\Entity\Group $group
 * @property string $term_condition
 * @property bool $is_active
 * @property \Cake\I18n\Time $tempo_de_descontaminacao_da_sala_cirurgica
 * @property \Cake\I18n\Time $tempo_de_descontaminacao_de_leito_da_UTI
 * @property \Cake\I18n\Time $tempo_de_descontaminacao_da_sala_cirurgica_contaminada
 * @property \Cake\I18n\Time $tempo_de_descontaminacao_de_leito_da_unidade_de_internacao
 * @property string $termo_de_consentimento_informado
 * @property string $modelo_de_boletim_medico_file
 * @property string $modelo_de_descricao_de_informacao_do_paciente_file
 * @property string $modelo_de_relatorio_medico_padrao_file
 * @property \App\Model\Entity\HealthInsurancePlan[] $health_insurance_plans
 * @property \App\Model\Entity\Hospitalization[] $hospitalizations
 * @property \App\Model\Entity\Origin[] $origins
 * @property \App\Model\Entity\Sign[] $signs
 * @property \App\Model\Entity\Goal[] $goals
 * @property \App\Model\Entity\User[] $users
 * @property \App\Model\Entity\Patient[] $patients
 * @property \App\Model\Entity\Privilege[] $privileges
 */
class Unit 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,
    ];
}
