<?php
namespace App\Entities\Tarifas\Acabados;

use CodeIgniter\Entity;

class TarifaAcabadoEntity extends \CodeIgniter\Entity\Entity
{
    protected $attributes = [
        "id" => null,
        "nombre" => null,
        "code" => null,
        "comment" => null,
        "precio_min" => 0,
        "importe_fijo" => 0,
        "mostrar_en_presupuesto" => 1,
        "acabado_cubierta" => 0,
        "acabado_sobrecubierta" => 0,
        "user_created_id" => 0,
        "user_updated_id" => 0,
        "is_deleted" => 0,
        "deleted_at" => null,
        "created_at" => null,
        "updated_at" => null,
    ];
    protected $casts = [
        "precio_min" => "float",
        "comment" => "string",
        "code" => "string",
        "importe_fijo" => "float",
        "user_created_id" => "int",
        "user_updated_id" => "int",
        "is_deleted" => "int",
    ];
}
