mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
añadida migracion y modelo, entidad y controlador basicos
This commit is contained in:
23
ci4/app/Entities/Tarifas/Acabados/ServicioAcabadoEntity.php
Normal file
23
ci4/app/Entities/Tarifas/Acabados/ServicioAcabadoEntity.php
Normal 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",
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user