sigo-entities 1.2.410 → 1.2.411

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
@@ -5326,6 +5326,7 @@ declare class SalidaAlmacenENTITY {
5326
5326
  }
5327
5327
 
5328
5328
  declare class StockPersonalENTITY {
5329
+ _id: string;
5329
5330
  ID_StockPersonal: number;
5330
5331
  Pais: CodigoNombreDTO;
5331
5332
  Delegacion: CodigoNombreDTO;
package/dist/index.d.ts CHANGED
@@ -5326,6 +5326,7 @@ declare class SalidaAlmacenENTITY {
5326
5326
  }
5327
5327
 
5328
5328
  declare class StockPersonalENTITY {
5329
+ _id: string;
5329
5330
  ID_StockPersonal: number;
5330
5331
  Pais: CodigoNombreDTO;
5331
5332
  Delegacion: CodigoNombreDTO;
package/dist/index.js CHANGED
@@ -28706,6 +28706,7 @@ __decorateClass([
28706
28706
  var import_class_transformer486 = require("class-transformer");
28707
28707
  var import_class_validator484 = require("class-validator");
28708
28708
  var StockPersonalENTITY = class {
28709
+ _id;
28709
28710
  ID_StockPersonal = 0;
28710
28711
  Pais = new CodigoNombreDTO();
28711
28712
  Delegacion = new CodigoNombreDTO();
@@ -28736,6 +28737,11 @@ var StockPersonalENTITY = class {
28736
28737
  ID_Trabajo = 0;
28737
28738
  Estado = new EstadoDTO();
28738
28739
  };
28740
+ __decorateClass([
28741
+ (0, import_class_validator484.IsDefined)({ message: 'La propiedad "_id" es obligatoria.' }),
28742
+ (0, import_class_validator484.IsUUID)("4", { message: 'La propiedad "_id" debe ser un UUID v4 v\xE1lido.' }),
28743
+ (0, import_class_transformer486.Expose)()
28744
+ ], StockPersonalENTITY.prototype, "_id", 2);
28739
28745
  __decorateClass([
28740
28746
  (0, import_class_transformer486.Expose)(),
28741
28747
  (0, import_class_validator484.IsNumber)({}, { message: "debe ser un numero" }),