sigo-entities 1.2.411 → 1.2.412

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -5227,6 +5227,7 @@ declare class ConsumoMaterialAlemaniaENTITY {
5227
5227
  }
5228
5228
 
5229
5229
  declare class StockPersonalEquiposENTITY {
5230
+ _id: string;
5230
5231
  ID_StockPersonalEquipos: number;
5231
5232
  ID_StockPersonal: number;
5232
5233
  Identificacion: string;
package/dist/index.d.ts CHANGED
@@ -5227,6 +5227,7 @@ declare class ConsumoMaterialAlemaniaENTITY {
5227
5227
  }
5228
5228
 
5229
5229
  declare class StockPersonalEquiposENTITY {
5230
+ _id: string;
5230
5231
  ID_StockPersonalEquipos: number;
5231
5232
  ID_StockPersonal: number;
5232
5233
  Identificacion: string;
package/dist/index.js CHANGED
@@ -28163,6 +28163,7 @@ __decorateClass([
28163
28163
  var import_class_transformer480 = require("class-transformer");
28164
28164
  var import_class_validator478 = require("class-validator");
28165
28165
  var StockPersonalEquiposENTITY = class {
28166
+ _id;
28166
28167
  ID_StockPersonalEquipos = 0;
28167
28168
  ID_StockPersonal = 0;
28168
28169
  Identificacion = "";
@@ -28170,6 +28171,11 @@ var StockPersonalEquiposENTITY = class {
28170
28171
  CodigoBusqueda = "";
28171
28172
  Equipos = [];
28172
28173
  };
28174
+ __decorateClass([
28175
+ (0, import_class_validator478.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
28176
+ (0, import_class_validator478.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
28177
+ (0, import_class_transformer480.Expose)()
28178
+ ], StockPersonalEquiposENTITY.prototype, "_id", 2);
28173
28179
  __decorateClass([
28174
28180
  (0, import_class_transformer480.Expose)(),
28175
28181
  (0, import_class_validator478.IsNumber)({}, { message: "debe ser un numero" }),