sigo-entities 0.0.14 → 0.0.15

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
@@ -350,6 +350,7 @@ declare class StockPersonalEquiposENTITY {
350
350
 
351
351
  type typeEstado = 'PENDIENTE' | 'ATENDIDO';
352
352
  declare class AtencionOrdenesLiquidadasENTITY {
353
+ ID_AtencionOrdenesLiquidadas: number;
353
354
  Orden: string;
354
355
  CodigoSAP: string;
355
356
  LoteSAP: string;
package/dist/index.d.ts CHANGED
@@ -350,6 +350,7 @@ declare class StockPersonalEquiposENTITY {
350
350
 
351
351
  type typeEstado = 'PENDIENTE' | 'ATENDIDO';
352
352
  declare class AtencionOrdenesLiquidadasENTITY {
353
+ ID_AtencionOrdenesLiquidadas: number;
353
354
  Orden: string;
354
355
  CodigoSAP: string;
355
356
  LoteSAP: string;
package/dist/index.js CHANGED
@@ -1848,6 +1848,7 @@ var StockPersonalEquiposENTITY = class {
1848
1848
  var import_class_transformer32 = require("class-transformer");
1849
1849
  var import_class_validator32 = require("class-validator");
1850
1850
  var AtencionOrdenesLiquidadasENTITY = class {
1851
+ ID_AtencionOrdenesLiquidadas = 0;
1851
1852
  Orden = "";
1852
1853
  CodigoSAP = "";
1853
1854
  LoteSAP = "";
@@ -1858,6 +1859,12 @@ var AtencionOrdenesLiquidadasENTITY = class {
1858
1859
  Fecha = /* @__PURE__ */ new Date();
1859
1860
  Estado = "PENDIENTE";
1860
1861
  };
1862
+ __decorateClass([
1863
+ (0, import_class_transformer32.Expose)(),
1864
+ (0, import_class_validator32.IsNumber)({}, { message: "debe ser un numero" }),
1865
+ (0, import_class_validator32.IsNotEmpty)({ message: "es requerido" }),
1866
+ (0, import_class_validator32.Min)(0, { message: "el valor m\xEDnimo es 0" })
1867
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "ID_AtencionOrdenesLiquidadas", 2);
1861
1868
  __decorateClass([
1862
1869
  (0, import_class_transformer32.Expose)(),
1863
1870
  (0, import_class_validator32.IsString)({ message: "debe ser un texto" }),
package/dist/index.mjs CHANGED
@@ -1821,6 +1821,7 @@ var StockPersonalEquiposENTITY = class {
1821
1821
  import { Expose as Expose31 } from "class-transformer";
1822
1822
  import { IsDate as IsDate13, IsEnum, IsNotEmpty as IsNotEmpty31, IsNumber as IsNumber18, IsString as IsString27, Length as Length27, Max as Max2, Min as Min2 } from "class-validator";
1823
1823
  var AtencionOrdenesLiquidadasENTITY = class {
1824
+ ID_AtencionOrdenesLiquidadas = 0;
1824
1825
  Orden = "";
1825
1826
  CodigoSAP = "";
1826
1827
  LoteSAP = "";
@@ -1831,6 +1832,12 @@ var AtencionOrdenesLiquidadasENTITY = class {
1831
1832
  Fecha = /* @__PURE__ */ new Date();
1832
1833
  Estado = "PENDIENTE";
1833
1834
  };
1835
+ __decorateClass([
1836
+ Expose31(),
1837
+ IsNumber18({}, { message: "debe ser un numero" }),
1838
+ IsNotEmpty31({ message: "es requerido" }),
1839
+ Min2(0, { message: "el valor m\xEDnimo es 0" })
1840
+ ], AtencionOrdenesLiquidadasENTITY.prototype, "ID_AtencionOrdenesLiquidadas", 2);
1834
1841
  __decorateClass([
1835
1842
  Expose31(),
1836
1843
  IsString27({ message: "debe ser un texto" }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sigo-entities",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "Desarrollo de modelos de datos SIGO",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",