añadida migracion y modelo, entidad y controlador basicos

This commit is contained in:
2025-02-24 09:59:35 +01:00
parent c5f1f0e55a
commit c1cae0fcf7
5 changed files with 251 additions and 0 deletions

View File

@ -0,0 +1,23 @@
<?php
namespace App\Entities\Tarifas\Acabados;
use CodeIgniter\Entity;
class ServicioAcabadoEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"nombre" => null,
'mostrar_en_cliente' => false,
"comentarios" => null,
"user_updated_id" => 0,
"created_at" => null,
"updated_at" => null,
"deleted_at" => null,
];
protected $casts = [
"mostrar_en_cliente" => "boolean",
"comentarios" => "string",
"user_updated_id" => "int",
];
}