update model with files and new attributes

This commit is contained in:
amazuecos
2025-04-05 09:40:08 +02:00
parent 7dd2e8c1c6
commit 139724ae8a

View File

@ -33,29 +33,14 @@ class OrdenTrabajoModel extends Model
"realizar_imposicion",
"enviar_impresion",
"portada_path",
"is_pedido_espera",
"pedido_espera_by"
];
protected bool $allowEmptyInserts = false;
protected bool $updateOnlyChanged = true;
protected array $casts = [
"pedido_id" => "integer",
"user_created_id" => "?integer",
"user_updated_id" => "?integer",
"fecha_entrega_warning" => "bool",
"fecha_entrega_warning_revised" => "bool",
"total_tirada" => "?integer",
"total_precio" => "?integer",
"tipo_entrada" => "?integer",
"progreso" => "float",
"revisar_formato" => "bool",
"revisar_lomo" => "bool",
"revisar_solapa" => "bool",
"revisar_isbn" => "bool",
"revisar_codigo_barras" => "bool",
"realizar_imposicion" => "bool",
"enviar_impresion" => "bool"
];
protected array $casts = [];
protected array $castHandlers = [];
// Dates