<?php
declare(strict_types=1);

namespace App\Model\Entity;

use Cake\ORM\Entity;

/**
 * Presupuesto Entity
 *
 * @property int $id
 * @property int|null $historia_id
 * @property \Cake\I18n\DateTime $created
 * @property \Cake\I18n\DateTime $modified
 * @property string|null $total
 * @property string|null $notas
 * @property string|null $tipo_de_cambio
 *
 * @property \App\Model\Entity\HistoriaClinica $historias_clinica
 * @property \App\Model\Entity\PresupuestosServicio[] $presupuestos_servicios
 */
class Presupuesto 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<string, bool>
     */
    protected array $_accessible = [
        'historia_id' => true,
        'cliente_facturacion_id' => true,
        'nombre_apellido' => true,
        'telefono' => true,
        'created' => true,
        'modified' => true,
        'total' => true,
        'notas' => true,
        'tipo_de_cambio' => true,
        'paciente' => true,
        'clientes_facturacion' => true,
        'servicios' => true,
        'presupuestos_invoices' => true,
    ];
}
