añadido calculo de formas rot y merma automatica para rot

This commit is contained in:
2023-12-28 12:43:23 +01:00
parent 101b6508de
commit 98b416cedc
18 changed files with 521 additions and 17 deletions

View File

@ -0,0 +1,33 @@
<?php
namespace App\Entities\Cliente;
use CodeIgniter\Entity;
class ClientePreciosEntity extends \CodeIgniter\Entity\Entity
{
protected $attributes = [
"id" => null,
"cliente_id" => null,
"tipo" => null,
"tipo_maquina" => null,
"tipo_impresion" => null,
"tiempo_min" => null,
"tiempo_max" => null,
"margen" => null,
"is_deleted" => 0,
"deleted_at" => null,
"created_at" => null,
"updated_at" => null,
"user_updated_id" => null,
"user_created_id" => null,
];
protected $casts = [
"cliente_id" => "int",
"tiempo_min" => "float",
"tiempo_max" => "float",
"margen" => "float",
"is_deleted" => "int",
"user_updated_id" => "int",
"user_created_id" => "int",
];
}