diff --git a/ems-core/pom.xml b/ems-core/pom.xml index 363fdfb795..821fda2524 100644 --- a/ems-core/pom.xml +++ b/ems-core/pom.xml @@ -60,49 +60,6 @@ - - cz.habarta.typescript-generator - typescript-generator-maven-plugin - 3.2.1263 - - - generate - - generate - - process-classes - - - - jackson2 - it.integry.ems_model.entity.* - - it.integry.ems.response.ServiceRestResponse - - - it.integry.ems_model.base.EntityInterface - - ../ts/ems-core.module.ts - module - implementationFile - - it.integry.ems_model.entity.AtbOfft$StatoOfferta:AtbOfftStatoOfferta - it.integry.ems_model.entity.VtbOfft$StatoOfferta:VtbOfftStatoOfferta - it.integry.ems_model.entity.GrlAnagJrept$Tipo:GrlAnagJreptTipo - it.integry.ems_model.entity.WtbJreptSetup$Tipo:WtbJreptSetupTipo - it.integry.ems_model.entity.MtbColr$Causale:MtbColrCausale - it.integry.ems_model.entity.MtbCols$Causale:MtbColsCausale - - true - asClasses - asEnum - useLibraryDefinition - questionMarkAndNullableType - true - true - true - - diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250530161424.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250530161424.java index 76b6d88b2a..adee4714c8 100644 --- a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250530161424.java +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250530161424.java @@ -10,6 +10,8 @@ public class Migration_20250530161424 extends BaseMigration implements Migration if (isHistoryDB()) return; + if (isDMS()) return; + createOrUpdateFunction("pvm_getassortimentoClientePedane", "CREATE FUNCTION [dbo].[pvm_getassortimentoClientePedane](\n" + " @codAnag VARCHAR(5), @codVlis VARCHAR(5), @codVdes VARCHAR(5), @dataValidita DATETIME, @viewPromo BIT,\n" + " @pedane INT = 0\n" + diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250603105803.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250603105803.java new file mode 100644 index 0000000000..6de8515fb5 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250603105803.java @@ -0,0 +1,22 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250603105803 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement("ALTER TABLE dtb_tipi\n" + + " ADD flag_set_pro bit default 0", + "UPDATE dtb_tipi SET flag_set_pro = 0", + "ALTER TABLE dtb_tipi ALTER COLUMN flag_set_pro bit NOT NULL;"); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250603123528.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250603123528.java new file mode 100644 index 0000000000..90a98d2ba5 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250603123528.java @@ -0,0 +1,32 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250603123528 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement("CREATE TABLE dtb_docp (\n" + + "\tid BIGINT IDENTITY NOT NULL, \n" + + "\tcod_anag VARCHAR(5) NOT NULL,\n" + + "\tcod_dtip VARCHAR(5) NOT NULL,\n" + + "\tdata_doc DATETIME NOT NULL,\n" + + "\tser_doc VARCHAR(2) NOT NULL,\n" + + "\tnum_doc INT NOT NULL,\n" + + "\tnum_prot INT NOT NULL DEFAULT 0,\n" + + "\n" + + "\tUNIQUE (cod_anag, cod_dtip, data_doc, ser_doc, num_doc),\n" + + "\tCONSTRAINT PK_dtb_docp PRIMARY KEY (id),\n" + + "\tCONSTRAINT FK_dtb_docp_dtb_doct FOREIGN KEY (cod_anag, cod_dtip, data_doc, ser_doc, num_doc)\n" + + "\t\tREFERENCES dtb_doct (cod_anag, cod_dtip, data_doc, ser_doc, num_doc)\n" + + ");"); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250604121422.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250604121422.java new file mode 100644 index 0000000000..8847e0f62f --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250604121422.java @@ -0,0 +1,19 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250604121422 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement("exec sp_rename 'dtb_tipi.flag_set_pro', 'flag_set_num_prot';"); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250606121111.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250606121111.java new file mode 100644 index 0000000000..69a6d94950 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250606121111.java @@ -0,0 +1,24 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250606121111 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + + createSetup("GTB_ANAG", "SETUP", "COD_SDI_OBBLIGATORIO", "S", +"Se impostato ad S il codice SDI è obbligatorio al salvataggio dell'anagrafica cliente", false, null, false, false, +false, false, false, null, false, null); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250606124345.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250606124345.java new file mode 100644 index 0000000000..d596e35daf --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250606124345.java @@ -0,0 +1,30 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250606124345 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + if (isCustomer(IntegryCustomer.Dulciar)) { + + updateSetupValue("GTB_ANAG", "SETUP", "COD_SDI_OBBLIGATORIO", "N", + "Se impostato ad S il codice SDI è obbligatorio al salvataggio dell'anagrafica cliente", false, null, false, false, false, + false, false, null, false, null); + + } + + + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/model/IntegryApplicationEnum.java b/ems-core/src/main/java/it/integry/ems/model/IntegryApplicationEnum.java index e1a71d1d3d..0ac7818b38 100644 --- a/ems-core/src/main/java/it/integry/ems/model/IntegryApplicationEnum.java +++ b/ems-core/src/main/java/it/integry/ems/model/IntegryApplicationEnum.java @@ -1,10 +1,12 @@ package it.integry.ems.model; public enum IntegryApplicationEnum { + //Generato tramite uuid GESTIONALE_BASE("5858a2a0-1188-4edd-8f71-d7da5bfb350d"), PVM("845da2d9-f2f9-4f8d-ad5b-34b65a91eb6d"), WMS("fa3a21af-606b-4129-a22b-aedc2a52c7b6"), TASK("478f3a4c51824ad23cb50c1c60670c0f"), + CRM("f0484398-1f8b-42f5-ab79-5282c164e1d8"), CONSEGNA("c012124f-4f11-471c-ae12-81bd4a97626c"); private String text; diff --git a/ems-core/src/main/java/it/integry/ems/rules/businessLogic/DocumentBusinessLogic.java b/ems-core/src/main/java/it/integry/ems/rules/businessLogic/DocumentBusinessLogic.java index 0e0e2bb3ff..678ee793cb 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/businessLogic/DocumentBusinessLogic.java +++ b/ems-core/src/main/java/it/integry/ems/rules/businessLogic/DocumentBusinessLogic.java @@ -580,7 +580,7 @@ public class DocumentBusinessLogic { throw new Exception ("Attenzione nel castelletto iva sono presenti delle righe con imponibile ma senza aliquota, è necessario correggere il castelletto iva prima di procedere con la registrazione"); } List castelletto = dtbDoct.getCtbMovi().stream().filter(x -> x.getCodAliq() != null).collect(Collectors.toList()); - for (CtbMovi iva : castelletto) { + for (CtbMovi iva : dtbDoct.getCtbMovi()) { BigDecimal impDare = BigDecimal.ZERO; BigDecimal impAvere = BigDecimal.ZERO; if (!iva.getCodAliq().equals(codAliqSplit)) { diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java index 176f65811f..f488f04092 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java @@ -10,6 +10,7 @@ import it.integry.ems_model.base.EntityBase; import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.db.ResultSetMapper; import it.integry.ems_model.entity.*; +import it.integry.ems_model.entity.common.DtbBaseDocR; import it.integry.ems_model.entity.common.DtbDocOrdR; import it.integry.ems_model.entity.common.DtbDocOrdT; import it.integry.ems_model.rules.util.DroolsUtil; @@ -439,7 +440,7 @@ public class DocOrdCalTotaliRules extends QueryRules { } private static boolean checkQtaChange(DtbDocOrdT testata, DtbDocOrdR row) { - if (testata instanceof DtbDoct){ + if (testata instanceof DtbDoct) { Integer idRiga = ((DtbDocr) row).getIdRiga(); if (idRiga != null && testata.getOriginalEntity() != null) { DtbDocr dtbDocr = ((DtbDoct) testata.getOriginalEntity()) @@ -447,13 +448,13 @@ public class DocOrdCalTotaliRules extends QueryRules { .stream() .filter(x -> Objects.equals(x.getIdRiga(), idRiga)).findFirst().orElse(null); - if ( dtbDocr != null && - (Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getQta(), dtbDocr.getQta()), dtbDocr.getQta()) && - Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getNumCnf(), dtbDocr.getNumCnf()), dtbDocr.getNumCnf()) && - Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getPesoLordo(), dtbDocr.getPesoLordo()), dtbDocr.getPesoLordo()) && - Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getPesoNetto(), dtbDocr.getPesoNetto()), dtbDocr.getPesoNetto()))) { + if (dtbDocr != null && + (Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getQta(), dtbDocr.getQta()), dtbDocr.getQta()) && + Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getNumCnf(), dtbDocr.getNumCnf()), dtbDocr.getNumCnf()) && + Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getPesoLordo(), dtbDocr.getPesoLordo()), dtbDocr.getPesoLordo()) && + Objects.equals(UtilityBigDecimal.isNull(dtbDocr.getPesoNetto(), dtbDocr.getPesoNetto()), dtbDocr.getPesoNetto()))) { return false; - } else if ( dtbDocr == null && row.getOperation() == OperationType.SELECT_OBJECT) + } else if (dtbDocr == null && row.getOperation() == OperationType.SELECT_OBJECT) return false; } } @@ -634,8 +635,33 @@ public class DocOrdCalTotaliRules extends QueryRules { if (qta.compareTo(BigDecimal.ZERO) != 0) { boolean ventilazione = false; - if ( row instanceof DtbDocr) ventilazione = ((DtbDocr) row).getVentilazione(); - addCastellettoIva(flagIvaInclusa?impRigaIva:importoRiga, codAliq, ventilazione, castelletto, flagIvaInclusa); + if (row instanceof DtbDocr) ventilazione = ((DtbDocr) row).getVentilazione(); + BigDecimal imponibile = flagIvaInclusa ? impRigaIva : importoRiga; + if (!UtilityString.isNullOrEmpty(row.getCodAliq())) { + addCastellettoIva(imponibile, codAliq, ventilazione, castelletto, flagIvaInclusa); + } else if (UtilityString.isNullOrEmpty(row.getCodAliq()) && imponibile.compareTo(BigDecimal.ZERO) != 0) { + Integer riga = 0; + if (isOrdine) { + if (row instanceof DtbOrdr) { + riga = ((DtbOrdr) row).getPosRiga(); + } else if (row instanceof WdtbOrdr) { + riga = ((WdtbOrdr) row).getPosRiga(); + } + throw new Exception(String.format( + "Impossibile salvare l'ordine %s del %s n. %s, riga %s senza aliquota IVA", + gestione, UtilityDate.formatDate(row.getDataOrd(), CommonConstants.DATE_FORMAT_DMY), row.getNumOrd(), riga)); + } else { + riga = ((DtbBaseDocR) row).getIdRiga(); + throw new Exception(String.format( + "Impossibile salvare il documento %s del %s n. %s/%s, riga %s senza aliquota IVA", + ((DtbBaseDocR) row).getCodDtip(), + UtilityDate.formatDate(((DtbBaseDocR) row).getDataDoc(), CommonConstants.DATE_FORMAT_DMY), + ((DtbBaseDocR) row).getSerDoc(), + ((DtbBaseDocR) row).getNumDoc(), riga + )); + } + + } } /************************** @@ -649,7 +675,7 @@ public class DocOrdCalTotaliRules extends QueryRules { if (row instanceof DtbDocr && (((DtbDocr) row).getCostoUnt() == null || ((DtbDocr) row).getCostoUnt().compareTo(BigDecimal.ZERO) == 0)) { boolean flagValCosto = ((DtbDoct) testata).getDtbTipi().getFlagCosto().equalsIgnoreCase("S"); BigDecimal costo = BigDecimal.ZERO; - if ("A".equals(gestione) ) { + if ("A".equals(gestione)) { costo = DocumentRules.completeCostoUntDocA(conn, ((DtbDocr) row)); } else if ("L".equals(gestione)) { costo = DocumentRules.completeCostoUntDocL(conn, ((DtbDocr) row), flagValCosto); @@ -743,7 +769,7 @@ public class DocOrdCalTotaliRules extends QueryRules { } Boolean ventilazione = false; - if ( testata instanceof DtbDoct) { + if (testata instanceof DtbDoct) { String sql = Query.format( "SELECT CAST(COUNT(*) AS BIT)\n" + @@ -758,7 +784,7 @@ public class DocOrdCalTotaliRules extends QueryRules { /****************************************** ASSEGNAZIONE NUM_COLLI e PESO A DOCUMENTO ******************************************/ - if ( changeQta) + if (changeQta) setNumColliPeso(testata, calcColli, datiTrasp, colli, colliFromDB); //CALCOLO TOTALI E CASTELLETTO IVA @@ -766,7 +792,7 @@ public class DocOrdCalTotaliRules extends QueryRules { //Prima di calcolare l'acconto estrerre l'elenco delle bolle agganciate alla fatture differita if (testata instanceof DtbDoct && ((DtbDoct) testata).getDtbTipi().getTipoEmissioneEnum() == TipoEmissione.DIFFERITA) { - DocumentRules.setDatiBolla(conn, (DtbDoct) testata); + DocumentRules.setDatiBolla(conn, (DtbDoct) testata); } /*Calcola acconti*/ @@ -917,12 +943,13 @@ public class DocOrdCalTotaliRules extends QueryRules { } } - castellettoIva.removeIf(x->x.getTipoIva() != null && x.getTipoIva().equalsIgnoreCase("IVA COMPOSTA")); + castellettoIva.removeIf(x -> x.getTipoIva() != null && x.getTipoIva().equalsIgnoreCase("IVA COMPOSTA")); testata.setTotImponib(totImponib).setTotIva(totImposta); } - private static void addCastellettoIva(BigDecimal importoRiga, String codAliq, Boolean ventilazione, List castelletto, Boolean flagIvaInclusa) { + private static void addCastellettoIva(BigDecimal importoRiga, String codAliq, Boolean + ventilazione, List castelletto, Boolean flagIvaInclusa) { java.util.Optional first = castelletto.stream() .filter(x -> UtilityString.equalsIgnoreCase(x.getCodAliq(), codAliq) && x.getVentilazione() == ventilazione && @@ -943,7 +970,8 @@ public class DocOrdCalTotaliRules extends QueryRules { castelletto.add(ctbMovi); } - public static BigDecimal calcImposta(Connection conn, BigDecimal totImponib, BigDecimal percAliq, String tipoIva, Integer cifreDec) + public static BigDecimal calcImposta(Connection conn, BigDecimal totImponib, BigDecimal percAliq, String + tipoIva, Integer cifreDec) throws Exception { BigDecimal totImposta = BigDecimal.ZERO; @@ -1026,7 +1054,8 @@ public class DocOrdCalTotaliRules extends QueryRules { datiTrasp.setPesoNetto(pesoNettoKgTot); } - public static void setNumColliPeso(EntityBase testata, String calcColli, DatiTrasportoDTO datiTrasp, List colli, List colliFromDB) throws Exception { + public static void setNumColliPeso(EntityBase testata, String calcColli, DatiTrasportoDTO + datiTrasp, List colli, List colliFromDB) throws Exception { String peso = null, numColli = null; BigDecimal pesoKgTot = datiTrasp.getPesoKg(); BigDecimal colliTot = datiTrasp.getColli(); @@ -1101,7 +1130,7 @@ public class DocOrdCalTotaliRules extends QueryRules { ((DtbDoct) testata).setPesoNettoKg(pesoNettoKgTot); } - if (testata instanceof DtbDoct && ((DtbDoct) testata).getPostiPallet() == null) { + if (testata instanceof DtbDoct && ((DtbDoct) testata).getPostiPallet() == null) { ((DtbDoct) testata).setPostiPallet(datiTrasp.getPedane()); } else if (testata instanceof DtbOrdt && ((DtbOrdt) testata).getPostiPallet() == null) { ((DtbOrdt) testata).setPostiPallet(datiTrasp.getPedane()); @@ -1116,7 +1145,8 @@ public class DocOrdCalTotaliRules extends QueryRules { return calcImportRiga(entity, entity.getValUntIva(), cifreDec); } - private static BigDecimal calcImportRiga(DtbDocOrdR entity, BigDecimal valUnt, Integer cifreDec) throws Exception { + private static BigDecimal calcImportRiga(DtbDocOrdR entity, BigDecimal valUnt, Integer cifreDec) throws + Exception { BigDecimal qta = entity.getQta(); if (UtilityBigDecimal.isNullOrZero(qta)) return BigDecimal.ZERO; @@ -1148,7 +1178,8 @@ public class DocOrdCalTotaliRules extends QueryRules { return CommonRules.roundValue(importoRiga, cifreDec); } - private static List addCosti(final DtbDocr dtbDocr, List sconti, List listaCosti, String codJfasTestata) throws Exception { + private static List addCosti(final DtbDocr dtbDocr, List< + BigDecimal> sconti, List listaCosti, String codJfasTestata) throws Exception { BigDecimal importo = dtbDocr.getImportoRiga(); for (BigDecimal sconto : sconti) { if (sconto != null) { @@ -1327,7 +1358,7 @@ public class DocOrdCalTotaliRules extends QueryRules { (!UtilityString.isNullOrEmpty(testata.getCodPaga()) || !UtilityString.isNullOrEmpty(costoEsenzione) || !UtilityString.isNullOrEmpty(testata.getCodVvet()))) { maxRigaSpesa = addAltreSpese(connection, testata, castelletto, speseCalc, maxRigaSpesa, whereCondExcSpese, cifreDec, ventilazione, flagPrzIva); - if ( maxRigaSpesa > 0) + if (maxRigaSpesa > 0) calcTotImponib(testata, connection, castelletto, cifreDec); } @@ -1427,8 +1458,10 @@ public class DocOrdCalTotaliRules extends QueryRules { return maxRigaSpesa; } - private static Integer addImpostaBollo(Connection connection, DtbDoct testata, List castelletto, List speseCalc, - Integer maxRigaSpesa, String whereCondExcSpese, BigDecimal totDoc, Boolean ventilazione) throws Exception { + private static Integer addImpostaBollo(Connection connection, DtbDoct + testata, List castelletto, List speseCalc, + Integer maxRigaSpesa, String whereCondExcSpese, BigDecimal totDoc, Boolean ventilazione) throws + Exception { final String tipoCalcolo = "BOLLO"; String impMinDoc = setupGest.getSetup(connection, "EXPORT_DOCUMENTI VENDITA", "FATTURE_FPR", "DATI_BOLLO_IMP_MIN"); diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java index e146de7aee..33c37bb93a 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java @@ -1009,11 +1009,11 @@ public class DocOrdRules extends QueryRules { .setCodTcolUl(dtbOrdt.getCodTcolUl()) .setCodTcolUi(dtbOrdt.getCodTcolUi()) .setNumCnf(dtbOrdt.getNumCnfProd()); - dtbOrdrProd.setOperation(OperationType.UPDATE); + + dtbOrdrProd.setOperation(OperationType.INSERT_OR_UPDATE); } dtbOrdtProd.addDtbOrdr(dtbOrdrProd); - return dtbOrdtProd; } diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/dto/CostiDTO.java b/ems-core/src/main/java/it/integry/ems/rules/completing/dto/CostiDTO.java deleted file mode 100644 index 47689847b3..0000000000 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/dto/CostiDTO.java +++ /dev/null @@ -1,87 +0,0 @@ -package it.integry.ems.rules.completing.dto; - -import java.math.BigDecimal; -import java.util.Date; - -public class CostiDTO /*implements Comparable */ { - private String codCcon, codJcom, codJfas, codMtip, matricola; - private Date dataInizComp, dataFineComp; - private BigDecimal importo; - - public String getCodCcon() { - return codCcon; - } - - public void setCodCcon(String codCcon) { - this.codCcon = codCcon; - } - - public String getCodJcom() { - return codJcom; - } - - public void setCodJcom(String codJcom) { - this.codJcom = codJcom; - } - - public String getCodJfas() { - return codJfas; - } - - public void setCodJfas(String codJfas) { - this.codJfas = codJfas; - } - - public String getCodMtip() { - return codMtip; - } - - public void setCodMtip(String codMtip) { - this.codMtip = codMtip; - } - - public String getMatricola() { - return matricola; - } - - public void setMatricola(String matricola) { - this.matricola = matricola; - } - - public Date getDataInizComp() { - return dataInizComp; - } - - public void setDataInizComp(Date dataInizComp) { - this.dataInizComp = dataInizComp; - } - - public Date getDataFineComp() { - return dataFineComp; - } - - public void setDataFineComp(Date dataFineComp) { - this.dataFineComp = dataFineComp; - } - - public BigDecimal getImporto() { - return importo; - } - - public void setImporto(BigDecimal importo) { - this.importo = importo; - } - - - public boolean compare(CostiDTO object1, CostiDTO object2) { - return object1.getCodCcon().compareTo((object2.getCodCcon())) < 0; - } - /* - @Override - public int compareTo(CostiDTO o) { - CostiDTO k = (CostiDTO) o; - String codCcon = k.getCodCcon(); - return this.getCodCcon().compareTo(codCcon); - - } */ -} diff --git a/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/controller/CodiceFiscaleController.java b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/controller/CodiceFiscaleController.java new file mode 100644 index 0000000000..b8df09087f --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/controller/CodiceFiscaleController.java @@ -0,0 +1,49 @@ +package it.integry.ems.service.codice_fiscale.controller; + +import it.integry.ems.response.ServiceRestResponse; +import it.integry.ems.service.codice_fiscale.dto.GenerateCodiceFiscaleRequestDTO; +import it.integry.ems.service.codice_fiscale.service.CodiceFiscaleService; +import it.integry.ems.service.comuni.service.UnitaTerritorialiService; +import it.integry.ems_model.utility.UtilityString; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Scope; +import org.springframework.web.bind.annotation.*; + +@RestController +@Scope("request") +@RequestMapping("system/codice-fiscale") +public class CodiceFiscaleController { + + @Autowired + private CodiceFiscaleService codiceFiscaleService; + + @PostMapping(value = "generate") + public ServiceRestResponse generate(@RequestBody GenerateCodiceFiscaleRequestDTO requestDTO) throws Exception { + if (requestDTO == null || requestDTO.getNome() == null || requestDTO.getCognome() == null || requestDTO.getDataNascita() == null || + UtilityString.isNull(requestDTO.getCodiceCatastale(), requestDTO.getComuneNascita()) == null) { + throw new Exception("Invalid input data"); + } + + return ServiceRestResponse.createPositiveResponse( + codiceFiscaleService.generaCodiceFiscale( + requestDTO.getNome(), + requestDTO.getCognome(), + requestDTO.getDataNascita(), + requestDTO.getSesso(), + requestDTO.getCodiceCatastale(), + requestDTO.getComuneNascita())); + } + + @PostMapping(value = "reverse") + public ServiceRestResponse reverse(@RequestParam String codiceFiscale) throws Exception { + return ServiceRestResponse.createPositiveResponse( + codiceFiscaleService.reverseCodiceFiscale(codiceFiscale)); + } + + @GetMapping(value = "validate") + public ServiceRestResponse validate(@RequestParam String codiceFiscale) throws Exception { + codiceFiscaleService.validate(codiceFiscale); + return ServiceRestResponse.createPositiveResponse(); + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/CodiceFiscaleResultDTO.java b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/CodiceFiscaleResultDTO.java new file mode 100644 index 0000000000..7101bd27a8 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/CodiceFiscaleResultDTO.java @@ -0,0 +1,77 @@ +package it.integry.ems.service.codice_fiscale.dto; + +import java.time.LocalDate; + +public class CodiceFiscaleResultDTO { + + private String nome; + private String cognome; + private LocalDate dataNascita; + private String sesso; + private String comuneNascita; + private String provinciaNascita; + private String codiceCatastale; + + public String getNome() { + return nome; + } + + public CodiceFiscaleResultDTO setNome(String nome) { + this.nome = nome; + return this; + } + + public String getCognome() { + return cognome; + } + + public CodiceFiscaleResultDTO setCognome(String cognome) { + this.cognome = cognome; + return this; + } + + public LocalDate getDataNascita() { + return dataNascita; + } + + public CodiceFiscaleResultDTO setDataNascita(LocalDate dataNascita) { + this.dataNascita = dataNascita; + return this; + } + + public String getSesso() { + return sesso; + } + + public CodiceFiscaleResultDTO setSesso(String sesso) { + this.sesso = sesso; + return this; + } + + public String getComuneNascita() { + return comuneNascita; + } + + public CodiceFiscaleResultDTO setComuneNascita(String comuneNascita) { + this.comuneNascita = comuneNascita; + return this; + } + + public String getProvinciaNascita() { + return provinciaNascita; + } + + public CodiceFiscaleResultDTO setProvinciaNascita(String provinciaNascita) { + this.provinciaNascita = provinciaNascita; + return this; + } + + public String getCodiceCatastale() { + return codiceCatastale; + } + + public CodiceFiscaleResultDTO setCodiceCatastale(String codiceCatastale) { + this.codiceCatastale = codiceCatastale; + return this; + } +} diff --git a/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/GenerateCodiceFiscaleRequestDTO.java b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/GenerateCodiceFiscaleRequestDTO.java new file mode 100644 index 0000000000..05be128681 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/GenerateCodiceFiscaleRequestDTO.java @@ -0,0 +1,67 @@ +package it.integry.ems.service.codice_fiscale.dto; + +import java.time.LocalDate; + +public class GenerateCodiceFiscaleRequestDTO { + + private String nome; + private String cognome; + private LocalDate dataNascita; + private char sesso; + private String comuneNascita; + private String codiceCatastale; + + public String getNome() { + return nome; + } + + public GenerateCodiceFiscaleRequestDTO setNome(String nome) { + this.nome = nome; + return this; + } + + public String getCognome() { + return cognome; + } + + public GenerateCodiceFiscaleRequestDTO setCognome(String cognome) { + this.cognome = cognome; + return this; + } + + public LocalDate getDataNascita() { + return dataNascita; + } + + public GenerateCodiceFiscaleRequestDTO setDataNascita(LocalDate dataNascita) { + this.dataNascita = dataNascita; + return this; + } + + public char getSesso() { + return sesso; + } + + public GenerateCodiceFiscaleRequestDTO setSesso(char sesso) { + this.sesso = sesso; + return this; + } + + public String getCodiceCatastale() { + return codiceCatastale; + } + + public GenerateCodiceFiscaleRequestDTO setCodiceCatastale(String codiceCatastale) { + this.codiceCatastale = codiceCatastale; + return this; + } + + public String getComuneNascita() { + return comuneNascita; + } + + public GenerateCodiceFiscaleRequestDTO setComuneNascita(String comuneNascita) { + this.comuneNascita = comuneNascita; + return this; + } +} diff --git a/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/GenerateCodiceFiscaleResultDTO.java b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/GenerateCodiceFiscaleResultDTO.java new file mode 100644 index 0000000000..761da532aa --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/dto/GenerateCodiceFiscaleResultDTO.java @@ -0,0 +1,66 @@ +package it.integry.ems.service.codice_fiscale.dto; + +import java.util.ArrayList; +import java.util.List; +import java.util.Objects; + +public class GenerateCodiceFiscaleResultDTO { + + private final String codicePrincipale; + private final List codiciAlternativi; + + public GenerateCodiceFiscaleResultDTO(String codicePrincipale, List codiciAlternativi) { + if (codicePrincipale == null || codicePrincipale.trim().isEmpty()) { + throw new IllegalArgumentException("Il codice fiscale principale non può essere null o vuoto"); + } + + this.codicePrincipale = codicePrincipale; + this.codiciAlternativi = codiciAlternativi != null ? + new ArrayList<>(codiciAlternativi) : new ArrayList<>(); + } + + public String getCodicePrincipale() { + return codicePrincipale; + } + + public List getCodiciAlternativi() { + return new ArrayList<>(codiciAlternativi); + } + + public boolean hasAlternativi() { + return !codiciAlternativi.isEmpty(); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder(); + sb.append("=== CODICE FISCALE ===\n"); + sb.append("Codice Fiscale Principale: ").append(codicePrincipale).append("\n"); + + if (!codiciAlternativi.isEmpty()) { + sb.append("\nCodici Alternativi per Omonimia (").append(codiciAlternativi.size()).append("):\n"); + for (int i = 0; i < codiciAlternativi.size(); i++) { + sb.append(" ").append(i + 1).append(". ").append(codiciAlternativi.get(i)).append("\n"); + } + } else { + sb.append("Nessun codice alternativo disponibile\n"); + } + + return sb.toString(); + } + + @Override + public boolean equals(Object obj) { + if (this == obj) return true; + if (obj == null || getClass() != obj.getClass()) return false; + + GenerateCodiceFiscaleResultDTO that = (GenerateCodiceFiscaleResultDTO) obj; + return Objects.equals(codicePrincipale, that.codicePrincipale) && + Objects.equals(codiciAlternativi, that.codiciAlternativi); + } + + @Override + public int hashCode() { + return Objects.hash(codicePrincipale, codiciAlternativi); + } +} diff --git a/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/service/CodiceFiscaleService.java b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/service/CodiceFiscaleService.java new file mode 100644 index 0000000000..2a53348f22 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/service/codice_fiscale/service/CodiceFiscaleService.java @@ -0,0 +1,624 @@ +package it.integry.ems.service.codice_fiscale.service; + +import it.integry.ems.service.codice_fiscale.dto.CodiceFiscaleResultDTO; +import it.integry.ems.service.codice_fiscale.dto.GenerateCodiceFiscaleResultDTO; +import it.integry.ems.service.comuni.entities.Comune; +import it.integry.ems.service.comuni.service.UnitaTerritorialiService; +import it.integry.ems_model.utility.UtilityDate; +import it.integry.ems_model.utility.UtilityLocalDate; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +import java.time.LocalDate; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.regex.Pattern; +import java.util.stream.Collectors; + + +/** + * Generatore di Codice Fiscale Italiano con controlli completi di validazione + * Supporta la generazione del codice fiscale standard e dei codici alternativi per casi di omonimia + * + * @author gscorrano + * @version 1.0 + * @since 2025-06-03 + */ + +@Service +public class CodiceFiscaleService { + + + private final Logger logger = LogManager.getLogger(); + + @Autowired + private UnitaTerritorialiService unitaTerritorialiService; + + + // Costanti per la validazione + private static final int MIN_YEAR = 1900; + private static final int MAX_YEAR = 2100; + private static final int MIN_NAME_LENGTH = 1; + private static final int MAX_NAME_LENGTH = 50; + private static final Pattern VALID_NAME_PATTERN = Pattern.compile("^[a-zA-ZÀ-ÿ\\s'-]+$"); + private static final Pattern CODICE_CATASTALE_PATTERN = Pattern.compile("^[A-Z][0-9]{3}$"); + + // Tabella dei mesi per il codice fiscale + private static final String[] MESI = {"A", "B", "C", "D", "E", "H", "L", "M", "P", "R", "S", "T"}; + + // Vocali e consonanti per l'elaborazione di nomi e cognomi + private static final String VOCALI = "AEIOU"; + private static final String CONSONANTI = "BCDFGHJKLMNPQRSTVWXYZ"; + + // Tabella per il calcolo del carattere di controllo + private static final Map CARATTERI_DISPARI = new HashMap<>(); + private static final Map CARATTERI_PARI = new HashMap<>(); + private static final String CARATTERI_CONTROLLO = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + + static { + inizializzaTabelleControllo(); + } + + /** + * Genera il codice fiscale principale con validazione completa degli input + * + * @param nome Nome della persona + * @param cognome Cognome della persona + * @param dataNascita Data di nascita + * @param sesso Sesso ('M' o 'F', case insensitive) + * @param codiceCatastale Codice catastale del comune di nascita + * @return Risultato contenente codice principale e alternativi + * @throws IllegalArgumentException se gli input non sono validi + * @throws NullPointerException se uno degli input obbligatori è null + */ + public GenerateCodiceFiscaleResultDTO generaCodiceFiscale(String nome, String cognome, + LocalDate dataNascita, char sesso, + String codiceCatastale, String comuneNascita) { + + if (codiceCatastale == null && comuneNascita != null) { + // Se il codice catastale non è fornito ma il comune di nascita è specificato, ottieni il codice catastale + codiceCatastale = unitaTerritorialiService.getComuni().stream().filter(x -> x.getNome().equalsIgnoreCase(comuneNascita)) + .findFirst() + .map(x -> x.getCodiceCatastale()) + .orElseThrow(() -> new IllegalArgumentException("Comune di nascita non trovato: " + comuneNascita)); + } + + // Validazione completa degli input + validaInput(nome, cognome, dataNascita, sesso, codiceCatastale); + + // Normalizzazione degli input + String nomeNormalizzato = normalizzaNome(nome); + String cognomeNormalizzato = normalizzaNome(cognome); + char sessoNormalizzato = Character.toUpperCase(sesso); + String codiceCatastaleNormalizzato = codiceCatastale.toUpperCase().trim(); + + try { + String codicePrincipale = calcolaCodiceFiscale(nomeNormalizzato, cognomeNormalizzato, + dataNascita, sessoNormalizzato, + codiceCatastaleNormalizzato); + + List codiciAlternativi = generaCodiciAlternativi(nomeNormalizzato, cognomeNormalizzato, + dataNascita, sessoNormalizzato, + codiceCatastaleNormalizzato); + + codiciAlternativi.removeIf(x -> x.equalsIgnoreCase(codicePrincipale)); + + return new GenerateCodiceFiscaleResultDTO(codicePrincipale, codiciAlternativi); + + } catch (Exception e) { + throw new RuntimeException("Errore durante la generazione del codice fiscale: " + e.getMessage(), e); + } + } + + /** + * Valida tutti gli input forniti + */ + private void validaInput(String nome, String cognome, LocalDate dataNascita, + char sesso, String codiceCatastale) { + + // Controllo null + if (nome == null) { + throw new NullPointerException("Il nome non può essere null"); + } + if (cognome == null) { + throw new NullPointerException("Il cognome non può essere null"); + } + if (dataNascita == null) { + throw new NullPointerException("La data di nascita non può essere null"); + } + if (codiceCatastale == null) { + throw new NullPointerException("Il codice catastale non può essere null"); + } + + // Validazione nome + validaNome(nome, "nome"); + validaNome(cognome, "cognome"); + + // Validazione data di nascita + validaDataNascita(dataNascita); + + // Validazione sesso + validaSesso(sesso); + + // Validazione codice catastale + validaCodiceCatastale(codiceCatastale); + } + + /** + * Valida un nome o cognome + */ + private void validaNome(String nome, String tipo) { + String nomeTrimmed = nome.trim(); + + if (nomeTrimmed.isEmpty()) { + throw new IllegalArgumentException("Il " + tipo + " non può essere vuoto"); + } + + if (nomeTrimmed.length() < MIN_NAME_LENGTH) { + throw new IllegalArgumentException("Il " + tipo + " deve contenere almeno " + MIN_NAME_LENGTH + " carattere"); + } + + if (nomeTrimmed.length() > MAX_NAME_LENGTH) { + throw new IllegalArgumentException("Il " + tipo + " non può superare " + MAX_NAME_LENGTH + " caratteri"); + } + + if (!VALID_NAME_PATTERN.matcher(nomeTrimmed).matches()) { + throw new IllegalArgumentException("Il " + tipo + " contiene caratteri non validi. " + + "Sono ammessi solo lettere, spazi, apostrofi e trattini"); + } + + // Controllo che non sia composto solo da spazi, apostrofi e trattini + String nomePulito = nomeTrimmed.replaceAll("[\\s'-]", ""); + if (nomePulito.isEmpty()) { + throw new IllegalArgumentException("Il " + tipo + " deve contenere almeno una lettera"); + } + + // Controllo sequenze eccessive di caratteri speciali + if (nomeTrimmed.contains("--") || nomeTrimmed.contains("''") || nomeTrimmed.contains(" ")) { + throw new IllegalArgumentException("Il " + tipo + " contiene sequenze non valide di caratteri speciali"); + } + } + + /** + * Valida la data di nascita + */ + private void validaDataNascita(LocalDate dataNascita) { + LocalDate oggi = LocalDate.now(); + + if (dataNascita.isAfter(oggi)) { + throw new IllegalArgumentException("La data di nascita non può essere futura"); + } + + if (dataNascita.getYear() < MIN_YEAR) { + throw new IllegalArgumentException("La data di nascita non può essere precedente al " + MIN_YEAR); + } + + if (dataNascita.getYear() > MAX_YEAR) { + throw new IllegalArgumentException("La data di nascita non può essere successiva al " + MAX_YEAR); + } + + // Controllo età massima ragionevole (150 anni) + if (dataNascita.isBefore(oggi.minusYears(150))) { + throw new IllegalArgumentException("La data di nascita indica un'età superiore a 150 anni"); + } + } + + /** + * Valida il sesso + */ + private void validaSesso(char sesso) { + char sessoUpper = Character.toUpperCase(sesso); + if (sessoUpper != 'M' && sessoUpper != 'F') { + throw new IllegalArgumentException("Il sesso deve essere 'M' (maschio) o 'F' (femmina), ricevuto: '" + sesso + "'"); + } + } + + /** + * Valida il codice catastale + */ + private void validaCodiceCatastale(String codiceCatastale) { + String codiceTrimmed = codiceCatastale.trim().toUpperCase(); + + if (codiceTrimmed.isEmpty()) { + throw new IllegalArgumentException("Il codice catastale non può essere vuoto"); + } + + if (!CODICE_CATASTALE_PATTERN.matcher(codiceTrimmed).matches()) { + throw new IllegalArgumentException("Il codice catastale deve essere nel formato: 1 lettera seguita da 3 cifre (es: H501). " + + "Ricevuto: '" + codiceCatastale + "'"); + } + } + + /** + * Normalizza un nome rimuovendo caratteri non necessari e standardizzando il formato + */ + private String normalizzaNome(String nome) { + if (nome == null) return ""; + + // Rimuove spazi multipli e trim + String normalizzato = nome.trim().replaceAll("\\s+", " "); + + // Rimuove caratteri speciali per il calcolo del CF ma mantiene apostrofi e trattini + // che potrebbero essere significativi + return normalizzato; + } + + /** + * Calcola il codice fiscale standard con gestione degli errori + */ + private String calcolaCodiceFiscale(String nome, String cognome, LocalDate dataNascita, + char sesso, String codiceCatastale) { + + try { + StringBuilder cf = new StringBuilder(); + + // 1. Cognome (3 caratteri) + cf.append(elaboraCognome(cognome)); + + // 2. Nome (3 caratteri) + cf.append(elaboraNome(nome)); + + // 3. Anno di nascita (2 caratteri) + cf.append(String.format("%02d", dataNascita.getYear() % 100)); + + // 4. Mese di nascita (1 carattere) + cf.append(MESI[dataNascita.getMonthValue() - 1]); + + // 5. Giorno di nascita e sesso (2 caratteri) + int giorno = dataNascita.getDayOfMonth(); + if (sesso == 'F') { + giorno += 40; + } + cf.append(String.format("%02d", giorno)); + + // 6. Codice catastale (4 caratteri) + cf.append(codiceCatastale); + + // 7. Carattere di controllo + cf.append(calcolaCarattereControllo(cf.toString())); + + return cf.toString(); + + } catch (Exception e) { + throw new RuntimeException("Errore nel calcolo del codice fiscale: " + e.getMessage(), e); + } + } + + /** + * Genera codici fiscali alternativi per casi di omonimia con gestione sicura + */ + private List generaCodiciAlternativi(String nome, String cognome, LocalDate dataNascita, + char sesso, String codiceCatastale) { + + List alternativi = new ArrayList<>(); + + try { + // Variazioni sicure per il nome e cognome + List variazioniNome = generaVariazioniSicure(nome); + List variazioniCognome = generaVariazioniSicure(cognome); + + // Genera codici alternativi per variazioni del nome + for (String variazione : variazioniNome) { + try { + String cfAlternativo = calcolaCodiceFiscale(variazione, cognome, dataNascita, sesso, codiceCatastale); + if (!alternativi.contains(cfAlternativo)) { + alternativi.add(cfAlternativo); + } + } catch (Exception e) { + // Ignora variazioni che causano errori + logger.warn("Warning: Impossibile generare codice alternativo per nome '" + variazione + "': " + e.getMessage()); + } + } + + // Genera codici alternativi per variazioni del cognome + for (String variazione : variazioniCognome) { + try { + String cfAlternativo = calcolaCodiceFiscale(nome, variazione, dataNascita, sesso, codiceCatastale); + if (!alternativi.contains(cfAlternativo)) { + alternativi.add(cfAlternativo); + } + } catch (Exception e) { + // Ignora variazioni che causano errori + logger.warn("Warning: Impossibile generare codice alternativo per cognome '" + variazione + "': " + e.getMessage()); + } + } + + } catch (Exception e) { + logger.warn("Warning: Errore nella generazione dei codici alternativi: " + e.getMessage()); + } + + return alternativi.stream().distinct().limit(10).collect(Collectors.toList()); // Limita a 10 alternativi + } + + /** + * Genera variazioni sicure di un nome per evitare errori + */ + private List generaVariazioniSicure(String nome) { + List variazioni = new ArrayList<>(); + + if (nome == null || nome.trim().isEmpty()) { + return variazioni; + } + + String nomeNormalizzato = nome.trim().toUpperCase(); + + // Sostituzioni vocali comuni + Map sostituzioniVocali = new HashMap<>(); + sostituzioniVocali.put('A', new Character[]{'E', 'I'}); + sostituzioniVocali.put('E', new Character[]{'A', 'I'}); + sostituzioniVocali.put('I', new Character[]{'E', 'O'}); + sostituzioniVocali.put('O', new Character[]{'U', 'A'}); + sostituzioniVocali.put('U', new Character[]{'O', 'I'}); + + // Genera variazioni per ogni posizione + for (int i = 0; i < Math.min(nomeNormalizzato.length(), 3); i++) { + char carattereOriginale = nomeNormalizzato.charAt(i); + + if (sostituzioniVocali.containsKey(carattereOriginale)) { + for (Character sostituzione : sostituzioniVocali.get(carattereOriginale)) { + try { + StringBuilder variazione = new StringBuilder(nomeNormalizzato); + variazione.setCharAt(i, sostituzione); + String nuovaVariazione = variazione.toString(); + + // Verifica che la variazione sia valida + if (isVariazioneValida(nuovaVariazione) && !variazioni.contains(nuovaVariazione)) { + variazioni.add(nuovaVariazione); + } + } catch (Exception e) { + // Ignora variazioni che causano problemi + } + } + } + } + + return variazioni; + } + + /** + * Verifica se una variazione è valida + */ + private boolean isVariazioneValida(String variazione) { + if (variazione == null || variazione.trim().isEmpty()) { + return false; + } + + // Verifica che contenga almeno una lettera + String varPulita = variazione.replaceAll("[^A-Z]", ""); + return varPulita.length() > 0; + } + + /** + * Elabora il cognome secondo le regole del codice fiscale con controlli aggiuntivi + */ + private String elaboraCognome(String cognome) { + return elaboraStringa(cognome, false); + } + + /** + * Elabora il nome secondo le regole del codice fiscale con controlli aggiuntivi + */ + private String elaboraNome(String nome) { + return elaboraStringa(nome, true); + } + + /** + * Elabora una stringa (nome o cognome) secondo le regole del CF con validazione + */ + private String elaboraStringa(String stringa, boolean isNome) { + if (stringa == null || stringa.trim().isEmpty()) { + return "XXX"; + } + + // Normalizza la stringa: maiuscolo, rimuove caratteri non alfabetici + String normalizzata = stringa.toUpperCase() + .replaceAll("[^A-ZÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞŸ]", "") + .replaceAll("[ÀÁÂÃÄÅÆ]", "A") + .replaceAll("[ÇČĆ]", "C") + .replaceAll("[ÈÉÊË]", "E") + .replaceAll("[ÌÍÎÏ]", "I") + .replaceAll("[ÑŃ]", "N") + .replaceAll("[ÒÓÔÕÖØ]", "O") + .replaceAll("[ÙÚÛÜ]", "U") + .replaceAll("[ÝÞŸ]", "Y"); + + if (normalizzata.isEmpty()) { + return "XXX"; + } + + StringBuilder consonanti = new StringBuilder(); + StringBuilder vocali = new StringBuilder(); + + for (char c : normalizzata.toCharArray()) { + if (CONSONANTI.indexOf(c) != -1) { + consonanti.append(c); + } else if (VOCALI.indexOf(c) != -1) { + vocali.append(c); + } + } + + StringBuilder risultato = new StringBuilder(); + + try { + if (isNome && consonanti.length() >= 4) { + // Per il nome: se ci sono 4+ consonanti, prendi 1a, 3a, 4a + risultato.append(consonanti.charAt(0)); + risultato.append(consonanti.charAt(2)); + risultato.append(consonanti.charAt(3)); + } else { + // Regola standard: prima le consonanti, poi le vocali + risultato.append(consonanti); + risultato.append(vocali); + } + + // Completa con X se necessario + while (risultato.length() < 3) { + risultato.append('X'); + } + + return risultato.substring(0, 3); + + } catch (Exception e) { + // In caso di errore, ritorna XXX + return "XXX"; + } + } + + /** + * Calcola il carattere di controllo con gestione degli errori + */ + private char calcolaCarattereControllo(String cf) { + if (cf == null || cf.length() != 15) { + throw new IllegalArgumentException("Codice fiscale parziale non valido per il calcolo del controllo: " + cf); + } + + try { + int somma = 0; + + for (int i = 0; i < cf.length(); i++) { + char c = cf.charAt(i); + + if (i % 2 == 0) { + // Posizione dispari (1, 3, 5, ...) + if (!CARATTERI_DISPARI.containsKey(c)) { + throw new IllegalArgumentException("Carattere non valido in posizione dispari: " + c); + } + somma += CARATTERI_DISPARI.get(c); + } else { + // Posizione pari (2, 4, 6, ...) + if (!CARATTERI_PARI.containsKey(c)) { + throw new IllegalArgumentException("Carattere non valido in posizione pari: " + c); + } + somma += CARATTERI_PARI.get(c); + } + } + + return CARATTERI_CONTROLLO.charAt(somma % 26); + + } catch (Exception e) { + throw new RuntimeException("Errore nel calcolo del carattere di controllo: " + e.getMessage(), e); + } + } + + /** + * Inizializza le tabelle per il calcolo del carattere di controllo + */ + private static void inizializzaTabelleControllo() { + // Valori per posizioni dispari + String lettereDispari = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; + int[] valoriDispari = {1, 0, 5, 7, 9, 13, 15, 17, 19, 21, 2, 4, 18, 20, 11, 3, 6, 8, 12, 14, 16, 10, 22, 25, 24, 23}; + + for (int i = 0; i < lettereDispari.length(); i++) { + CARATTERI_DISPARI.put(lettereDispari.charAt(i), valoriDispari[i]); + } + + // Valori per numeri in posizioni dispari + for (int i = 0; i <= 9; i++) { + CARATTERI_DISPARI.put(Character.forDigit(i, 10), valoriDispari[i]); + } + + // Valori per posizioni pari (lettere) + for (int i = 0; i < 26; i++) { + CARATTERI_PARI.put((char) ('A' + i), i); + } + + // Valori per numeri in posizioni pari + for (int i = 0; i <= 9; i++) { + CARATTERI_PARI.put(Character.forDigit(i, 10), i); + } + } + + public CodiceFiscaleResultDTO reverseCodiceFiscale(String codiceFiscale) throws Exception { + + validate(codiceFiscale); + + CodiceFiscaleResultDTO codiceFiscaleResultDTO = new CodiceFiscaleResultDTO(); + + // Anno + int anno = Integer.parseInt(codiceFiscale.substring(6, 8)); + anno += (anno >= 0 && anno <= UtilityLocalDate.getNow().getYear()) ? 2000 : 1900; + String meseChar = String.valueOf(codiceFiscale.charAt(8)); + int mese = 0; + for (int i = 1; i <= MESI.length; i++) { + if (MESI[i].equalsIgnoreCase(meseChar)) { + mese = i; + break; + } + } + + // Giorno e sesso + int giornoNum = Integer.parseInt(codiceFiscale.substring(9, 11)); + String sesso = giornoNum > 31 ? "F" : "M"; + int giorno = (sesso.equals("F")) ? giornoNum - 40 : giornoNum; + + String codiceComune = codiceFiscale.substring(11, 15); + + + Comune comune = unitaTerritorialiService.getComuni().stream().filter(x -> x.getCodiceCatastale().equalsIgnoreCase(codiceComune)) + .findFirst() + .orElse(null); + + codiceFiscaleResultDTO + .setNome(codiceFiscale.substring(3, 6)) + .setCognome(codiceFiscale.substring(0, 3)) + .setDataNascita(LocalDate.of(anno, mese + 1, giorno)) + .setSesso(sesso) + .setCodiceCatastale(codiceComune) + .setComuneNascita(comune !=null?comune.getNome():null) + .setProvinciaNascita(comune!=null?comune.getSigla():null); + + + return codiceFiscaleResultDTO; + + + } + + public void validate(String codiceFiscale) throws Exception { + if (codiceFiscale == null || codiceFiscale.length() != 16) + throw new Exception("Codice fiscale non valido"); + + codiceFiscale = codiceFiscale.toUpperCase(); + + // Controllo caratteri ammessi + if (!codiceFiscale.matches("^[A-Z0-9]{16}$")) + throw new Exception("Codice fiscale contiene caratteri non validi"); + + // Controllo anno (posizioni 6-7) + String annoStr = codiceFiscale.substring(6, 8); + if (!annoStr.matches("\\d{2}")) + throw new Exception("Anno di nascita non valido nel codice fiscale"); + + // Controllo mese (posizione 8) + String meseLettera = codiceFiscale.substring(8, 9); + boolean meseValido = false; + for (String mese : MESI) { + if (mese.equals(meseLettera)) { + meseValido = true; + break; + } + } + if (!meseValido) + throw new Exception("Mese di nascita non valido nel codice fiscale"); + + // Controllo giorno/sesso (posizioni 9-10) + String giornoStr = codiceFiscale.substring(9, 11); + int giorno; + try { + giorno = Integer.parseInt(giornoStr); + } catch (NumberFormatException e) { + throw new Exception("Giorno di nascita non valido nel codice fiscale"); + } + if (giorno < 1 || (giorno > 31 && giorno < 41) || giorno > 71) + throw new Exception("Giorno di nascita non valido nel codice fiscale"); + + // Controllo codice catastale (posizioni 11-14) + String codiceComune = codiceFiscale.substring(11, 15); + if (!codiceComune.matches("^[A-Z]\\d{3}$")) + throw new Exception("Codice catastale non valido nel codice fiscale"); + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/service/dto/production/AvailableClassMercDTO.java b/ems-core/src/main/java/it/integry/ems/service/dto/production/AvailableClassMercDTO.java new file mode 100644 index 0000000000..dd8308d5f9 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/service/dto/production/AvailableClassMercDTO.java @@ -0,0 +1,27 @@ +package it.integry.ems.service.dto.production; + +import java.util.List; + +public class AvailableClassMercDTO { + + private String codMgrp; + private List codMsgr; + + public String getCodMgrp() { + return codMgrp; + } + + public AvailableClassMercDTO setCodMgrp(String codMgrp) { + this.codMgrp = codMgrp; + return this; + } + + public List getCodMsgr() { + return codMsgr; + } + + public AvailableClassMercDTO setCodMsgr(List codMsgr) { + this.codMsgr = codMsgr; + return this; + } +} diff --git a/ems-core/src/main/java/it/integry/ems/service/dto/production/OrdineLavorazioneDTO.java b/ems-core/src/main/java/it/integry/ems/service/dto/production/OrdineLavorazioneDTO.java index d25ab5bd15..489944b37f 100644 --- a/ems-core/src/main/java/it/integry/ems/service/dto/production/OrdineLavorazioneDTO.java +++ b/ems-core/src/main/java/it/integry/ems/service/dto/production/OrdineLavorazioneDTO.java @@ -1076,28 +1076,4 @@ public class OrdineLavorazioneDTO { this.availableClassMerc = availableClassMerc; return this; } - - public static class AvailableClassMercDTO { - - private String codMgrp; - private List codMsgr; - - public String getCodMgrp() { - return codMgrp; - } - - public AvailableClassMercDTO setCodMgrp(String codMgrp) { - this.codMgrp = codMgrp; - return this; - } - - public List getCodMsgr() { - return codMsgr; - } - - public AvailableClassMercDTO setCodMsgr(List codMsgr) { - this.codMsgr = codMsgr; - return this; - } - } } \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/service/production/ProductionOrderDataHandlerService.java b/ems-core/src/main/java/it/integry/ems/service/production/ProductionOrderDataHandlerService.java index c5af418f4d..8cdd591ae4 100644 --- a/ems-core/src/main/java/it/integry/ems/service/production/ProductionOrderDataHandlerService.java +++ b/ems-core/src/main/java/it/integry/ems/service/production/ProductionOrderDataHandlerService.java @@ -1,6 +1,7 @@ package it.integry.ems.service.production; import com.annimon.stream.Stream; +import it.integry.ems.service.dto.production.AvailableClassMercDTO; import it.integry.ems.service.dto.production.OrdineInevasoGroupMercDTO; import it.integry.ems.service.dto.production.OrdineLavorazioneDTO; import it.integry.ems.settings.Model.AvailableConnectionsModel; @@ -267,7 +268,7 @@ public class ProductionOrderDataHandlerService { for (Map.Entry> entry : groups.entrySet()) { order.getAvailableClassMerc() - .add(new OrdineLavorazioneDTO.AvailableClassMercDTO() + .add(new AvailableClassMercDTO() .setCodMgrp(entry.getKey()) .setCodMsgr(entry.getValue().stream() .map(OrdineInevasoGroupMercDTO::getCodMsgr) diff --git a/ems-core/src/main/java/it/integry/ems/sync/controller/RemoteSynchronizationController.java b/ems-core/src/main/java/it/integry/ems/sync/controller/RemoteSynchronizationController.java index 56d976aadb..14f2e49b14 100644 --- a/ems-core/src/main/java/it/integry/ems/sync/controller/RemoteSynchronizationController.java +++ b/ems-core/src/main/java/it/integry/ems/sync/controller/RemoteSynchronizationController.java @@ -4,9 +4,9 @@ import it.integry.ems.response.ServiceRestResponse; import it.integry.ems.sync.service.RemoteSynchronizationService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.RequestMapping; -import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; @RestController @@ -17,20 +17,20 @@ public class RemoteSynchronizationController { @Autowired private RemoteSynchronizationService remoteSynchronizationService; - @RequestMapping(value = "publications/{groupId}/start", method = RequestMethod.GET) + @GetMapping(value = "publications/{groupId}/start") public ServiceRestResponse startPublication(@PathVariable long groupId) throws Exception { remoteSynchronizationService.startPublication(groupId); return ServiceRestResponse.createPositiveResponse(); } - @RequestMapping(value = "publications/status", method = RequestMethod.GET) + @GetMapping(value = "publications/status") public ServiceRestResponse statusPublication() { return ServiceRestResponse.createPositiveResponse(remoteSynchronizationService.getPublicationStatus()); } - @RequestMapping(value = "subscription/{subscriptionId}/run", method = RequestMethod.GET) + @GetMapping(value = "subscription/{subscriptionId}/run") public ServiceRestResponse runSubscription(@PathVariable long subscriptionId) throws Exception { remoteSynchronizationService.runSubscription(subscriptionId); return ServiceRestResponse.createPositiveResponse(); diff --git a/ems-core/src/main/java/it/integry/ems/user/service/UserCacheService.java b/ems-core/src/main/java/it/integry/ems/user/service/UserCacheService.java index 876b513646..ae877a75ed 100644 --- a/ems-core/src/main/java/it/integry/ems/user/service/UserCacheService.java +++ b/ems-core/src/main/java/it/integry/ems/user/service/UserCacheService.java @@ -147,6 +147,7 @@ public class UserCacheService { (application == IntegryApplicationEnum.CONSEGNA && x.isWeb()) || (application == IntegryApplicationEnum.WMS && x.isWeb()) || (application == IntegryApplicationEnum.TASK && x.isWeb()) || + (application == IntegryApplicationEnum.CRM && x.isWeb()) || (application == IntegryApplicationEnum.GESTIONALE_BASE && x.isInternal()))) .findFirst(); @@ -173,6 +174,7 @@ public class UserCacheService { (application == IntegryApplicationEnum.CONSEGNA && x.isWeb()) || (application == IntegryApplicationEnum.WMS && x.isWeb()) || (application == IntegryApplicationEnum.TASK && x.isWeb()) || + (application == IntegryApplicationEnum.CRM && x.isWeb()) || (application == IntegryApplicationEnum.GESTIONALE_BASE && x.isInternal()))) .findFirst(); diff --git a/ems-core/src/main/java/it/integry/ems_model/entity/DtbDocp.java b/ems-core/src/main/java/it/integry/ems_model/entity/DtbDocp.java new file mode 100644 index 0000000000..a9a198c941 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems_model/entity/DtbDocp.java @@ -0,0 +1,118 @@ +package it.integry.ems_model.entity; + +import com.fasterxml.jackson.annotation.JsonTypeName; +import it.integry.ems_model.annotation.*; +import it.integry.ems_model.base.EntityBase; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.kie.api.definition.type.PropertyReactive; + +import java.util.Date; + +@Master() +@PropertyReactive() +@Table(value = DtbDocp.ENTITY) +@JsonTypeName(value = DtbDocp.ENTITY) +public class DtbDocp extends EntityBase { + + public final static String ENTITY = "dtb_docp"; + + private final static Long serialVersionUID = 1L; + + private final static Logger logger = LogManager.getLogger(); + + public DtbDocp() { + super(logger); + } + + @PK() + @Identity() + @SqlField(value = "id", nullable = false) + private Long id; + + @SqlField(value = "cod_anag", maxLength = 5, nullable = false) + @FK(tableName = DtbDoct.ENTITY, columnName = "cod_anag") + private String codAnag; + + @SqlField(value = "cod_dtip", maxLength = 5, nullable = false) + @FK(tableName = DtbDoct.ENTITY, columnName = "cod_dtip") + private String codDtip; + + @SqlField(value = "data_doc", nullable = false) + @FK(tableName = DtbDoct.ENTITY, columnName = "data_doc") + private Date dataDoc; + + @SqlField(value = "ser_doc", maxLength = 2, nullable = false) + @FK(tableName = DtbDoct.ENTITY, columnName = "ser_doc") + private String serDoc; + + @SqlField(value = "num_doc", nullable = false) + @FK(tableName = DtbDoct.ENTITY, columnName = "num_doc") + private Integer numDoc; + + @SqlField(value = "num_prot", nullable = false) + private Integer numProt; + + public Long getId() { + return id; + } + + public DtbDocp setId(Long id) { + this.id = id; + return this; + } + + public String getCodAnag() { + return codAnag; + } + + public DtbDocp setCodAnag(String codAnag) { + this.codAnag = codAnag; + return this; + } + + public String getCodDtip() { + return codDtip; + } + + public DtbDocp setCodDtip(String codDtip) { + this.codDtip = codDtip; + return this; + } + + public Date getDataDoc() { + return dataDoc; + } + + public DtbDocp setDataDoc(Date dataDoc) { + this.dataDoc = dataDoc; + return this; + } + + public String getSerDoc() { + return serDoc; + } + + public DtbDocp setSerDoc(String serDoc) { + this.serDoc = serDoc; + return this; + } + + public Integer getNumDoc() { + return numDoc; + } + + public DtbDocp setNumDoc(Integer numDoc) { + this.numDoc = numDoc; + return this; + } + + public Integer getNumProt() { + return numProt; + } + + public DtbDocp setNumProt(Integer numProt) { + this.numProt = numProt; + return this; + } +} diff --git a/ems-core/src/main/java/it/integry/ems_model/entity/DtbTipi.java b/ems-core/src/main/java/it/integry/ems_model/entity/DtbTipi.java index cb02878ade..c00d0d3e8f 100644 --- a/ems-core/src/main/java/it/integry/ems_model/entity/DtbTipi.java +++ b/ems-core/src/main/java/it/integry/ems_model/entity/DtbTipi.java @@ -213,6 +213,9 @@ public class DtbTipi extends EntityBase { @SqlField(value = "cod_ccau_coan", maxLength = 5) private String codCcauCoan; + @SqlField(value = "flag_set_num_prot", nullable = false, defaultObjectValue = "0") + private Boolean flagSetNumProt; + @EntityChild private List dtbTipiAnag = new ArrayList<>(); @@ -834,6 +837,15 @@ public class DtbTipi extends EntityBase { return this; } + public Boolean getFlagSetNumProt() { + return flagSetNumProt; + } + + public DtbTipi setFlagSetNumProt(Boolean flagSetNumProt) { + this.flagSetNumProt = flagSetNumProt; + return this; + } + @Override protected void deleteChilds() throws Exception { DtbTipiAnag dtbTipiAnag = new DtbTipiAnag(); diff --git a/ems-core/src/main/java/it/integry/ems_model/utility/UtilityExcel.java b/ems-core/src/main/java/it/integry/ems_model/utility/UtilityExcel.java index a2bfe9baa0..06bc4e4021 100644 --- a/ems-core/src/main/java/it/integry/ems_model/utility/UtilityExcel.java +++ b/ems-core/src/main/java/it/integry/ems_model/utility/UtilityExcel.java @@ -1,6 +1,8 @@ package it.integry.ems_model.utility; import it.integry.ems.Import.dto.ImportRequestDTO; +import it.integry.ems_model.entity.PtbDest; +import it.integry.ems_model.entity.VtbDest; import org.apache.commons.codec.binary.Base64; import org.apache.poi.openxml4j.opc.OPCPackage; import org.apache.poi.ss.usermodel.*; @@ -10,6 +12,7 @@ import org.apache.poi.xssf.usermodel.XSSFWorkbook; import java.io.*; import java.nio.file.Files; import java.sql.Timestamp; +import java.util.Collections; import java.util.Date; import java.util.Iterator; @@ -74,61 +77,99 @@ public class UtilityExcel { } /** - * Reads an XLSX file from the provided ImportRequestDTO and returns an iterator over the rows. + * Reads an XLSX file and returns an iterator over the rows or sheets. * - * @param requestDTO the import request containing the base64 encoded content of the XLSX file - * @return an iterator over the rows of the first sheet in the XLSX file - * @throws Exception if an error occurs while reading the file or if the file is empty + * @param requestDTO the import request containing file information + * @param clazz the class type to return (Row or Sheet) + * @return an iterator over the specified class type ignoring the header row + * @throws Exception if there is an error reading the file */ - public static Iterator readXlsxFile(ImportRequestDTO requestDTO) throws Exception { - return readXlsxFile(requestDTO, true); + public static Iterator readXlsxFile(ImportRequestDTO requestDTO, Class clazz) throws Exception { + return readXlsxFile(requestDTO, true, clazz); } /** - * Reads an XLSX file from the provided ImportRequestDTO and returns an iterator over the rows. + * Reads an XLSX file and returns an iterator over the rows or sheets. * - * @param requestDTO the import request containing the base64 encoded content of the XLSX file - * @param ignoreHeader whether to ignore the first row (header) of the sheet - * @return an iterator over the rows of the first sheet in the XLSX file - * @throws Exception if an error occurs while reading the file or if the file is empty + * @param requestDTO the import request containing file information + * @param ignoreHeader whether to ignore the header row + * @param clazz the class type to return (Row or Sheet) + * @return an iterator over the specified class type + * @throws Exception if there is an error reading the file */ - public static Iterator readXlsxFile(ImportRequestDTO requestDTO, boolean ignoreHeader) throws Exception { + public static Iterator readXlsxFile(ImportRequestDTO requestDTO, boolean ignoreHeader, Class clazz) throws Exception { InputStream stream; if (requestDTO.getRawContentB64() != null) stream = new ByteArrayInputStream(Base64.decodeBase64(requestDTO.getRawContentB64())); else if (requestDTO.getPathFile() != null && requestDTO.getFileName() != null) { File file = new File(requestDTO.getPathFile()); - if ( file.isDirectory()) { + if (file.isDirectory()) { file = new File(requestDTO.getPathFile() + "/" + requestDTO.getFileName()); } stream = Files.newInputStream(file.toPath()); } else throw new Exception("Errore nella lettura del file"); - return readXlsxFile(stream, ignoreHeader); + return readXlsxFile(stream, ignoreHeader, clazz); } - public static Iterator readXlsxFile(InputStream stream, boolean ignoreHeader) throws Exception { + /** + * Reads an XLSX file from an InputStream and returns an iterator over the rows or sheets. + * + * @param stream the InputStream of the XLSX file + * @param ignoreHeader whether to ignore the header row + * @param clazz the class type to return (Row or Sheet) + * @return an iterator over the specified class type + * @throws Exception if there is an error reading the file + */ + public static Iterator readXlsxFile(InputStream stream, boolean ignoreHeader, Class clazz) throws Exception { + if (clazz.equals(Row.class)) { + @SuppressWarnings("unchecked") + Iterator rowIterator = (Iterator) readXlsxFileReturnRow(stream, ignoreHeader); + return rowIterator; + } else if (clazz.equals(Sheet.class)) { + @SuppressWarnings("unchecked") + Iterator rowIterator = (Iterator) readXlsxReturnSheet(stream); + return rowIterator; + } + throw new Exception("Tipo di classe non supportato: " + clazz.getName()); + } + + private static Iterator readXlsxReturnSheet(InputStream stream) throws Exception { OPCPackage pkg = OPCPackage.open(stream); Workbook workbook = new XSSFWorkbook(pkg); - Sheet sheet = workbook.getSheetAt(0); + Iterator sheetIterator = workbook.sheetIterator(); pkg.close(); + return sheetIterator; + } + + private static Iterator readXlsxFileReturnRow(InputStream stream, boolean ignoreHeader) throws Exception { + Iterator sheetIterator = readXlsxReturnSheet(stream); + return getRowIterator(sheetIterator.next(), ignoreHeader); + } + + /** + * Returns an iterator over the rows of a given sheet, optionally ignoring the header row. + * + * @param sheet the sheet to iterate over + * @param ignoreHeader whether to ignore the first row (header) + * @return an iterator over the rows of the sheet + * @throws Exception if the sheet is empty or there is an error processing it + */ + public static Iterator getRowIterator(Sheet sheet, boolean ignoreHeader) throws Exception { Iterator rowIterator = sheet.iterator(); // Ignora la prima riga (header) - if (ignoreHeader) { - if (rowIterator.hasNext()) { + if (ignoreHeader) + if (rowIterator.hasNext()) rowIterator.next(); - } - } // Verifica se il foglio di lavoro è vuoto - if (!rowIterator.hasNext()) { + if (!rowIterator.hasNext()) throw new Exception("Il file è vuoto."); - } return rowIterator; } diff --git a/ems-core/src/main/java/it/integry/firebase/dto/MessageDTO.java b/ems-core/src/main/java/it/integry/firebase/dto/MessageDTO.java index fdd53aec13..4b02bfd5a2 100644 --- a/ems-core/src/main/java/it/integry/firebase/dto/MessageDTO.java +++ b/ems-core/src/main/java/it/integry/firebase/dto/MessageDTO.java @@ -2,6 +2,7 @@ package it.integry.firebase.dto; import com.google.firebase.messaging.FcmOptions; import com.google.firebase.messaging.Message; +import it.integry.ems_model.entity.WtbUserDeviceToken; import it.integry.firebase.dto.android.AndroidConfigDTO; import it.integry.firebase.dto.apns.ApnsConfigDTO; import it.integry.firebase.dto.webpush.WebpushConfigDTO; @@ -19,6 +20,7 @@ public class MessageDTO { private String condition; private String analyticsLabel; private String userName; + private WtbUserDeviceToken.AppName appName; public Message.Builder toBuilder() { Message.Builder builder = Message.builder(); @@ -151,4 +153,13 @@ public class MessageDTO { this.userName = userName; return this; } + + public WtbUserDeviceToken.AppName getAppName() { + return appName; + } + + public MessageDTO setAppName(WtbUserDeviceToken.AppName appName) { + this.appName = appName; + return this; + } } diff --git a/ems-core/src/main/java/it/integry/firebase/service/DeviceTokenService.java b/ems-core/src/main/java/it/integry/firebase/service/DeviceTokenService.java index 41cfce0e1e..f445857e08 100644 --- a/ems-core/src/main/java/it/integry/firebase/service/DeviceTokenService.java +++ b/ems-core/src/main/java/it/integry/firebase/service/DeviceTokenService.java @@ -7,6 +7,7 @@ import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems_model.entity.WtbDeviceTokenTopic; import it.integry.ems_model.entity.WtbUserDeviceToken; import it.integry.ems_model.types.OperationType; +import it.integry.ems_model.utility.Query; import it.integry.ems_model.utility.UtilityDB; import it.integry.ems_model.utility.UtilityHashMap; import it.integry.firebase.enums.SubscribeOperation; @@ -124,29 +125,21 @@ public class DeviceTokenService { } public List getUserDevices(String userName) throws Exception { - String sql = "SELECT * from wtb_user_device_tokens where user_name = " + UtilityDB.valueToString(userName); + return getUserDevices(userName, null); + } - Connection connection = multiDBTransactionManager.getPrimaryConnection(); - PreparedStatement ps = connection.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - List devices = new ArrayList<>(); + public List getUserDevices(String userName, WtbUserDeviceToken.AppName appName) throws Exception { + Integer appnameValue = appName == null ? null : appName.getValue(); - while (rs.next()) { - WtbUserDeviceToken device = new WtbUserDeviceToken(); + String sql = Query.format( + "SELECT *\n" + + "FROM wtb_user_device_tokens\n" + + "WHERE user_name = %s\n" + + " AND (%s IS NULL OR app_name = %s)", + userName, appnameValue, appnameValue + ); - device.setDeviceToken(rs.getString("device_token")); - device.setAppName(WtbUserDeviceToken.AppName.from(rs.getInt("app_name"))); - device.setId(rs.getLong("id")); - device.setPlatform(rs.getString("platform")); - device.setUserName(rs.getString("user_name")); - - devices.add(device); - } - - rs.close(); - ps.close(); - - return devices; + return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, WtbUserDeviceToken.class); } public List getUserAssociatedTopics(String userName) throws Exception { diff --git a/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java b/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java index 05abc15ae4..6736ddf3b9 100644 --- a/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java +++ b/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java @@ -547,7 +547,7 @@ public class NotificationService { throw new Exception("Username nullo in sendNotificationToUserDevices."); } - for (WtbUserDeviceToken device : deviceTokenService.getUserDevices(messageDTO.getUserName())) { + for (WtbUserDeviceToken device : deviceTokenService.getUserDevices(messageDTO.getUserName(), messageDTO.getAppName())) { try { Message message = messageDTO.toBuilder() .setToken(device.getDeviceToken()) diff --git a/ems-engine/pom.xml b/ems-engine/pom.xml index f968681722..5cbeeae114 100644 --- a/ems-engine/pom.xml +++ b/ems-engine/pom.xml @@ -19,6 +19,7 @@ + ${ems.war.name}-api org.apache.maven.plugins @@ -35,14 +36,13 @@ maven-war-plugin 3.4.0 - ${ems.war.name}-api false cz.habarta.typescript-generator typescript-generator-maven-plugin - 3.2.1263 + 2.37.1128 generate @@ -54,22 +54,61 @@ jackson2 + + it.integry.ems.response.ServiceRestResponse + - it.integry.ems.product.dto.* - it.integry.ems.production.dto.* - it.integry.ems.retail.wms.generic.dto.articolo.* - it.integry.ems.logistic.conSegna.dto.* + it.integry.**.dto.* + it.integry.**DTO** + it.integry.ems_model.entity.* + + it.integry.ems_model.entity.AtbOfft$StatoOfferta:AtbOfftStatoOfferta + it.integry.ems_model.entity.VtbOfft$StatoOfferta:VtbOfftStatoOfferta + it.integry.ems_model.entity.GrlAnagJrept$Tipo:GrlAnagJreptTipo + it.integry.ems_model.entity.WtbJreptSetup$Tipo:WtbJreptSetupTipo + it.integry.ems_model.entity.MtbColr$Causale:MtbColrCausale + it.integry.ems_model.entity.MtbCols$Causale:MtbColsCausale + it.integry.ems.response.MessageDTO:ResponseMessageDTO + it.integry.ems.Import.dto.AnomalieDTO$Type:AnomalieDTOType + it.integry.ems.customizations.production.dto.CaricoLavorazioneDTO:ProdCaricoLavorazioneDTO + it.integry.ems.document.dto.FilterDTO:DocFilterDTO + it.integry.ems.document.farm_mes.dto.ImportLog:FarmMesImportLog + it.integry.ems.order.puddy.dto.ImportLog:PuddyImportLog + it.integry.ems.dto.EntityHierarchy$Field:EntityHierarchyField + it.integry.ems.logistic.dto.ClienteDTO:LogisticClienteDTO + it.integry.ems.order.conquist.dto.ClienteDTO:ConquistClienteDTO + it.integry.ems.order.conquist.dto.OrdineDTO:ConquistOrdineDTO + it.integry.ems.order.Import.dto.DialogoJsonDTO$AnagraficaDTO:DialogoJsonDTOAnagraficaDTO + it.integry.ems.ordikids.dto.AnagraficaDTO:OrdikidsAnagraficaDTO + it.integry.ems.ordikids.dto.ArticoliDTO:OrdikidsArticoliDTO + it.integry.ems.retail.wms.ordini_acquisto.dto.OrdiniAcquistoGrigliaDTO$ArticoliDTO:OrdiniAcquistoGrigliaDTOArticoliDTO + it.integry.ems.retail.wms.ordini_acquisto.dto.OrdiniAcquistoGrigliaDTO$ListiniDTO:OrdiniAcquistiGrigliaDTOListiniDTO + it.integry.ems.production.dto.AttachmentDTO:ProdAttachmentDTO + it.integry.ems.retail.pvmRetail.dto.AccettazioneDTO$Ordine:AccettazioneDTOOrdine + it.integry.ems.retail.wms.lavorazione.dto.RecuperaMaterialiRequestDTO$Ordine:RecuperaMaterialiRequestDTOOrdine + it.integry.ems.order.Import.dto.DialogoJsonDTO$IndirizzoDTO:DialogoJsonDTOIndirizzoDTO + it.integry.ems.sync.MultiDBTransaction.Connection:MultiDBTransactionConnection + it.integry.WooCommerce.dto.local.ArticoloDTO:WooCommerceArticoloDTO + it.integry.ems.logistic.dto.ArticoloDTO:LogisticArticoloDTO + it.integry.ems.document.export.dto.DocumentiDialogoDTO$Export:DocumentiDialogoDTOExport + it.integry.ems.order.Import.dto.OrdiniDialogoDTO$Export:OrdiniDialogoDTOExport + it.integry.ems.document.export.dto.DocumentiDialogoDTO$Import:DocumentiDialogoDTOImport + it.integry.ems.order.Import.dto.OrdiniDialogoDTO$Import:OrdiniDialogoDTOImport + it.integry.ems.logistic.dto.ColloDTO:LogisticColloDTO + it.integry.ems.response.AttachmentDTO:ResponseAttachmentDTO + it.integry.ems.system.imports.dto.OrdineDTO:ImportsOrdineDTO + it.integry.ems_model.base.EntityInterface + + it.integry.ems.contabil.** + it.integry.ems.order.amazon.** + ../ts/ems-engine.module.ts module implementationFile - - it.integry.ems_model.entity.MtbColr$Causale:MtbColrCausale - it.integry.ems_model.entity.MtbCols$Causale:MtbColsCausale - true asClasses asEnum diff --git a/ems-engine/src/main/java/it/integry/ems/activity/controller/ActivityController.java b/ems-engine/src/main/java/it/integry/ems/activity/controller/ActivityController.java index 4752bacc44..01351a1492 100644 --- a/ems-engine/src/main/java/it/integry/ems/activity/controller/ActivityController.java +++ b/ems-engine/src/main/java/it/integry/ems/activity/controller/ActivityController.java @@ -70,7 +70,7 @@ public class ActivityController { @RequestParam(CommonConstants.PROFILE_DB) String configuration, @RequestParam(required = false) String userCreator, @RequestBody List body) throws Exception { - activityService.planActivities(userCreator, body); + activityService.planActivities(body); return ServiceRestResponse.createPositiveResponse(); } @@ -220,9 +220,10 @@ public class ActivityController { @RequestMapping(value = EmsRestConstants.PATH_ACTIVITY_COMMESSE, method = RequestMethod.GET) public ServiceRestResponse getCommesse(HttpServletRequest request, @RequestParam(CommonConstants.PROFILE_DB) String config, - @RequestParam(required = false) String username) throws Exception { + @RequestParam(required = false) String username, + @RequestParam(required = false) boolean commesseOrfane) throws Exception { - return ServiceRestResponse.createPositiveResponse(activityService.getCommesse(username)); + return ServiceRestResponse.createPositiveResponse(activityService.getCommesse(username, commesseOrfane)); } @PreAuthorize("isAuthenticated()") diff --git a/ems-engine/src/main/java/it/integry/ems/activity/dto/PersoneRifDTO.java b/ems-engine/src/main/java/it/integry/ems/activity/dto/PersoneRifDTO.java index 243d9901eb..f57d2be08d 100644 --- a/ems-engine/src/main/java/it/integry/ems/activity/dto/PersoneRifDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/activity/dto/PersoneRifDTO.java @@ -6,15 +6,22 @@ public class PersoneRifDTO { @SqlField("persona_rif") private String personaRif; + @SqlField("cod_jcom") private String codJcom; + @SqlField("persona_cod_jcom") private String personaCodJcom; + @SqlField("e_mail") private String eMail; + @SqlField("cod_anag") private String codAnag; + @SqlField("tipo_indirizzo") + private String tipoIndirizzo; + public String getPersonaRif() { return personaRif; } @@ -59,4 +66,13 @@ public class PersoneRifDTO { this.codAnag = codAnag; return this; } + + public String getTipoIndirizzo() { + return tipoIndirizzo; + } + + public PersoneRifDTO setTipoIndirizzo(String tipoIndirizzo) { + this.tipoIndirizzo = tipoIndirizzo; + return this; + } } diff --git a/ems-engine/src/main/java/it/integry/ems/activity/service/ActivityService.java b/ems-engine/src/main/java/it/integry/ems/activity/service/ActivityService.java index 0bd3bfa8f6..4723e7b246 100644 --- a/ems-engine/src/main/java/it/integry/ems/activity/service/ActivityService.java +++ b/ems-engine/src/main/java/it/integry/ems/activity/service/ActivityService.java @@ -9,8 +9,10 @@ import it.integry.ems.media.MediaVideoService; import it.integry.ems.media.MimeTypesHandler; import it.integry.ems.service.EntityProcessor; import it.integry.ems.settings.SettingsController; +import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems.user.UtilityUser; +import it.integry.ems.user.service.UserService; import it.integry.ems.utility.UtilityEntity; import it.integry.ems_model.base.EntityBase; import it.integry.ems_model.config.EmsRestConstants; @@ -19,6 +21,14 @@ import it.integry.ems_model.entity.*; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; +import it.integry.firebase.dto.MessageDTO; +import it.integry.firebase.dto.NotificationDTO; +import it.integry.firebase.dto.android.AndroidConfigDTO; +import it.integry.firebase.dto.android.AndroidNotificationDTO; +import it.integry.firebase.dto.apns.ApnsConfigDTO; +import it.integry.firebase.dto.apns.ApsDTO; +import it.integry.firebase.dto.webpush.WebpushConfigDTO; +import it.integry.firebase.service.NotificationService; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; @@ -64,6 +74,9 @@ public class ActivityService { @Autowired private SetupGest gestSetup; + @Autowired + private NotificationService notificationService; + public StbActivity uploadAttachment(String activityId, MultipartFile... files) throws Exception { List stbActivityFiles = new ArrayList<>(); @@ -555,178 +568,215 @@ public class ActivityService { } - public void planActivities(String userCreator, List planActivityDTOList) throws Exception { - + public void planActivities(List planActivityDTOList) throws Exception { + Connection conn = multiDBTransactionManager.getPrimaryConnection(); List entityList = new ArrayList<>(); - for (PlanActivityDTO planActivityDTO : planActivityDTOList) { + try { + for (PlanActivityDTO planActivityDTO : planActivityDTOList) { - StbActivity parentStbActivity = new StbActivity(); - parentStbActivity.setOperation(OperationType.SELECT_OBJECT); - parentStbActivity.setActivityId(planActivityDTO.getActivityId()); + StbActivity parentStbActivity = new StbActivity(); + parentStbActivity.setOperation(OperationType.SELECT_OBJECT); + parentStbActivity.setActivityId(planActivityDTO.getActivityId()); - entityProcessor.processEntity(parentStbActivity, multiDBTransactionManager); + entityProcessor.processEntity(parentStbActivity, multiDBTransactionManager); - if (parentStbActivity == null) { - throw new Exception("Nessun obiettivo o ticket trovato con l'ID: " + planActivityDTO.getActivityId()); - } + if (parentStbActivity == null) { + throw new Exception("Nessun obiettivo o ticket trovato con l'ID: " + planActivityDTO.getActivityId()); + } - Date startDateParent = UtilityDate.getWeekStartDate(planActivityDTO.getAgenda().get(0).getData()); - Date endDateParent = UtilityDate.getWeekEndDate(planActivityDTO.getAgenda().get(planActivityDTO.getAgenda().size() - 1).getData()); + Date startDateParent = UtilityDate.getWeekStartDate(planActivityDTO.getAgenda().get(0).getData()); + Date endDateParent = UtilityDate.getWeekEndDate(planActivityDTO.getAgenda().get(planActivityDTO.getAgenda().size() - 1).getData()); - if (parentStbActivity.getEstimatedDate() == null || - (parentStbActivity.getEstimatedDate() != null && parentStbActivity.getEstimatedDate().after(startDateParent))) { - parentStbActivity.setEstimatedDate(startDateParent); - } + if (parentStbActivity.getEstimatedDate() == null || + (parentStbActivity.getEstimatedDate() != null && parentStbActivity.getEstimatedDate().after(startDateParent))) { + parentStbActivity.setEstimatedDate(startDateParent); + } - if (parentStbActivity.getEstimatedEnddate() == null || - (parentStbActivity.getEstimatedEnddate() != null && parentStbActivity.getEstimatedEnddate().before(endDateParent))) { - parentStbActivity.setEstimatedEnddate(endDateParent); - } + if (parentStbActivity.getEstimatedEnddate() == null || + (parentStbActivity.getEstimatedEnddate() != null && parentStbActivity.getEstimatedEnddate().before(endDateParent))) { + parentStbActivity.setEstimatedEnddate(endDateParent); + } - String sql = "SELECT user_name FROM stb_activity WHERE activity_id = " + UtilityDB.valueToString(parentStbActivity.getActivityId()); - String userNameP = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql); + String sql = "SELECT user_name FROM stb_activity WHERE activity_id = " + UtilityDB.valueToString(parentStbActivity.getActivityId()); + String userNameP = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); - if ((userNameP.equalsIgnoreCase("DEV") || - userNameP.equalsIgnoreCase("T0001") || - userNameP.equalsIgnoreCase("T0003"))) { - parentStbActivity.setUserName(planActivityDTO.getUsers().get(0).getUsername()); - } + if ((userNameP.equalsIgnoreCase("DEV") || + userNameP.equalsIgnoreCase("T0001") || + userNameP.equalsIgnoreCase("T0003"))) { + parentStbActivity.setUserName(planActivityDTO.getUsers().get(0).getUsername()); + } - parentStbActivity.setOperation(OperationType.UPDATE); - entityList.add(parentStbActivity); + parentStbActivity.setOperation(OperationType.UPDATE); + entityList.add(parentStbActivity); - //Date startDate = UtilityDate.getWeekStartDate(planActivityDTO.getData()); + if ("S".equalsIgnoreCase(planActivityDTO.getCreaAttivita())) { + boolean modifyUser = !planActivityDTO.getUsers().isEmpty(); + if (modifyUser) parentStbActivity.setUserName(planActivityDTO.getUsers().get(0).getUsername()); + for (PlanActivityDTO.User user : planActivityDTO.getUsers()) { + for (PlanActivityDTO.Agenda agenda : planActivityDTO.getAgenda()) { + Date startDate = agenda.getData(); - if ("S".equalsIgnoreCase(planActivityDTO.getCreaAttivita())) { - boolean modifyUser = !planActivityDTO.getUsers().isEmpty(); - if (modifyUser) parentStbActivity.setUserName(planActivityDTO.getUsers().get(0).getUsername()); - for (PlanActivityDTO.User user : planActivityDTO.getUsers()) { - for (PlanActivityDTO.Agenda agenda : planActivityDTO.getAgenda()) { - Date startDate = agenda.getData(); + SimpleDateFormat sdf = new SimpleDateFormat("HH:mm"); + Date startHour = null; + Date endHour = null; - SimpleDateFormat sdf = new SimpleDateFormat("HH:mm"); - Date startHour = null; - Date endHour = null; + if (agenda.getOraInizio() != null) { + startHour = sdf.parse(agenda.getOraInizio()); + } + if (agenda.getOraFine() != null) { + endHour = sdf.parse(agenda.getOraFine()); + } - if (agenda.getOraInizio() != null) { - startHour = sdf.parse(agenda.getOraInizio()); - } - if (agenda.getOraFine() != null) { - endHour = sdf.parse(agenda.getOraFine()); - } + Calendar calendar = Calendar.getInstance(); + calendar.setTime(startDate); - Calendar calendar = Calendar.getInstance(); - calendar.setTime(startDate); - - if (startHour != null) { - Calendar cStartHour = Calendar.getInstance(); - cStartHour.setTime(startHour); - calendar.set(Calendar.HOUR_OF_DAY, cStartHour.get(Calendar.HOUR_OF_DAY)); - calendar.set(Calendar.MINUTE, cStartHour.get(Calendar.MINUTE)); - } else if (calendar.get(Calendar.HOUR) == 0) { - calendar.set(Calendar.HOUR_OF_DAY, 9); - } - startDate = calendar.getTime(); + if (startHour != null) { + Calendar cStartHour = Calendar.getInstance(); + cStartHour.setTime(startHour); + calendar.set(Calendar.HOUR_OF_DAY, cStartHour.get(Calendar.HOUR_OF_DAY)); + calendar.set(Calendar.MINUTE, cStartHour.get(Calendar.MINUTE)); + } else if (calendar.get(Calendar.HOUR) == 0) { + calendar.set(Calendar.HOUR_OF_DAY, 9); + } + startDate = calendar.getTime(); - if (parentStbActivity.getEffectiveDate() == null) { - parentStbActivity.setEffectiveTime(startHour); - } + if (parentStbActivity.getEffectiveDate() == null) { + parentStbActivity.setEffectiveTime(startHour); + } - if (endHour != null) { - Calendar cEndHour = Calendar.getInstance(); - cEndHour.setTime(endHour); - calendar.set(Calendar.HOUR_OF_DAY, cEndHour.get(Calendar.HOUR_OF_DAY)); - calendar.set(Calendar.MINUTE, cEndHour.get(Calendar.MINUTE)); - } else { - calendar.add(Calendar.HOUR_OF_DAY, 1); - } + if (endHour != null) { + Calendar cEndHour = Calendar.getInstance(); + cEndHour.setTime(endHour); + calendar.set(Calendar.HOUR_OF_DAY, cEndHour.get(Calendar.HOUR_OF_DAY)); + calendar.set(Calendar.MINUTE, cEndHour.get(Calendar.MINUTE)); + } else { + calendar.add(Calendar.HOUR_OF_DAY, 1); + } - Date endDate = calendar.getTime(); + Date endDate = calendar.getTime(); - sql = - "SELECT activity_id " + - " FROM stb_activity " + - " WHERE stb_activity.parent_activity_id = " + UtilityDB.valueToString(parentStbActivity.getActivityId()) + " AND " + - "stb_activity.user_name = " + UtilityDB.valueToString(user.getUsername()) + " AND " + - "stb_activity.estimated_time = " + UtilityDB.valueDateToString(startDate, CommonConstants.DATETIME_FORMAT_YMD) + - (!UtilityString.isNullOrEmpty(planActivityDTO.getDescription())? - " AND " + - "stb_activity.activity_description = " + UtilityDB.valueToString(planActivityDTO.getDescription()):""); + sql = + "SELECT activity_id " + + " FROM stb_activity " + + " WHERE stb_activity.parent_activity_id = " + UtilityDB.valueToString(parentStbActivity.getActivityId()) + " AND " + + "stb_activity.user_name = " + UtilityDB.valueToString(user.getUsername()) + " AND " + + "stb_activity.estimated_time = " + UtilityDB.valueDateToString(startDate, CommonConstants.DATETIME_FORMAT_YMD) + + (!UtilityString.isNullOrEmpty(planActivityDTO.getDescription()) ? + " AND " + + "stb_activity.activity_description = " + UtilityDB.valueToString(planActivityDTO.getDescription()) : ""); - String activityId = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql); + String activityId = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); - if (activityId == null) { - String query = - "SELECT activity_type_id_next, " + - "count(*) over (partition by activity_type_id) as conta " + - " FROM srl_activity_type " + - " WHERE activity_type_id = " + UtilityDB.valueToString(parentStbActivity.getActivityTypeId()); + if (activityId == null) { + String query = + "SELECT activity_type_id_next, " + + "count(*) over (partition by activity_type_id) as conta " + + " FROM srl_activity_type " + + " WHERE activity_type_id = " + UtilityDB.valueToString(parentStbActivity.getActivityTypeId()); - Map dati = UtilityDB.executeSimpleQueryOnlyFirstRow(multiDBTransactionManager.getPrimaryConnection(), query); + Map dati = UtilityDB.executeSimpleQueryOnlyFirstRow(conn, query); - String activityTypeId = planActivityDTO.getActivityTypeId(); - if (activityTypeId == null) { - if (((Integer) dati.get("conta")).intValue() == 1) { - activityTypeId = (String) dati.get("activity_type_id_next"); - } else if ("OBIETTIVO".equalsIgnoreCase(parentStbActivity.getActivityTypeId())) { - activityTypeId = "PROGRAMMAZIONE"; - } else if ("TICKET".equalsIgnoreCase(parentStbActivity.getActivityTypeId())) { - activityTypeId = "TEST,CORREZIONI"; + String activityTypeId = planActivityDTO.getActivityTypeId(); + if (activityTypeId == null) { + if (((Integer) dati.get("conta")).intValue() == 1) { + activityTypeId = (String) dati.get("activity_type_id_next"); + } else if ("OBIETTIVO".equalsIgnoreCase(parentStbActivity.getActivityTypeId())) { + activityTypeId = "PROGRAMMAZIONE"; + } else if ("TICKET".equalsIgnoreCase(parentStbActivity.getActivityTypeId())) { + activityTypeId = "TEST,CORREZIONI"; + } + } + + String description = planActivityDTO.getDescription(); + if (description == null || description.isEmpty()) { + description = parentStbActivity.getActivityDescription(); + } + + StbActivity newStbActivity = new StbActivity() + .setParentActivityId(parentStbActivity.getActivityId()) + .setUserName(user.getUsername()) + .setEstimatedTime(startDate) + .setEstimatedEndtime(endDate) + .setActivityType(activityTypeId) + .setFlagTipologia("A") + .setActivityDescription(description) + .setUserCreator(requestDataDTO.getUsername()) + .setActivityResultId("DA FARE"); + + newStbActivity.setOperation(OperationType.INSERT); + entityProcessor.processEntity(newStbActivity, true, multiDBTransactionManager); + + if (!user.getUsername().equalsIgnoreCase(requestDataDTO.getUsername())) { + sql = Query.format( + "SELECT descrizione\n" + + "FROM jtb_comt\n" + + "WHERE cod_jcom = %s", + newStbActivity.getCodJcom() + ); + String commessa = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + + sql = Query.format( + "SELECT full_name\n" + + "FROM stb_user\n" + + "WHERE user_name = %s", + requestDataDTO.getUsername() + ); + String fullname = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + + String title = String.format("Nuova attività pianificata su: %s", commessa); + String message = String.format("Ti è stata pianificata un'attività da: %s (#%s)", fullname, newStbActivity.getActivityId()); + String link = String.format("/activity/task/%s", newStbActivity.getActivityId()); + + notificationService.sendNotificationToUserDevices(new MessageDTO() + .setUserName(user.getUsername()) + .setAppName(WtbUserDeviceToken.AppName.TASK) + .setNotification(new NotificationDTO() + .setTitle(title) + .setBody(message) + ) + .setApns(new ApnsConfigDTO() + .setAps(new ApsDTO() + .setSound("default") + .setContentAvailable(true) + ) + ) + ); } } - String description = planActivityDTO.getDescription(); - if (description == null || description.isEmpty()) { - description = parentStbActivity.getActivityDescription(); + sql = + " SELECT activity_result_id " + + " FROM stb_activity " + + " WHERE stb_activity.activity_id = " + UtilityDB.valueToString(parentStbActivity.getActivityId()); + + String resultId = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + if (UtilityString.isNullOrEmpty(resultId)) { + parentStbActivity.setActivityResult("DA FARE"); + parentStbActivity.setOperation(OperationType.UPDATE); + entityList.add(parentStbActivity); + } else if (UtilityString.equalsIgnoreCase(planActivityDTO.getActivityTypeId(), "TEST NUOVE FUNZIONALITA' SOFWARE")) { + parentStbActivity.setActivityResult("TEST"); + parentStbActivity.setOperation(OperationType.UPDATE); + entityList.add(parentStbActivity); + } - - StbActivity newStbActivity = new StbActivity(); - newStbActivity.setOperation(OperationType.INSERT); - newStbActivity - .setParentActivityId(parentStbActivity.getActivityId()) - .setUserName(user.getUsername()) - .setEstimatedTime(startDate) - .setEstimatedEndtime(endDate) - .setActivityType(activityTypeId) - .setFlagTipologia("A") - .setActivityDescription(description) - .setUserCreator(userCreator) - .setActivityResultId("DA FARE"); - - entityList.add(newStbActivity); - - logger.trace(String.format("Inserita attività #%s all'utente %s", newStbActivity.getActivityId(), user.getUsername())); - } - - sql = - " SELECT activity_result_id " + - " FROM stb_activity " + - " WHERE stb_activity.activity_id = " + UtilityDB.valueToString(parentStbActivity.getActivityId()); - - String resultId = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql); - if (UtilityString.isNullOrEmpty(resultId)) { - parentStbActivity.setActivityResult("DA FARE"); - parentStbActivity.setOperation(OperationType.UPDATE); - entityList.add(parentStbActivity); - } else if (UtilityString.equalsIgnoreCase(planActivityDTO.getActivityTypeId(), "TEST NUOVE FUNZIONALITA' SOFWARE")) { - parentStbActivity.setActivityResult("TEST"); - parentStbActivity.setOperation(OperationType.UPDATE); - entityList.add(parentStbActivity); - } } } + } - } + if (!entityList.isEmpty()) { + entityProcessor.processEntityList(entityList, true); + } - if (!entityList.isEmpty()) { - entityProcessor.processEntityList(entityList, true); + } catch (Exception e) { + multiDBTransactionManager.rollbackAll(); + throw e; } - } public ActivityDTO changeCodJcom(String activityId, String codJcom, String parentActivityId) throws Exception { @@ -1211,13 +1261,15 @@ public class ActivityService { return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, ActivityProductsDTO.class); } - public List getCommesse(String username) throws Exception { + public List getCommesse(String username, boolean commesseOrfane) throws Exception { String sql = "SELECT cod_jcom, descrizione \n" + "FROM jtb_comt \n" + "WHERE stato_commessa IN ('IN CORSO', 'POST VENDITA', 'TRATTATIVA') \n"; if (username != null && !username.isEmpty()) { sql += Query.format("AND cod_jflav_tec = %s \n", username); + } else if (commesseOrfane) { + sql += "AND cod_jflav_tec IS NULL \n"; } sql += "ORDER BY cod_jcom ASC"; @@ -1226,20 +1278,22 @@ public class ActivityService { } public void insertOrUpdateActivity(ActivityDTO activity) throws Exception { + Connection conn = multiDBTransactionManager.getPrimaryConnection(); String codAnagPersRif, codAnag; + if (!UtilityString.isNullOrEmpty(activity.getEmailRichiedente())) { String query = "SELECT vtb_clie_pers_rif.cod_anag FROM vtb_clie_pers_rif, vtb_clie " + "WHERE vtb_clie_pers_rif.cod_anag = vtb_clie.cod_anag AND " + "vtb_clie.flag_stato = 'A' AND vtb_clie_pers_rif.e_mail = " + UtilityDB.valueToString(activity.getEmailRichiedente()); - codAnagPersRif = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), query); + codAnagPersRif = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, query); if (UtilityString.isNullOrEmpty(codAnagPersRif)) { query = "SELECT cod_anag FROM jtb_comt WHERE cod_jcom = " + UtilityDB.valueToString(activity.getCommessa()); - codAnag = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), query); + codAnag = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, query); String domainIntegry = "integry.it"; if (!UtilityString.isNullOrEmpty(codAnag) && !activity.getEmailRichiedente().toUpperCase().contains(domainIntegry.toUpperCase())) { @@ -1267,7 +1321,7 @@ public class ActivityService { activity.getFlagTipologia() ); - String codJfas = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql); + String codJfas = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); StbActivity stbActivity = new StbActivity(); stbActivity.setOperation(OperationType.INSERT_OR_UPDATE); @@ -1290,7 +1344,72 @@ public class ActivityService { .setParentActivityId(activity.getParentActivityId()) .setCodJfas(codJfas); - entityProcessor.processEntity(stbActivity, true, multiDBTransactionManager); + sql = Query.format( + "SELECT * FROM stb_activity WHERE activity_id = %s", + activity.getIdAttivita() + ); + StbActivity oldActivity = UtilityDB.executeSimpleQueryOnlyFirstRowDTO(conn, sql, StbActivity.class); + + if (oldActivity != null && !UtilityString.equalsIgnoreCase(oldActivity.getActivityResultId(), activity.getEsito())) { + if (!activity.getEsito().equalsIgnoreCase(EmsRestConstants.NULL)) { + sql = Query.format( + "SELECT CAST(IIF(flag_invio_notifica = 'N', 0, 1) AS BIT)\n" + + "FROM stb_activity_result\n" + + "WHERE activity_result_id = %s", + activity.getEsito() + ); + boolean sendNotification = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + + if (sendNotification) { + String username = null; + + sql = Query.format( + "SELECT cod_jflav_tec\n" + + "FROM jtb_comt\n" + + "WHERE stato_commessa IN ('IN CORSO', 'POST VENDITA', 'TRATTATIVA')\n" + + " AND cod_jcom = %s", + activity.getCommessa() + ); + String responsabile = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + + if (responsabile != null) { + username = responsabile; + } else { + username = oldActivity.getUserCreator(); + } + + if (username != null || (!username.equalsIgnoreCase(requestDataDTO.getUsername()))) { + sql = Query.format( + "SELECT full_name\n" + + "FROM stb_user\n" + + "WHERE user_name = %s", + requestDataDTO.getUsername() + ); + String fullname = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + + String title = String.format("%s ha aggiornato un'attività", fullname); + String message = String.format("L'attività: #%s è stata aggiornata con esito %s.", activity.getIdAttivita(), activity.getEsito()); + + notificationService.sendNotificationToUserDevices(new MessageDTO() + .setUserName(username) + .setAppName(WtbUserDeviceToken.AppName.TASK) + .setNotification(new NotificationDTO() + .setTitle(title) + .setBody(message) + ) + .setApns(new ApnsConfigDTO() + .setAps(new ApsDTO() + .setSound("default") + .setContentAvailable(true) + ) + ) + ); + } + } + } + } + + entityProcessor.processEntity(stbActivity, multiDBTransactionManager); } public void updateActivityTask(ActivityTaskDTO activity) throws Exception { @@ -1801,14 +1920,14 @@ public class ActivityService { } if (utentiDb == null) { utentiDb = new ArrayList<>(); - }else{ + } else { utentiDb.forEach(x -> x.setOperation(OperationType.DELETE)); plan.getSrlActivityPlanUser().addAll(utentiDb); } for (String username : dto.getUsers()) { SrlActivityPlanUser user = utentiDb.stream().filter(x -> x.getUserName().equalsIgnoreCase(username)).findFirst().orElse(null); - if (user == null){ + if (user == null) { user = new SrlActivityPlanUser(); plan.getSrlActivityPlanUser().add(user); } diff --git a/ems-engine/src/main/java/it/integry/ems/activity/service/UserWorkHoursService.java b/ems-engine/src/main/java/it/integry/ems/activity/service/UserWorkHoursService.java index 4f25ea87bb..0ffb26b52e 100644 --- a/ems-engine/src/main/java/it/integry/ems/activity/service/UserWorkHoursService.java +++ b/ems-engine/src/main/java/it/integry/ems/activity/service/UserWorkHoursService.java @@ -14,6 +14,7 @@ import it.integry.ems.user.service.UserService; import it.integry.ems.utility.service.UtilityService; import it.integry.ems_model.entity.JtbRLavr; import it.integry.ems_model.entity.JtbRLavt; +import it.integry.ems_model.entity.WtbUserDeviceToken; import it.integry.ems_model.exception.DataConverterNotFoundException; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; @@ -236,6 +237,7 @@ public class UserWorkHoursService { notificationService.sendNotificationToUserDevices(new MessageDTO() .setUserName(user.getUsername()) + .setAppName(WtbUserDeviceToken.AppName.WINCLOCK) .setNotification(new NotificationDTO() .setTitle("Brav*") .setBody("Hai completato le tue 8 ore di lavoro giornaliere 😁🙌")) diff --git a/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java b/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java index bb7a53bd87..46fc867618 100644 --- a/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java +++ b/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java @@ -422,7 +422,7 @@ public class ContabilImportService { public List importPartiteScadSinfoOne(String type, String format, ImportRequestDTO requestDTO, List listAnomalie) throws Exception { Map setup = setupGest.getImportSetupSection(multiDBTransactionManager.getPrimaryConnection(), type, format); - Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO); + Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO, Row.class); //Ignoro le prime tre righe di intestazione for (int i = 0; i < 3; i++) { if (rowIterator.hasNext()) { diff --git a/ems-engine/src/main/java/it/integry/ems/customizations/sales/service/ToscaSalesService.java b/ems-engine/src/main/java/it/integry/ems/customizations/sales/service/ToscaSalesService.java index 0049e5c7e1..4ddbd95c7a 100644 --- a/ems-engine/src/main/java/it/integry/ems/customizations/sales/service/ToscaSalesService.java +++ b/ems-engine/src/main/java/it/integry/ems/customizations/sales/service/ToscaSalesService.java @@ -73,7 +73,7 @@ public class ToscaSalesService { } private List parseFile(InputStream inputStream) throws Exception { - Iterator rowIterator = UtilityExcel.readXlsxFile(inputStream, true); + Iterator rowIterator = UtilityExcel.readXlsxFile(inputStream, true, Row.class); List ordiniDaImportare = new ArrayList<>(); List diacodNotFound = new ArrayList<>(); diff --git a/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiAcquistoImportService.java b/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiAcquistoImportService.java index 6a56161d38..6fcf89661f 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiAcquistoImportService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiAcquistoImportService.java @@ -913,7 +913,7 @@ public class DocumentiAcquistoImportService { throw new Exception("File con data antecedente alla data prevista per l'importazione"); } } - Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO); + Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO, Row.class); List rifOrdApuliaList = new ArrayList<>(); while (rowIterator.hasNext()) { diff --git a/ems-engine/src/main/java/it/integry/ems/document/farm_mes/service/FarmMesIsaporcService.java b/ems-engine/src/main/java/it/integry/ems/document/farm_mes/service/FarmMesIsaporcService.java index 1befb7dcda..bc2ed89820 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/farm_mes/service/FarmMesIsaporcService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/farm_mes/service/FarmMesIsaporcService.java @@ -652,6 +652,7 @@ public class FarmMesIsaporcService { Connection conn = multiDBTransactionManager.getPrimaryConnection(); PreparedStatement info; ResultSet res; + BigDecimal qtaInProd = BigDecimal.ZERO; String codJcom = jsonBody.get("codJcom").asText(); String lottoProv = jsonBody.get("lottoProv").asText(); @@ -715,11 +716,11 @@ public class FarmMesIsaporcService { res.close(); info.close(); - if (dataOrdRistallo == null) { + /* if (dataOrdRistallo == null) { throw new Exception("Non è stato possibile individuare l'ordine di RISTALLO " + bandaRistallo); } else if (dataOrdRistallo.after(dataTrasf)) { throw new Exception("La data di trsferimento da RISTALLO alla soccida " + codJcom + " è antecedente alla data del ristallo."); - } + }*/ // Aggiornamento documenti di caricno/scarico sostituendo il lotto specificato dall'operatore in fase // di immissione in produzione su FARMMES con il lotto di RISTALLO @@ -769,7 +770,8 @@ public class FarmMesIsaporcService { sql = "select dtb_ord_steps.id_riga, " + "dtb_ord_steps.id_step, " + "dtb_ord_steps.num_fase, " + - "dtb_ord_steps.cod_jfas " + + "dtb_ord_steps.cod_jfas, " + + "dtb_ord_steps.qta_in_prod " + "from dtb_ord_Steps, dtb_ordt " + "where dtb_ord_steps.data_fine is null and " + "dtb_ordt.gestione = 'L' and " + @@ -785,6 +787,7 @@ public class FarmMesIsaporcService { idStep = res.getInt(2); numFase = res.getInt(3); codJfasRow = res.getString(4); + qtaInProd = res.getBigDecimal(5); } res.close(); info.close(); @@ -810,6 +813,11 @@ public class FarmMesIsaporcService { ordSteps.setCodJfas(codJfasRow); ordSteps.setDataIniz(dataTrasf); ordSteps.setNote("TRASFERIMENTO A SOCCIDA " + codJcom); + + if (qtaTrasf.compareTo(qtaInProd) > 0){ + String exceptionMsg = "La quantità da trasferire (" + UtilityString.BigDecimalToString(qtaTrasf, "###0") + " capi) è superiore ai capi presenti in produzione (" + UtilityString.BigDecimalToString(qtaInProd, "###0") + " capi) è necessario verificare ed eventualmente modificare il documento DDTL di carico."; + throw new Exception(exceptionMsg); + } ordSteps.setQtaTrasferite(qtaTrasf); ordLav.getDtbOrdSteps().add(ordSteps); diff --git a/ems-engine/src/main/java/it/integry/ems/document/service/CambioTipoDocService.java b/ems-engine/src/main/java/it/integry/ems/document/service/CambioTipoDocService.java index be4abd720b..b1abf1b353 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/service/CambioTipoDocService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/service/CambioTipoDocService.java @@ -11,6 +11,7 @@ import it.integry.ems_model.entity.DtbDoct; import it.integry.ems_model.entity.DtbDoctCambioTipoDoc; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; +import it.integry.ems_model.utility.UtilityDate; import it.integry.ems_model.utility.UtilityString; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; @@ -35,6 +36,7 @@ public class CambioTipoDocService { private SetupGest setupGest; @Autowired private RequestDataDTO requestDataDTO; + public List cambioTipoDoc(String codDtip, List documenti) throws Exception { List entityList = new ArrayList<>(); final String gestName = "W_ACAMBIO_COD_DTIP_DISP"; @@ -46,8 +48,8 @@ public class CambioTipoDocService { if (UtilityString.isNullOrEmpty(emailForLog)) throw new Exception(String.format("Email a cui inviare il log non configurata -> %s ->%s -> EMAIL_FOR_LOG", gestName, section)); - if ( pianifica ) { - for (CambioTipoDocDTO c: documenti ){ + if (pianifica) { + for (CambioTipoDocDTO c : documenti) { DtbDoctCambioTipoDoc dtbDoctCambioTipoDoc = new DtbDoctCambioTipoDoc() .setCodAnag(c.getCodAnag()) @@ -65,7 +67,7 @@ public class CambioTipoDocService { if (c.getAllegati() != null && !c.getAllegati().isEmpty()) { for (CambioTipoDocDTO.Allegati a : c.getAllegati()) { - if ( dtbDoctCambioTipoDoc.getIdAllegato() == null ) { + if (dtbDoctCambioTipoDoc.getIdAllegato() == null) { dtbDoctCambioTipoDoc.setIdAllegato(a.getIdAllegato()); entityList.add(dtbDoctCambioTipoDoc); } else { @@ -107,13 +109,19 @@ public class CambioTipoDocService { newDoc.setOperation(OperationType.SELECT_OBJECT); newDoc = entityProcessor.processEntity(newDoc, multiDBTransactionManager); loadRow(newDoc); + Date dataCmov = doc.getDataCmov(); + if (dataCmov.before(UtilityDate.getTodayWithoutTime())) { + dataCmov = UtilityDate.getTodayWithoutTime(); + } + newDoc - .setCodDtip(doc.getCodDtipNew()) - .setPrevistaFat(null) - .setNumDocForn(doc.getNumDocForn()); + .setCodDtip(doc.getCodDtipNew()) + .setPrevistaFat(null) + .setDataCmov(dataCmov) + .setNumDocForn(doc.getNumDocForn()); newDoc.setOperation(OperationType.INSERT); - newDoc.getDtbDocr().stream().forEach(r->r.setOperation(OperationType.INSERT)); + newDoc.getDtbDocr().stream().forEach(r -> r.setOperation(OperationType.INSERT)); if (doc.getAllegati() != null && !doc.getAllegati().isEmpty()) { List drlDocAttacheds = new ArrayList<>(); for (CambioTipoDocDTO.Allegati allegato : doc.getAllegati()) { diff --git a/ems-engine/src/main/java/it/integry/ems/document/service/DocumentiDirettiService.java b/ems-engine/src/main/java/it/integry/ems/document/service/DocumentiDirettiService.java index 0759c34ced..ece35b003a 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/service/DocumentiDirettiService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/service/DocumentiDirettiService.java @@ -88,7 +88,9 @@ public class DocumentiDirettiService { } //controllo packingList documento per eventuali trasferimenti - checkUDSForTransfer(dtbDoct, entityList, isInsert); + if (dtbDoct.getGestione().equalsIgnoreCase("V")) { + checkUDSForTransfer(dtbDoct, entityList, isInsert); + } if (UtilityString.equalsIgnoreCase((String) datiTipoDoc.get("gestione"), "A")) { if (!isInsert && dtbDoct.getOldPk() != null) { diff --git a/ems-engine/src/main/java/it/integry/ems/logistic/service/ColliEviosysImportService.java b/ems-engine/src/main/java/it/integry/ems/logistic/service/ColliEviosysImportService.java index 657fa47d22..ac1081952d 100644 --- a/ems-engine/src/main/java/it/integry/ems/logistic/service/ColliEviosysImportService.java +++ b/ems-engine/src/main/java/it/integry/ems/logistic/service/ColliEviosysImportService.java @@ -2,7 +2,6 @@ package it.integry.ems.logistic.service; import it.integry.ems.Import.dto.AnomalieDTO; import it.integry.ems.Import.dto.ImportRequestDTO; -import it.integry.ems.logistic.dto.sm2.FiltroDistribuzioneColloDTO; import it.integry.ems.retail.wms.accettazione.service.WMSAccettazioneService; import it.integry.ems.retail.wms.dto.CloseUDCRequestDTO; import it.integry.ems.retail.wms.dto.CreateUDCRequestDTO; @@ -12,19 +11,17 @@ import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems_model.base.EntityBase; import it.integry.ems_model.entity.DtbOrdr; -import it.integry.ems_model.entity.MtbColr; import it.integry.ems_model.entity.MtbColt; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; -import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.ss.usermodel.CellType; -import org.apache.poi.ss.usermodel.DateUtil; -import org.apache.poi.ss.usermodel.Row; +import org.apache.poi.ss.usermodel.*; +import org.bouncycastle.crypto.engines.BlowfishEngine; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Service; +import java.math.BigDecimal; import java.time.LocalDate; import java.util.*; import java.util.stream.Collectors; @@ -54,93 +51,108 @@ public class ColliEviosysImportService { String codAnag = setup.get("COD_ANAG"); - Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO); + Iterator sheetIterator = UtilityExcel.readXlsxFile(requestDTO, Sheet.class); - String codMart = null; - boolean hasHeaderPassed = false; + while (sheetIterator.hasNext()) { + Sheet sheet = sheetIterator.next(); + Iterator rowIterator = UtilityExcel.getRowIterator(sheet, true); - while (rowIterator.hasNext()) { - Row row = rowIterator.next(); + String codMart = null; + boolean hasHeaderPassed = false; - if (!hasHeaderPassed) { - if (codMart == null) { - codMart = findCodMart(row); - } else { - hasHeaderPassed = UtilityExcel.getCellAsString(row, 0, false).equalsIgnoreCase("origine"); - } - } else { - List rowData = - stream(((Iterable) row::cellIterator).spliterator(), false) - .map(x -> { - Object s = cellToString(x); + while (rowIterator.hasNext()) { + Row row = rowIterator.next(); - if (!UtilityString.isNullOrEmpty(s)) { - return s; - } - - return null; - }) - .filter(Objects::nonNull) - .collect(Collectors.toList()); - - if (rowData.size() >= 7) { - String barcodeUl = (String) rowData.get(2); - String lotto = (String) rowData.get(3); - String qta = (String) rowData.get(6); - - barcodeUl = barcodeUl.replace("*", ""); - - if (barcodeUl.length() > 18) { - barcodeUl = barcodeUl.substring(2); + if (!hasHeaderPassed) { + if (codMart == null) { + codMart = findCodMart(row); + } else { + hasHeaderPassed = UtilityExcel.getCellAsString(row, 0, false).equalsIgnoreCase("origine"); } + } else { + List rowData = + stream(((Iterable) row::cellIterator).spliterator(), false) + .map(x -> { + Object s = cellToString(x); - String sql = Query.format( - "WITH getOrder AS (SELECT dtb_ordr.num_ord,\n" + - " dtb_ordr.data_ord,\n" + - " dtb_ordr.riga_ord,\n" + - " dtb_ordr.cod_mdep,\n" + - " DENSE_RANK() OVER (ORDER BY data_cons DESC, dtb_ordt.data_ord, dtb_ordt.num_ord) AS dr\n" + - " FROM dtb_ordt\n" + - " INNER JOIN dtb_ordr ON dtb_ordt.num_ord = dtb_ordr.num_ord\n" + - " AND dtb_ordr.data_ord = dtb_ordt.data_ord\n" + - " AND dtb_ordt.gestione = dtb_ordr.gestione\n" + - " WHERE cod_anag = %s\n" + - " AND dtb_ordt.gestione = 'A'\n" + - " AND flag_annulla = 'N'\n" + - " AND flag_evaso = 'I'\n" + - " AND cod_mart = %s\n" + - " AND data_cons <= %s)\n" + - "SELECT *\n" + - "FROM getOrder\n" + - "WHERE dr = 1", - codAnag, codMart, new Date() - ); - DtbOrdr dtbOrdr = UtilityDB.executeSimpleQueryOnlyFirstRowDTO(conn, sql, DtbOrdr.class); + if (!UtilityString.isNullOrEmpty(s)) { + return s; + } - MtbColt udc = wmsAccettazioneService.createUDC( - new CreateUDCRequestDTO() - .setCodMdep(dtbOrdr.getCodMdep()) - .setCodAnag(codAnag) - .setBarcodeUl(barcodeUl) - .setDataCollo(LocalDate.now()) - ); + return null; + }) + .filter(Objects::nonNull) + .collect(Collectors.toList()); - udc.getMtbCols().forEach(x -> x.setOperation(OperationType.NO_OP)); + if (rowData.size() >= 7) { + String barcodeUl = (String) rowData.get(2); + String lotto = (String) rowData.get(3); + BigDecimal qta = UtilityString.stringToBigDecimal( + rowData.get(6) + .toString() + .replace(".", "") + ); - wmsAccettazioneService.insertUDCRow( - new InsertUDCRowRequestDTO() - .setTargetMtbColt(udc) - .setCodMart(codMart) - .setPartitaMag(lotto) - .setQtaTot(UtilityString.stringToBigDecimal(qta)) - .setDataOrd(UtilityLocalDate.localDateFromDate(dtbOrdr.getDataOrd())) - .setNumOrd(dtbOrdr.getNumOrd()) - .setRigaOrd(dtbOrdr.getRigaOrd()) - ); + barcodeUl = barcodeUl.replace("*", ""); - wmsAccettazioneService.closeUDC(new CloseUDCRequestDTO().setMtbColt(udc)); + if (barcodeUl.length() > 18) { + barcodeUl = barcodeUl.substring(2); + } - entityBases.add(udc); + String sql = Query.format( + "WITH getOrder AS (SELECT dtb_ordr.num_ord,\n" + + " dtb_ordr.data_ord,\n" + + " dtb_ordr.riga_ord,\n" + + " dtb_ordr.cod_mdep,\n" + + " DENSE_RANK() OVER (ORDER BY data_cons DESC, dtb_ordt.data_ord, dtb_ordt.num_ord) AS dr\n" + + " FROM dtb_ordt\n" + + " INNER JOIN dtb_ordr ON dtb_ordt.num_ord = dtb_ordr.num_ord\n" + + " AND dtb_ordr.data_ord = dtb_ordt.data_ord\n" + + " AND dtb_ordt.gestione = dtb_ordr.gestione\n" + + " WHERE cod_anag = %s\n" + + " AND dtb_ordt.gestione = 'A'\n" + + " AND flag_annulla = 'N'\n" + + " AND flag_evaso = 'I'\n" + + " AND cod_mart = %s\n" + + " AND data_cons <= %s)\n" + + "SELECT *\n" + + "FROM getOrder\n" + + "WHERE dr = 1", + codAnag, codMart, new Date() + ); + DtbOrdr dtbOrdr = UtilityDB.executeSimpleQueryOnlyFirstRowDTO(conn, sql, DtbOrdr.class); + + if (dtbOrdr == null) { + throw new Exception("Nessun ordine trovato per il codice anagrafica: " + codAnag + " e codice articolo: " + codMart); + } else if (dtbOrdr.getCodMdep() == null) { + throw new Exception("Nessun deposito trovato per l'ordine: " + dtbOrdr.getNumOrd() + " del cliente: " + codAnag); + } + + MtbColt udc = wmsAccettazioneService.createUDC( + new CreateUDCRequestDTO() + .setCodMdep(dtbOrdr.getCodMdep()) + .setCodAnag(codAnag) + .setBarcodeUl(barcodeUl) + .setDataCollo(LocalDate.now()) + ); + + udc.getMtbCols().forEach(x -> x.setOperation(OperationType.NO_OP)); + + wmsAccettazioneService.insertUDCRow( + new InsertUDCRowRequestDTO() + .setTargetMtbColt(udc) + .setCodMart(codMart) + .setPartitaMag(lotto) + .setQtaTot(qta) + .setDataOrd(UtilityLocalDate.localDateFromDate(dtbOrdr.getDataOrd())) + .setNumOrd(dtbOrdr.getNumOrd()) + .setRigaOrd(dtbOrdr.getRigaOrd()) + ); + + wmsAccettazioneService.closeUDC(new CloseUDCRequestDTO().setMtbColt(udc)); + + entityBases.add(udc); + } } } } diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java b/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java index 5815e27ed7..f99ad1d81b 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java @@ -15,9 +15,11 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; +import org.springframework.format.annotation.DateTimeFormat; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; +import java.time.LocalDate; import java.util.List; @RestController @@ -95,4 +97,28 @@ public class CrmController { } return response; } + + @RequestMapping(value = "getActivityCrm", method = RequestMethod.GET) + public ServiceRestResponse getActivity(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { + return ServiceRestResponse.createPositiveResponse(crmService.getActivity(dateFilter)); + } + + @RequestMapping(value = "getCommesseCrm", method = RequestMethod.GET) + public ServiceRestResponse getCommesse(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { + return ServiceRestResponse.createPositiveResponse(crmService.getCommesse(dateFilter)); + } + + @RequestMapping(value = "getProspectCrm", method = RequestMethod.GET) + public ServiceRestResponse getProspect(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { + return ServiceRestResponse.createPositiveResponse(crmService.getProspect(dateFilter)); + } + + @RequestMapping(value = "getAnagClieCrm", method = RequestMethod.GET) + public ServiceRestResponse getAnagClie(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, + @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { + return ServiceRestResponse.createPositiveResponse(crmService.getAnagClie(dateFilter)); + } } \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/AnagClieDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/AnagClieDTO.java new file mode 100644 index 0000000000..dd55f51f20 --- /dev/null +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/AnagClieDTO.java @@ -0,0 +1,309 @@ +package it.integry.ems.order.crm.dto; + +import it.integry.ems_model.annotation.SqlField; + +import java.math.BigDecimal; +import java.util.Date; + +public class AnagClieDTO { + + @SqlField(value = "cod_anag") + private String codAnag; + + @SqlField(value = "rag_soc") + private String ragSoc; + + @SqlField(value = "cod_vtip") + private String CodVtip; + + @SqlField(value = "cod_vage") + private String CodVage; + + @SqlField(value = "indirizzo") + private String indirizzo; + + @SqlField(value = "cap") + private String cap; + + @SqlField(value = "citta") + private String citta; + + @SqlField(value = "prov") + private String prov; + + @SqlField(value = "nazione") + private String nazione; + + @SqlField(value = "telefono") + private String telefono; + + @SqlField(value = "fax") + private String fax; + + @SqlField(value = "part_iva") + private String partIva; + + @SqlField(value = "cod_fisc" ) + private String codFisc; + + @SqlField(value = "note" ) + private String note; + + @SqlField(value = "persona_rif") + private String personaRif; + + @SqlField(value = "e_mail") + private String eMail; + + @SqlField(value = "e_mail_pec") + private String eMailPec; + + @SqlField(value = "nome") + private String nome; + + @SqlField(value = "data_ins") + private Date dataIns; + + @SqlField(value = "num_cell") + private String numCell; + + @SqlField(value = "cognome") + private String cognome; + + @SqlField(value = "diacod") + private String diacod; + + @SqlField(value = "lat") + private BigDecimal lat; + + @SqlField(value = "lng") + private BigDecimal lng; + + @SqlField(value = "data_mod") + private Date dataMod; + + public String getCodAnag() { + return codAnag; + } + + public AnagClieDTO setCodAnag(String codAnag) { + this.codAnag = codAnag; + return this; + } + + public String getRagSoc() { + return ragSoc; + } + + public AnagClieDTO setRagSoc(String ragSoc) { + this.ragSoc = ragSoc; + return this; + } + + public String getCodVtip() { + return CodVtip; + } + + public AnagClieDTO setCodVtip(String codVtip) { + CodVtip = codVtip; + return this; + } + + public String getCodVage() { + return CodVage; + } + + public AnagClieDTO setCodVage(String codVage) { + CodVage = codVage; + return this; + } + + public String getIndirizzo() { + return indirizzo; + } + + public AnagClieDTO setIndirizzo(String indirizzo) { + this.indirizzo = indirizzo; + return this; + } + + public String getCap() { + return cap; + } + + public AnagClieDTO setCap(String cap) { + this.cap = cap; + return this; + } + + public String getCitta() { + return citta; + } + + public AnagClieDTO setCitta(String citta) { + this.citta = citta; + return this; + } + + public String getProv() { + return prov; + } + + public AnagClieDTO setProv(String prov) { + this.prov = prov; + return this; + } + + public String getNazione() { + return nazione; + } + + public AnagClieDTO setNazione(String nazione) { + this.nazione = nazione; + return this; + } + + public String getTelefono() { + return telefono; + } + + public AnagClieDTO setTelefono(String telefono) { + this.telefono = telefono; + return this; + } + + public String getFax() { + return fax; + } + + public AnagClieDTO setFax(String fax) { + this.fax = fax; + return this; + } + + public String getPartIva() { + return partIva; + } + + public AnagClieDTO setPartIva(String partIva) { + this.partIva = partIva; + return this; + } + + public String getCodFisc() { + return codFisc; + } + + public AnagClieDTO setCodFisc(String codFisc) { + this.codFisc = codFisc; + return this; + } + + public String getNote() { + return note; + } + + public AnagClieDTO setNote(String note) { + this.note = note; + return this; + } + + public String getPersonaRif() { + return personaRif; + } + + public AnagClieDTO setPersonaRif(String personaRif) { + this.personaRif = personaRif; + return this; + } + + public String geteMail() { + return eMail; + } + + public AnagClieDTO seteMail(String eMail) { + this.eMail = eMail; + return this; + } + + public String geteMailPec() { + return eMailPec; + } + + public AnagClieDTO seteMailPec(String eMailPec) { + this.eMailPec = eMailPec; + return this; + } + + public String getNome() { + return nome; + } + + public AnagClieDTO setNome(String nome) { + this.nome = nome; + return this; + } + + public Date getDataIns() { + return dataIns; + } + + public AnagClieDTO setDataIns(Date dataIns) { + this.dataIns = dataIns; + return this; + } + + public String getNumCell() { + return numCell; + } + + public AnagClieDTO setNumCell(String numCell) { + this.numCell = numCell; + return this; + } + + public String getCognome() { + return cognome; + } + + public AnagClieDTO setCognome(String cognome) { + this.cognome = cognome; + return this; + } + + public String getDiacod() { + return diacod; + } + + public AnagClieDTO setDiacod(String diacod) { + this.diacod = diacod; + return this; + } + + public BigDecimal getLat() { + return lat; + } + + public AnagClieDTO setLat(BigDecimal lat) { + this.lat = lat; + return this; + } + + public BigDecimal getLng() { + return lng; + } + + public AnagClieDTO setLng(BigDecimal lng) { + this.lng = lng; + return this; + } + + public Date getDataMod() { + return dataMod; + } + + public AnagClieDTO setDataMod(Date dataMod) { + this.dataMod = dataMod; + return this; + } +} diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSyncResponseDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSyncResponseDTO.java new file mode 100644 index 0000000000..bf447846f7 --- /dev/null +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSyncResponseDTO.java @@ -0,0 +1,62 @@ +package it.integry.ems.order.crm.dto; + +import it.integry.ems_model.entity.PtbPros; +import it.integry.ems_model.entity.PtbProsRif; +import it.integry.ems_model.entity.VtbCliePersRif; +import it.integry.ems_model.entity.VtbDest; + +import java.util.List; + +public class CRMSyncResponseDTO { + + private List anagClie; + private List vtbDest; + private List vtbCliePersRif; + private List ptbPros; + private List ptbProsRif; + + public List getAnagClie() { + return anagClie; + } + + public CRMSyncResponseDTO setAnagClie(List anagClie) { + this.anagClie = anagClie; + return this; + } + + public List getVtbDest() { + return vtbDest; + } + + public CRMSyncResponseDTO setVtbDest(List vtbDest) { + this.vtbDest = vtbDest; + return this; + } + + public List getVtbCliePersRif() { + return vtbCliePersRif; + } + + public CRMSyncResponseDTO setVtbCliePersRif(List vtbCliePersRif) { + this.vtbCliePersRif = vtbCliePersRif; + return this; + } + + public List getPtbPros() { + return ptbPros; + } + + public CRMSyncResponseDTO setPtbPros(List ptbPros) { + this.ptbPros = ptbPros; + return this; + } + + public List getPtbProsRif() { + return ptbProsRif; + } + + public CRMSyncResponseDTO setPtbProsRif(List ptbProsRif) { + this.ptbProsRif = ptbProsRif; + return this; + } +} diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java b/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java index 49dc0c94cc..9da6b6cd97 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java @@ -16,6 +16,7 @@ import it.integry.ems_model.db.ResultSetMapper; import it.integry.ems_model.entity.*; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; +import it.integry.ems_model.utility.Query; import it.integry.ems_model.utility.UtilityDB; import it.integry.ems_model.utility.UtilityDate; import it.integry.ems_model.utility.UtilityString; @@ -30,6 +31,7 @@ import java.math.BigDecimal; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.text.SimpleDateFormat; +import java.time.LocalDate; import java.util.ArrayList; import java.util.Date; import java.util.HashMap; @@ -1351,4 +1353,114 @@ public class CrmService { } return entities; } + + public List getActivity(LocalDate dateFilter) throws Exception { + String sql = Query.format("SELECT *\n" + + "FROM stb_activity\n" + + "WHERE ora_mod_act >= %s\n" + + " OR data_ins_act >= %s", + dateFilter, dateFilter + ); + + return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, StbActivity.class); + } + + public List getCommesse(LocalDate dateFilter) throws Exception { + if (dateFilter != null) return null; + + String sql = "SELECT * FROM jtb_comt"; + + return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, JtbComt.class); + } + + public CRMSyncResponseDTO getProspect(LocalDate dateFilter) throws Exception { + CRMSyncResponseDTO taskSyncResponse = new CRMSyncResponseDTO(); + + String sql = "SELECT * FROM ptb_pros WHERE cod_anag IS NULL"; + if (dateFilter != null){ + sql += " WHERE data_ins >= " + UtilityDB.valueToString(dateFilter); + } + taskSyncResponse.setPtbPros( + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, PtbPros.class) + ); + + if (dateFilter == null){ + sql = "SELECT *\n" + + "FROM ptb_pros_rif\n" + + "WHERE EXISTS(SELECT * FROM ptb_pros WHERE ptb_pros.cod_anag IS NULL AND ptb_pros.cod_ppro = ptb_pros_rif.cod_ppro)"; + } else { + sql = Query.format( + "SELECT *\n" + + "FROM ptb_pros_rif\n" + + "WHERE EXISTS(SELECT * FROM ptb_pros WHERE ptb_pros.cod_anag IS NULL\n" + + " AND data_ins >= %s\n" + + " AND ptb_pros.cod_ppro = ptb_pros_rif.cod_ppro)", + dateFilter + ); + } + + taskSyncResponse.setPtbProsRif( + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, PtbProsRif.class) + ); + + return taskSyncResponse; + } + + public CRMSyncResponseDTO getAnagClie(LocalDate dateFilter) throws Exception { + CRMSyncResponseDTO taskSyncResponse = new CRMSyncResponseDTO(); + + String sql = "SELECT gtb_anag.cod_anag,\n" + + " vtb_clie.cod_vtip,\n" + + " vtb_clie.cod_vage,\n" + + " rag_soc,\n" + + " indirizzo,\n" + + " cap,\n" + + " citta,\n" + + " prov,\n" + + " nazione,\n" + + " telefono,\n" + + " fax,\n" + + " part_iva,\n" + + " cod_fisc,\n" + + " gtb_anag.note,\n" + + " persona_rif,\n" + + " e_mail,\n" + + " nome,\n" + + " data_ins,\n" + + " num_cell,\n" + + " e_mail_pec,\n" + + " cognome,\n" + + " diacod,\n" + + " lat,\n" + + " lng,\n" + + " data_mod\n" + + "FROM gtb_anag\n" + + " INNER JOIN vtb_clie ON gtb_anag.cod_anag = vtb_clie.cod_anag"; + + if (dateFilter != null){ + sql += " WHERE data_ins >= " + UtilityDB.valueToString(dateFilter) + " OR data_mod >= " + UtilityDB.valueToString(dateFilter); + } + + taskSyncResponse.setAnagClie( + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, AnagClieDTO.class) + ); + + if (dateFilter == null){ + sql = "SELECT *\n" + + "FROM vtb_dest\n" + + "WHERE EXISTS(SELECT * FROM vtb_clie WHERE vtb_clie.cod_anag = vtb_dest.cod_anag)"; + taskSyncResponse.setVtbDest( + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, VtbDest.class) + ); + + sql = "SELECT *\n" + + "FROM vtb_clie_pers_rif\n" + + "WHERE EXISTS(SELECT * FROM vtb_clie WHERE vtb_clie.cod_anag = vtb_clie_pers_rif.cod_anag)"; + taskSyncResponse.setVtbCliePersRif( + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, VtbCliePersRif.class) + ); + } + + return taskSyncResponse; + } } \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaAcquistoService.java b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaAcquistoService.java index adcd60816c..e6a8045d04 100644 --- a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaAcquistoService.java +++ b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaAcquistoService.java @@ -40,7 +40,7 @@ public class ImportGrigliaAcquistoService { Connection conn = multiDBTransactionManager.getPrimaryConnection(); Map setup = setupGest.getImportSetupSection(conn, type, format); - Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO); + Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO, Row.class); List atbGriglieArtList = new ArrayList<>(); diff --git a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaVenditaService.java b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaVenditaService.java index 6d1e1eebbb..96f19fa0f3 100644 --- a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaVenditaService.java +++ b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportGrigliaVenditaService.java @@ -38,7 +38,7 @@ public class ImportGrigliaVenditaService { List vtbGrigliaList = new ArrayList<>(); HashMap> hashMap = new HashMap<>(); - Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO); + Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO, Row.class); while (rowIterator.hasNext()) { Row row = rowIterator.next(); String codGriglia = UtilityExcel.getCellAsString(row, 0, true); diff --git a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportListiniVenditaService.java b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportListiniVenditaService.java index 7e48f8000d..07fa3cbade 100644 --- a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportListiniVenditaService.java +++ b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/ImportListiniVenditaService.java @@ -316,7 +316,7 @@ public class ImportListiniVenditaService { if (UtilityString.isNullOrEmpty(fileName)) fileName = setup.get("FILE_FILTER"); - Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO); + Iterator rowIterator = UtilityExcel.readXlsxFile(requestDTO, Row.class); while (rowIterator.hasNext()) { Row row = rowIterator.next(); diff --git a/ems-engine/src/main/java/it/integry/ems/product/importaz/service/RipianificaOrdineLavRequestDTO.java b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/RipianificaOrdineLavRequestDTO.java new file mode 100644 index 0000000000..f33430761f --- /dev/null +++ b/ems-engine/src/main/java/it/integry/ems/product/importaz/service/RipianificaOrdineLavRequestDTO.java @@ -0,0 +1,83 @@ +package it.integry.ems.product.importaz.service; + +import java.time.LocalDate; +import java.util.Date; + +public class RipianificaOrdineLavRequestDTO { + private String gestione; + + private Date dataOrd; + + private Integer numOrd; + + private Integer idLotto; + + private String codJfasOld; + + private String codJfasNew; + + private Date dataPianificazione; + + public String getGestione() { + return gestione; + } + + public RipianificaOrdineLavRequestDTO setGestione(String gestione) { + this.gestione = gestione; + return this; + } + + public Date getDataOrd() { + return dataOrd; + } + + public RipianificaOrdineLavRequestDTO setDataOrd(Date dataOrd) { + this.dataOrd = dataOrd; + return this; + } + + public Integer getNumOrd() { + return numOrd; + } + + public RipianificaOrdineLavRequestDTO setNumOrd(Integer numOrd) { + this.numOrd = numOrd; + return this; + } + + public Integer getIdLotto() { + return idLotto; + } + + public RipianificaOrdineLavRequestDTO setIdLotto(Integer idLotto) { + this.idLotto = idLotto; + return this; + } + + public String getCodJfasOld() { + return codJfasOld; + } + + public RipianificaOrdineLavRequestDTO setCodJfasOld(String codJfasOld) { + this.codJfasOld = codJfasOld; + return this; + } + + public String getCodJfasNew() { + return codJfasNew; + } + + public RipianificaOrdineLavRequestDTO setCodJfasNew(String codJfasNew) { + this.codJfasNew = codJfasNew; + return this; + } + + public Date getDataPianificazione() { + return dataPianificazione; + } + + public RipianificaOrdineLavRequestDTO setDataPianificazione(Date dataPianificazione) { + this.dataPianificazione = dataPianificazione; + return this; + } +} diff --git a/ems-engine/src/main/java/it/integry/ems/production/controller/MesProductionControllerV2.java b/ems-engine/src/main/java/it/integry/ems/production/controller/MesProductionControllerV2.java index e547a53b5e..c52018d648 100644 --- a/ems-engine/src/main/java/it/integry/ems/production/controller/MesProductionControllerV2.java +++ b/ems-engine/src/main/java/it/integry/ems/production/controller/MesProductionControllerV2.java @@ -4,6 +4,7 @@ import com.fasterxml.jackson.databind.JsonNode; import it.integry.common.var.CommonConstants; import it.integry.ems.document.dto.ChiusuraLavorazioneDTO; import it.integry.ems.javabeans.RequestDataDTO; +import it.integry.ems.product.importaz.service.RipianificaOrdineLavRequestDTO; import it.integry.ems.production.dto.*; import it.integry.ems.production.service.MesProductionServiceV2; import it.integry.ems.production.service.ProductionLineService; @@ -15,6 +16,7 @@ import it.integry.ems.service.dto.production.OrdineLavorazioneDTO; import it.integry.ems.service.production.ProductionOrderDataHandlerService; import it.integry.ems.status.ServiceChecker; import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; +import it.integry.ems_model.business_logic.GeneraOrdLav; import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.entity.MtbColt; import it.integry.ems_model.types.OperationType; @@ -474,6 +476,13 @@ public class MesProductionControllerV2 { ServiceRestResponse reopenOrdineLav(@RequestBody ReopenOrdineLavRequestDTO dto) throws Exception { productionOrdersLifecycleService.reopenOrdineLav(dto); + return ServiceRestResponse.createPositiveResponse(); + } + @PostMapping(value = "ordine/ripianifica") + public @ResponseBody + ServiceRestResponse ripianifica(@RequestBody RipianificaOrdineLavRequestDTO dto) throws Exception { + productionOrdersLifecycleService.ripianificaOrdLav(dto); + return ServiceRestResponse.createPositiveResponse(); } } diff --git a/ems-engine/src/main/java/it/integry/ems/production/dto/CartellinoDTO.java b/ems-engine/src/main/java/it/integry/ems/production/dto/CartellinoDTO.java deleted file mode 100644 index dd5611c9e4..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/production/dto/CartellinoDTO.java +++ /dev/null @@ -1,90 +0,0 @@ -package it.integry.ems.production.dto; - -public class CartellinoDTO { - - private String cod_style, cod_col, cod_tagl, cod_mdep, cod_barre, - flag_saldi, flag_tipo_negozio; - private Double prz_vend, prz_vend_sug, perc_sco; - - public String getCod_style() { - return cod_style; - } - - public void setCod_style(String cod_style) { - this.cod_style = cod_style; - } - - public String getCod_col() { - return cod_col; - } - - public void setCod_col(String cod_col) { - this.cod_col = cod_col; - } - - public String getCod_tagl() { - return cod_tagl; - } - - public void setCod_tagl(String cod_tagl) { - this.cod_tagl = cod_tagl; - } - - public String getCod_mdep() { - return cod_mdep; - } - - public void setCod_mdep(String cod_mdep) { - this.cod_mdep = cod_mdep; - } - - public String getCod_barre() { - return cod_barre; - } - - public void setCod_barre(String cod_barre) { - this.cod_barre = cod_barre; - } - - public String getFlag_saldi() { - return flag_saldi; - } - - public void setFlag_saldi(String flag_saldi) { - this.flag_saldi = flag_saldi; - } - - public String getFlag_tipo_negozio() { - return flag_tipo_negozio; - } - - public void setFlag_tipo_negozio(String flag_tipo_negozio) { - this.flag_tipo_negozio = flag_tipo_negozio; - } - - public Double getPrz_vend() { - return prz_vend; - } - - public void setPrz_vend(Double prz_vend) { - this.prz_vend = prz_vend; - } - - public Double getPrz_vend_sug() { - return prz_vend_sug; - } - - public void setPrz_vend_sug(Double prz_vend_sug) { - this.prz_vend_sug = prz_vend_sug; - } - - public Double getPerc_sco() { - return perc_sco; - } - - public void setPerc_sco(Double perc_sco) { - this.perc_sco = perc_sco; - } - - -} diff --git a/ems-engine/src/main/java/it/integry/ems/production/service/ProductionOrdersLifecycleService.java b/ems-engine/src/main/java/it/integry/ems/production/service/ProductionOrdersLifecycleService.java index d456bde031..9d13cf772f 100644 --- a/ems-engine/src/main/java/it/integry/ems/production/service/ProductionOrdersLifecycleService.java +++ b/ems-engine/src/main/java/it/integry/ems/production/service/ProductionOrdersLifecycleService.java @@ -9,6 +9,7 @@ import it.integry.ems.document.dto.RientroLavorazioneDTO; import it.integry.ems.document.dto.ScaricoLavorazioneDTO; import it.integry.ems.exception.MissingDataException; import it.integry.ems.javabeans.RequestDataDTO; +import it.integry.ems.product.importaz.service.RipianificaOrdineLavRequestDTO; import it.integry.ems.production.dto.ReopenOrdineLavRequestDTO; import it.integry.ems.service.AziendaService; import it.integry.ems.service.EntityProcessor; @@ -16,10 +17,7 @@ import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems.utility.UtilityDebug; import it.integry.ems.utility.UtilityEntity; import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.entity.DtbDoct; -import it.integry.ems_model.entity.DtbOrdt; -import it.integry.ems_model.entity.JtbLotr; -import it.integry.ems_model.entity.JtbLott; +import it.integry.ems_model.entity.*; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; @@ -30,6 +28,7 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Service; +import java.text.SimpleDateFormat; import java.util.*; import java.util.stream.Collectors; @@ -332,4 +331,101 @@ public class ProductionOrdersLifecycleService { throw e; } } + + public void ripianificaOrdLav(RipianificaOrdineLavRequestDTO ripianificaOrdineLavRequestDTO) throws Exception { + DtbOrdt dtbOrdtP = new DtbOrdt() + .setCodJfas(UtilityString.isNull(ripianificaOrdineLavRequestDTO.getCodJfasNew(), ripianificaOrdineLavRequestDTO.getCodJfasOld())) + .setDataOrd(ripianificaOrdineLavRequestDTO.getDataPianificazione() == null ? + ripianificaOrdineLavRequestDTO.getDataOrd() : + ripianificaOrdineLavRequestDTO.getDataPianificazione() + ) + .setGestione("A") + .setGestioneRif("A") + .setGeneraOrdLavDaProd(false) + .setOrdTrasf(false); + dtbOrdtP.setOperation(OperationType.SELECT_OBJECT); + dtbOrdtP.setOnlyPkMaster(false); + entityProcessor.processEntity(dtbOrdtP, multiDBTransactionManager); + + if (dtbOrdtP.getNumOrd() == null) { + String sql = + Query.format( + "SELECT * " + + " FROM dtb_ordt " + + "WHERE EXISTS (SELECT * FROM dtb_ordt orl WHERE dtb_ordt.gestione = orl.gestione_rif AND dtb_ordt.data_ord = orl.data_ord_rif AND " + + "dtb_ordt.num_ord = orl.num_ord_rif and gestione = %s and data_ord = %s and num_ord = %s)", + ripianificaOrdineLavRequestDTO.getGestione(), + ripianificaOrdineLavRequestDTO.getDataOrd(), + ripianificaOrdineLavRequestDTO.getNumOrd() + ); + + dtbOrdtP = UtilityDB.executeSimpleQueryOnlyFirstRowDTO(multiDBTransactionManager.getPrimaryConnection(), sql, DtbOrdt.class); + dtbOrdtP + .setCodJfas(ripianificaOrdineLavRequestDTO.getCodJfasNew() == null ? dtbOrdtP.getCodJfas() : ripianificaOrdineLavRequestDTO.getCodJfasNew()) + .setDataOrd(ripianificaOrdineLavRequestDTO.getDataPianificazione() == null ? dtbOrdtP.getDataOrd() : ripianificaOrdineLavRequestDTO.getDataPianificazione()) + .setNumOrd(null) + .setGeneraOrdLavDaProd(false) + .setOrdTrasf(false); + dtbOrdtP.setOperation(OperationType.INSERT); + + entityProcessor.processEntity(dtbOrdtP, true, multiDBTransactionManager); + } + + String sql = + Query.format("SELECT ISNULL(MAX(riga_ord), 0) + 1 FROM dtb_ordr WHERE gestione = %s AND data_ord = %s AND num_ord = %s", + dtbOrdtP.getGestione(), + dtbOrdtP.getDataOrd(), + dtbOrdtP.getNumOrd()); + + Integer rigaOrdProd = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(multiDBTransactionManager.getPrimaryConnection(), sql); + + HashMap oldPk = new HashMap<>(); + Date dataOrd = ripianificaOrdineLavRequestDTO.getDataOrd(); + if (ripianificaOrdineLavRequestDTO.getDataPianificazione() != null && + !ripianificaOrdineLavRequestDTO.getDataOrd().equals(ripianificaOrdineLavRequestDTO.getDataPianificazione())) { + oldPk.put("dataOrd", ripianificaOrdineLavRequestDTO.getDataOrd()); + dataOrd = ripianificaOrdineLavRequestDTO.getDataPianificazione(); + } + + DtbOrdt dtbOrdl = new DtbOrdt() + .setDataOrd(dataOrd) + .setGestione(ripianificaOrdineLavRequestDTO.getGestione()) + .setNumOrd(ripianificaOrdineLavRequestDTO.getNumOrd()) + .setGestioneRif(dtbOrdtP.getGestione()) + .setDataOrdRif(dtbOrdtP.getDataOrd()) + .setNumOrdRif(dtbOrdtP.getNumOrd()) + .setRigaOrdRif(rigaOrdProd); + if (!oldPk.isEmpty()) { + dtbOrdl.setOldPk(oldPk); + dtbOrdl.setOperation(OperationType.SUBSTITUTE); + } else { + dtbOrdl.setOperation(OperationType.UPDATE); + } + + if (UtilityString.equalsIgnoreCase(ripianificaOrdineLavRequestDTO.getCodJfasNew(), ripianificaOrdineLavRequestDTO.getCodJfasOld())) { + sql = + Query.format( + "SELECT * FROM dtb_ords WHERE gestione = %s AND data_ord = %s AND num_ord = %s ORDER BY data_fine desc", + ripianificaOrdineLavRequestDTO.getGestione(), + ripianificaOrdineLavRequestDTO.getDataOrd(), + ripianificaOrdineLavRequestDTO.getNumOrd()); + DtbOrdSteps lastStep = UtilityDB.executeSimpleQueryOnlyFirstRowDTO(multiDBTransactionManager.getPrimaryConnection(), sql, DtbOrdSteps.class); + + lastStep.setFlagStepAttivo("N"); + lastStep.setOperation(OperationType.UPDATE); + dtbOrdl.getDtbOrdSteps().add(lastStep); + + DtbOrdSteps dtbOrdSteps = (DtbOrdSteps) lastStep.deepClone(); + dtbOrdSteps + .setCodJfas(ripianificaOrdineLavRequestDTO.getCodJfasNew()) + .setIdRiga(null) + .setDataIniz(null) + .setDataFine(null); + dtbOrdSteps.setOperation(OperationType.INSERT); + dtbOrdl.getDtbOrdSteps().add(dtbOrdSteps); + } + entityProcessor.processEntity(dtbOrdl, true, multiDBTransactionManager); + + } + } diff --git a/ems-engine/src/main/java/it/integry/ems/retail/pvmRetail/dto/OrdineInevasoDTO.java b/ems-engine/src/main/java/it/integry/ems/retail/pvmRetail/dto/OrdineInevasoDTO.java index 70a496ae34..d2c59a5e71 100644 --- a/ems-engine/src/main/java/it/integry/ems/retail/pvmRetail/dto/OrdineInevasoDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/retail/pvmRetail/dto/OrdineInevasoDTO.java @@ -3,6 +3,7 @@ package it.integry.ems.retail.pvmRetail.dto; import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import it.integry.ems.adapter.JsonDateAdapterSerializer; +import it.integry.ems.service.dto.production.AvailableClassMercDTO; import it.integry.ems_model.annotation.SqlField; import java.math.BigDecimal; @@ -608,30 +609,6 @@ public class OrdineInevasoDTO { return this; } - public static class AvailableClassMercDTO { - - private String codMgrp; - private List codMsgr; - - public String getCodMgrp() { - return codMgrp; - } - - public AvailableClassMercDTO setCodMgrp(String codMgrp) { - this.codMgrp = codMgrp; - return this; - } - - public List getCodMsgr() { - return codMsgr; - } - - public AvailableClassMercDTO setCodMsgr(List codMsgr) { - this.codMsgr = codMsgr; - return this; - } - } - public String getCodVdes() { return codVdes; } diff --git a/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/dto/articolo/ArticoloDTO.java b/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/dto/articolo/ArticoloDTO.java index 8a5b69d739..01e47d5040 100644 --- a/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/dto/articolo/ArticoloDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/dto/articolo/ArticoloDTO.java @@ -1,8 +1,6 @@ package it.integry.ems.retail.wms.generic.dto.articolo; -import it.integry.common.var.CommonConstants; import it.integry.ems_model.annotation.SqlField; -import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.entity.MtbAart; import it.integry.ems_model.utility.UtilityString; diff --git a/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/service/WMSGenericService.java b/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/service/WMSGenericService.java index ef0c36d128..7f98eb43d8 100644 --- a/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/service/WMSGenericService.java +++ b/ems-engine/src/main/java/it/integry/ems/retail/wms/generic/service/WMSGenericService.java @@ -35,6 +35,7 @@ import it.integry.ems.rules.completing.PackagesRules; import it.integry.ems.service.AziendaService; import it.integry.ems.service.EntityProcessor; import it.integry.ems.service.PrinterService; +import it.integry.ems.service.dto.production.AvailableClassMercDTO; import it.integry.ems.service.dto.production.OrdineInevasoGroupMercDTO; import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems.user.UserSession; @@ -277,7 +278,7 @@ public class WMSGenericService { for (Map.Entry> entry : groups.entrySet()) { order.getAvailableClassMerc() - .add(new OrdineInevasoDTO.AvailableClassMercDTO() + .add(new AvailableClassMercDTO() .setCodMgrp(entry.getKey()) .setCodMsgr(entry.getValue().stream() .map(OrdineInevasoGroupMercDTO::getCodMsgr) diff --git a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/InsertPublicationGroupRequestDTO.java b/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/InsertPublicationGroupRequestDTO.java deleted file mode 100644 index 5be6d71e8b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/InsertPublicationGroupRequestDTO.java +++ /dev/null @@ -1,15 +0,0 @@ -package it.integry.ems.system.dto.syncronization; - -public class InsertPublicationGroupRequestDTO { - - private String description; - - public String getDescription() { - return description; - } - - public InsertPublicationGroupRequestDTO setDescription(String description) { - this.description = description; - return this; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/InsertPublicationGroupResponseDTO.java b/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/InsertPublicationGroupResponseDTO.java deleted file mode 100644 index 785ba03e88..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/InsertPublicationGroupResponseDTO.java +++ /dev/null @@ -1,15 +0,0 @@ -package it.integry.ems.system.dto.syncronization; - -public class InsertPublicationGroupResponseDTO { - - private long id; - - public long getId() { - return id; - } - - public InsertPublicationGroupResponseDTO setId(long id) { - this.id = id; - return this; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/PublicationDTO.java b/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/PublicationDTO.java deleted file mode 100644 index 5baab7bff9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/PublicationDTO.java +++ /dev/null @@ -1,65 +0,0 @@ -package it.integry.ems.system.dto.syncronization; - -public class PublicationDTO { - - private long id; - private String entityName; - private String whereCondSql; - private String recalcColumns; - private boolean syncronize; - private String whereCond; - - public long getId() { - return id; - } - - public PublicationDTO setId(long id) { - this.id = id; - return this; - } - - public String getEntityName() { - return entityName; - } - - public PublicationDTO setEntityName(String entityName) { - this.entityName = entityName; - return this; - } - - public String getWhereCondSql() { - return whereCondSql; - } - - public PublicationDTO setWhereCondSql(String whereCondSql) { - this.whereCondSql = whereCondSql; - return this; - } - - public String getRecalcColumns() { - return recalcColumns; - } - - public PublicationDTO setRecalcColumns(String recalcColumns) { - this.recalcColumns = recalcColumns; - return this; - } - - public boolean isSyncronize() { - return syncronize; - } - - public PublicationDTO setSyncronize(boolean syncronize) { - this.syncronize = syncronize; - return this; - } - - public String getWhereCond() { - return whereCond; - } - - public PublicationDTO setWhereCond(String whereCond) { - this.whereCond = whereCond; - return this; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/PublicationGroupDTO.java b/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/PublicationGroupDTO.java deleted file mode 100644 index c21560f847..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/dto/syncronization/PublicationGroupDTO.java +++ /dev/null @@ -1,39 +0,0 @@ -package it.integry.ems.system.dto.syncronization; - -import java.util.ArrayList; -import java.util.List; - -public class PublicationGroupDTO { - - private long id; - private String description; - - private List publications = new ArrayList<>(); - - public long getId() { - return id; - } - - public PublicationGroupDTO setId(long id) { - this.id = id; - return this; - } - - public String getDescription() { - return description; - } - - public PublicationGroupDTO setDescription(String description) { - this.description = description; - return this; - } - - public List getPublications() { - return publications; - } - - public PublicationGroupDTO setPublications(List publications) { - this.publications = publications; - return this; - } -} diff --git a/ts/ems-engine.module.ts b/ts/ems-engine.module.ts new file mode 100644 index 0000000000..61cda03af1 --- /dev/null +++ b/ts/ems-engine.module.ts @@ -0,0 +1,39647 @@ +/* tslint:disable */ +/* eslint-disable */ +// @ts-nocheck +// Generated using typescript-generator version 2.37.1128 on 2025-06-03 10:47:21. + +export class AccessibleObject implements AnnotatedElement { + accessible?: boolean | null; + annotations?: Annotation[] | null; + declaredAnnotations?: Annotation[] | null; + + constructor(data: AccessibleObject) { + this.accessible = data.accessible; + this.annotations = data.annotations; + this.declaredAnnotations = data.declaredAnnotations; + } +} + +export class AccettazioneDTO { + articoli?: Articoli[] | null; + collo?: Collo[] | null; + dataCons?: string | null; + documento?: Documento | null; + evadiOrdine?: string | null; + note?: string | null; + ordine?: AccettazioneDTOOrdine[] | null; + + constructor(data: AccettazioneDTO) { + this.articoli = data.articoli; + this.collo = data.collo; + this.dataCons = data.dataCons; + this.documento = data.documento; + this.evadiOrdine = data.evadiOrdine; + this.note = data.note; + this.ordine = data.ordine; + } +} + +export class AccettazioneDTOOrdine { + dataOrd?: Date | null; + numOrd?: number | null; + + constructor(data: AccettazioneDTOOrdine) { + this.dataOrd = data.dataOrd; + this.numOrd = data.numOrd; + } +} + +export class AccettazioneOrtoFruttaDTO implements Cloneable { + activityId?: string | null; + certificatoEdited?: boolean | null; + cnfRese?: number | null; + codAnag?: string | null; + codDtip?: string | null; + codDtipProvv?: string | null; + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + codMdepProd?: string | null; + codVdes?: string | null; + codVvet?: string | null; + codVzon?: string | null; + dataCollo?: Date | null; + dataDoc?: Date | null; + dataDocProvv?: Date | null; + dataIns?: Date | null; + dataOrd?: Date | null; + dataVers?: Date | null; + ddtedited?: boolean | null; + descrizione?: string | null; + gestione?: string | null; + idPesata?: string | null; + importo?: number | null; + indiceVariazione?: number | null; + lottoProduttore?: string | null; + modalitaRaccolta?: string | null; + nettoPagamento?: number | null; + numCnf?: number | null; + numCollo?: number | null; + numDoc?: number | null; + numDocProvv?: number | null; + numOrd?: number | null; + numericTextBox?: number | null; + oraFinePrep?: Date | null; + oraInizPrep?: Date | null; + original?: AccettazioneOrtoFruttaDTO | null; + partIvaCoop?: string | null; + partIvaOp?: string | null; + partIvaProduttore?: string | null; + partitaMag?: string | null; + partitaRaccolta?: string | null; + pesoLordoCamion?: number | null; + pesoLordoPedane?: number | null; + pesoNettoCamion?: number | null; + pesoNettoPedane?: number | null; + pesoTaraCamion?: number | null; + prezzoContratto?: number | null; + prezzoFinale?: number | null; + qtaCnf?: number | null; + qtaCol?: number | null; + ragSocCoop?: string | null; + ragSocOp?: string | null; + ragSocProduttore?: string | null; + rifAnalisi?: string | null; + rigaOrd?: number | null; + scarto?: number | null; + serCollo?: string | null; + serDocProvv?: string | null; + taraCnf?: number | null; + targa?: string | null; + targaRim?: string | null; + tassoRiduzione?: number | null; + totCnf?: number | null; + untMis?: string | null; + valUnt?: number | null; + varieta?: string | null; + + constructor(data: AccettazioneOrtoFruttaDTO) { + this.activityId = data.activityId; + this.certificatoEdited = data.certificatoEdited; + this.cnfRese = data.cnfRese; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codDtipProvv = data.codDtipProvv; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMdepProd = data.codMdepProd; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.codVzon = data.codVzon; + this.dataCollo = data.dataCollo; + this.dataDoc = data.dataDoc; + this.dataDocProvv = data.dataDocProvv; + this.dataIns = data.dataIns; + this.dataOrd = data.dataOrd; + this.dataVers = data.dataVers; + this.ddtedited = data.ddtedited; + this.descrizione = data.descrizione; + this.gestione = data.gestione; + this.idPesata = data.idPesata; + this.importo = data.importo; + this.indiceVariazione = data.indiceVariazione; + this.lottoProduttore = data.lottoProduttore; + this.modalitaRaccolta = data.modalitaRaccolta; + this.nettoPagamento = data.nettoPagamento; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numDoc = data.numDoc; + this.numDocProvv = data.numDocProvv; + this.numOrd = data.numOrd; + this.numericTextBox = data.numericTextBox; + this.oraFinePrep = data.oraFinePrep; + this.oraInizPrep = data.oraInizPrep; + this.original = data.original; + this.partIvaCoop = data.partIvaCoop; + this.partIvaOp = data.partIvaOp; + this.partIvaProduttore = data.partIvaProduttore; + this.partitaMag = data.partitaMag; + this.partitaRaccolta = data.partitaRaccolta; + this.pesoLordoCamion = data.pesoLordoCamion; + this.pesoLordoPedane = data.pesoLordoPedane; + this.pesoNettoCamion = data.pesoNettoCamion; + this.pesoNettoPedane = data.pesoNettoPedane; + this.pesoTaraCamion = data.pesoTaraCamion; + this.prezzoContratto = data.prezzoContratto; + this.prezzoFinale = data.prezzoFinale; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.ragSocCoop = data.ragSocCoop; + this.ragSocOp = data.ragSocOp; + this.ragSocProduttore = data.ragSocProduttore; + this.rifAnalisi = data.rifAnalisi; + this.rigaOrd = data.rigaOrd; + this.scarto = data.scarto; + this.serCollo = data.serCollo; + this.serDocProvv = data.serDocProvv; + this.taraCnf = data.taraCnf; + this.targa = data.targa; + this.targaRim = data.targaRim; + this.tassoRiduzione = data.tassoRiduzione; + this.totCnf = data.totCnf; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + this.varieta = data.varieta; + } +} + +export class AccettazioneRigaColloDTO { + partitaMag?: string | null; + qtaCol?: number | null; + + constructor(data: AccettazioneRigaColloDTO) { + this.partitaMag = data.partitaMag; + this.qtaCol = data.qtaCol; + } +} + +export class AccettazioneRigaDocDTO { + idRiga?: number | null; + partitaMag?: string | null; + qtaDoc?: number | null; + valUnt?: number | null; + + constructor(data: AccettazioneRigaDocDTO) { + this.idRiga = data.idRiga; + this.partitaMag = data.partitaMag; + this.qtaDoc = data.qtaDoc; + this.valUnt = data.valUnt; + } +} + +export class ActionDTO { + action?: string | null; + icon?: string | null; + title?: string | null; + + constructor(data: ActionDTO) { + this.action = data.action; + this.icon = data.icon; + this.title = data.title; + } +} + +export class ActivityCicloProdDTO { + activityID?: string | null; + numFase?: number | null; + + constructor(data: ActivityCicloProdDTO) { + this.activityID = data.activityID; + this.numFase = data.numFase; + } +} + +export class ActivityCommessaDTO { + codJcom?: string | null; + descrizione?: string | null; + + constructor(data: ActivityCommessaDTO) { + this.codJcom = data.codJcom; + this.descrizione = data.descrizione; + } +} + +export class ActivityDTO { + aCanone?: boolean | null; + attivitaChiusa?: boolean | null; + bug?: boolean | null; + codMart?: string | null; + commessa?: string | null; + creataDa?: string | null; + daPagare?: boolean | null; + dataFineEffettiva?: Date | null; + dataFinePrev?: Date | null; + dataInizioEffettiva?: Date | null; + dataInizioPrev?: Date | null; + dataInserimento?: Date | null; + dataProssimaAttivita?: Date | null; + dataUltAttivita?: Date | null; + descrEsito?: string | null; + descrProdotto?: string | null; + descrizione?: string | null; + descrizioneSottoattivita?: string | null; + emailRichiedente?: string | null; + esito?: string | null; + flagRisolto?: string | null; + flagTipologia?: string | null; + idAttivita?: string | null; + idProcesso?: number | null; + note?: string | null; + oreFatte?: number | null; + oreFattePrec?: number | null; + oreStimate?: number | null; + oreTot?: number | null; + parentActivityDescription?: string | null; + parentActivityId?: string | null; + parentActivityType?: string | null; + priorita?: number | null; + projectDescription?: string | null; + ragSoc?: string | null; + responsabile?: string | null; + responsabileProgetto?: string | null; + richiedente?: string | null; + scaduta?: boolean | null; + statoAttivita?: number | null; + tags?: string | null; + tipoAttivita?: string | null; + ultimaModifica?: Date | null; + ultimoAggiornamento?: Date | null; + userCreator?: string | null; + userName?: string | null; + workedHours?: WorkedHours[] | null; + + constructor(data: ActivityDTO) { + this.aCanone = data.aCanone; + this.attivitaChiusa = data.attivitaChiusa; + this.bug = data.bug; + this.codMart = data.codMart; + this.commessa = data.commessa; + this.creataDa = data.creataDa; + this.daPagare = data.daPagare; + this.dataFineEffettiva = data.dataFineEffettiva; + this.dataFinePrev = data.dataFinePrev; + this.dataInizioEffettiva = data.dataInizioEffettiva; + this.dataInizioPrev = data.dataInizioPrev; + this.dataInserimento = data.dataInserimento; + this.dataProssimaAttivita = data.dataProssimaAttivita; + this.dataUltAttivita = data.dataUltAttivita; + this.descrEsito = data.descrEsito; + this.descrProdotto = data.descrProdotto; + this.descrizione = data.descrizione; + this.descrizioneSottoattivita = data.descrizioneSottoattivita; + this.emailRichiedente = data.emailRichiedente; + this.esito = data.esito; + this.flagRisolto = data.flagRisolto; + this.flagTipologia = data.flagTipologia; + this.idAttivita = data.idAttivita; + this.idProcesso = data.idProcesso; + this.note = data.note; + this.oreFatte = data.oreFatte; + this.oreFattePrec = data.oreFattePrec; + this.oreStimate = data.oreStimate; + this.oreTot = data.oreTot; + this.parentActivityDescription = data.parentActivityDescription; + this.parentActivityId = data.parentActivityId; + this.parentActivityType = data.parentActivityType; + this.priorita = data.priorita; + this.projectDescription = data.projectDescription; + this.ragSoc = data.ragSoc; + this.responsabile = data.responsabile; + this.responsabileProgetto = data.responsabileProgetto; + this.richiedente = data.richiedente; + this.scaduta = data.scaduta; + this.statoAttivita = data.statoAttivita; + this.tags = data.tags; + this.tipoAttivita = data.tipoAttivita; + this.ultimaModifica = data.ultimaModifica; + this.ultimoAggiornamento = data.ultimoAggiornamento; + this.userCreator = data.userCreator; + this.userName = data.userName; + this.workedHours = data.workedHours; + } +} + +export class ActivityDelete { + activityID?: string | null; + + constructor(data: ActivityDelete) { + this.activityID = data.activityID; + } +} + +export class ActivityEconomyStatusDTO { + daPagare?: boolean | null; + fasi?: string | null; + stbActivity?: StbActivity | null; + + constructor(data: ActivityEconomyStatusDTO) { + this.daPagare = data.daPagare; + this.fasi = data.fasi; + this.stbActivity = data.stbActivity; + } +} + +export class ActivityHistoryDTO { + activityDescription?: string | null; + activityId?: string | null; + activityResultId?: string | null; + activityTypeId?: string | null; + codJcom?: string | null; + effectiveDate?: Date | null; + effectiveEndtime?: Date | null; + effectiveTime?: Date | null; + estimatedDate?: Date | null; + estimatedEndtime?: Date | null; + estimatedTime?: Date | null; + fullName?: string | null; + logCreatedBy?: string | null; + note?: string | null; + oraModAct?: Date | null; + oreLav?: number | null; + parentActivityId?: string | null; + parentActivityTypeId?: string | null; + resultDescription?: string | null; + userCreator?: string | null; + userName?: string | null; + + constructor(data: ActivityHistoryDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityResultId = data.activityResultId; + this.activityTypeId = data.activityTypeId; + this.codJcom = data.codJcom; + this.effectiveDate = data.effectiveDate; + this.effectiveEndtime = data.effectiveEndtime; + this.effectiveTime = data.effectiveTime; + this.estimatedDate = data.estimatedDate; + this.estimatedEndtime = data.estimatedEndtime; + this.estimatedTime = data.estimatedTime; + this.fullName = data.fullName; + this.logCreatedBy = data.logCreatedBy; + this.note = data.note; + this.oraModAct = data.oraModAct; + this.oreLav = data.oreLav; + this.parentActivityId = data.parentActivityId; + this.parentActivityTypeId = data.parentActivityTypeId; + this.resultDescription = data.resultDescription; + this.userCreator = data.userCreator; + this.userName = data.userName; + } +} + +export class ActivityPlanActionDTO { + icon?: string | null; + params?: { [index: string]: any } | null; + type?: ActionType | null; + + constructor(data: ActivityPlanActionDTO) { + this.icon = data.icon; + this.params = data.params; + this.type = data.type; + } +} + +export class ActivityPlanDTO { + action?: ActivityPlanActionDTO | null; + active?: boolean | null; + activityTypeId?: string | null; + allDay?: boolean | null; + children?: ActivityPlanDTO[] | null; + description?: string | null; + endTime?: Date | null; + firstOccurrence?: Date | null; + id?: number | null; + isActive?: boolean | null; + isAllDay?: boolean | null; + isRepeatable?: boolean | null; + lastOccurrence?: Date | null; + maxRepetitions?: number | null; + periodicityFrequency?: number | null; + periodicityType?: Periodicity | null; + pianoLogistico?: boolean | null; + recurrenceRule?: string | null; + repeatable?: boolean | null; + startTime?: Date | null; + users?: string[] | null; + + constructor(data: ActivityPlanDTO) { + this.action = data.action; + this.active = data.active; + this.activityTypeId = data.activityTypeId; + this.allDay = data.allDay; + this.children = data.children; + this.description = data.description; + this.endTime = data.endTime; + this.firstOccurrence = data.firstOccurrence; + this.id = data.id; + this.isActive = data.isActive; + this.isAllDay = data.isAllDay; + this.isRepeatable = data.isRepeatable; + this.lastOccurrence = data.lastOccurrence; + this.maxRepetitions = data.maxRepetitions; + this.periodicityFrequency = data.periodicityFrequency; + this.periodicityType = data.periodicityType; + this.pianoLogistico = data.pianoLogistico; + this.recurrenceRule = data.recurrenceRule; + this.repeatable = data.repeatable; + this.startTime = data.startTime; + this.users = data.users; + } +} + +export class ActivityProductsDTO { + codMart?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + descrizione?: string | null; + + constructor(data: ActivityProductsDTO) { + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.descrizione = data.descrizione; + } +} + +export class ActivityResultDTO { + activityResultId?: string | null; + + constructor(data: ActivityResultDTO) { + this.activityResultId = data.activityResultId; + } +} + +export class ActivityTaskDTO { + activityDescription?: string | null; + activityId?: string | null; + activityResultId?: string | null; + activityTypeId?: string | null; + codJcom?: string | null; + effectiveDate?: Date | null; + effectiveEndtime?: Date | null; + effectiveTime?: Date | null; + estimatedDate?: Date | null; + estimatedEndtime?: Date | null; + estimatedTime?: Date | null; + fullName?: string | null; + note?: string | null; + oreLav?: number | null; + parentActivityId?: string | null; + parentActivityTypeId?: string | null; + resultDescription?: string | null; + userName?: string | null; + + constructor(data: ActivityTaskDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityResultId = data.activityResultId; + this.activityTypeId = data.activityTypeId; + this.codJcom = data.codJcom; + this.effectiveDate = data.effectiveDate; + this.effectiveEndtime = data.effectiveEndtime; + this.effectiveTime = data.effectiveTime; + this.estimatedDate = data.estimatedDate; + this.estimatedEndtime = data.estimatedEndtime; + this.estimatedTime = data.estimatedTime; + this.fullName = data.fullName; + this.note = data.note; + this.oreLav = data.oreLav; + this.parentActivityId = data.parentActivityId; + this.parentActivityTypeId = data.parentActivityTypeId; + this.resultDescription = data.resultDescription; + this.userName = data.userName; + } +} + +export class ActivityTypeDTO { + activityTypeId?: string | null; + activityTypeIdNext?: string | null; + flagViewCalendar?: boolean | null; + + constructor(data: ActivityTypeDTO) { + this.activityTypeId = data.activityTypeId; + this.activityTypeIdNext = data.activityTypeIdNext; + this.flagViewCalendar = data.flagViewCalendar; + } +} + +export class AddArtToLisaRequestDTO { + codAlis?: string | null; + codArtFor?: string | null; + codMart?: string | null; + ggApprovig?: number | null; + przAcq?: number | null; + qtaMinOrd?: number | null; + untMisAcq?: string | null; + + constructor(data: AddArtToLisaRequestDTO) { + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.ggApprovig = data.ggApprovig; + this.przAcq = data.przAcq; + this.qtaMinOrd = data.qtaMinOrd; + this.untMisAcq = data.untMisAcq; + } +} + +export class Agenda { + data?: Date | null; + oraFine?: string | null; + oraIniz?: string | null; + + constructor(data: Agenda) { + this.data = data.data; + this.oraFine = data.oraFine; + this.oraIniz = data.oraIniz; + } +} + +export class AggiornaLisvDTO { + aggArtCommerciali?: boolean | null; + aggSoloArtLisv?: boolean | null; + calcPrzBase?: string | null; + codAlis?: string | null; + dataValidita?: Date | null; + disattivaLisv?: boolean | null; + filtraGriglia?: boolean | null; + multiplo?: number | null; + percMaggPrezzo?: number | null; + percMaggPrezzoAcquisto?: number | null; + ricaricoTestataLisv?: number | null; + tipoArrotondamento?: string | null; + versione?: number | null; + whereCondLisv?: string | null; + + constructor(data: AggiornaLisvDTO) { + this.aggArtCommerciali = data.aggArtCommerciali; + this.aggSoloArtLisv = data.aggSoloArtLisv; + this.calcPrzBase = data.calcPrzBase; + this.codAlis = data.codAlis; + this.dataValidita = data.dataValidita; + this.disattivaLisv = data.disattivaLisv; + this.filtraGriglia = data.filtraGriglia; + this.multiplo = data.multiplo; + this.percMaggPrezzo = data.percMaggPrezzo; + this.percMaggPrezzoAcquisto = data.percMaggPrezzoAcquisto; + this.ricaricoTestataLisv = data.ricaricoTestataLisv; + this.tipoArrotondamento = data.tipoArrotondamento; + this.versione = data.versione; + this.whereCondLisv = data.whereCondLisv; + } +} + +export class AggiornaOrdAcq { + codMdep?: string | null; + codVlis?: string | null; + dataCheckOrdine?: Date | null; + righeOrd?: AggiornaOrdAcqDett[] | null; + termCons?: string | null; + + constructor(data: AggiornaOrdAcq) { + this.codMdep = data.codMdep; + this.codVlis = data.codVlis; + this.dataCheckOrdine = data.dataCheckOrdine; + this.righeOrd = data.righeOrd; + this.termCons = data.termCons; + } +} + +export class AggiornaOrdAcqDett { + codAlis?: string | null; + codArtFor?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + note?: string | null; + noteOld?: string | null; + partitaMag?: string | null; + qtaOrd?: number | null; + qtaOrd2?: number | null; + qtaOrd3?: number | null; + tipoRiga?: string | null; + untMis2?: string | null; + untMis3?: string | null; + + constructor(data: AggiornaOrdAcqDett) { + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.note = data.note; + this.noteOld = data.noteOld; + this.partitaMag = data.partitaMag; + this.qtaOrd = data.qtaOrd; + this.qtaOrd2 = data.qtaOrd2; + this.qtaOrd3 = data.qtaOrd3; + this.tipoRiga = data.tipoRiga; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + } +} + +export class AgribookActivityPlanRequestDTO { + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + note?: string | null; + partitaMag?: string | null; + planDate?: Date | null; + userName?: string | null; + + constructor(data: AgribookActivityPlanRequestDTO) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.note = data.note; + this.partitaMag = data.partitaMag; + this.planDate = data.planDate; + this.userName = data.userName; + } +} + +export class AgribookActivityPlanResponseDTO { + stbActivity?: StbActivity | null; + + constructor(data: AgribookActivityPlanResponseDTO) { + this.stbActivity = data.stbActivity; + } +} + +export class AgribookActivityRetrieveRequestDTO { + activityDescription?: string | null; + activityId?: string | null; + activityResultId?: string | null; + activityTypeId?: string | null; + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + dataInsAct?: Date | null; + destinatario?: string | null; + effectiveEndtime?: Date | null; + effectiveTime?: Date | null; + estimatedEndtime?: Date | null; + estimatedTime?: Date | null; + note?: string | null; + oraInsAct?: Date | null; + oraModAct?: Date | null; + parentActivityId?: string | null; + partitaMag?: string | null; + resultDescription?: string | null; + userCreator?: string | null; + userModifier?: string | null; + userName?: string | null; + + constructor(data: AgribookActivityRetrieveRequestDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityResultId = data.activityResultId; + this.activityTypeId = data.activityTypeId; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.dataInsAct = data.dataInsAct; + this.destinatario = data.destinatario; + this.effectiveEndtime = data.effectiveEndtime; + this.effectiveTime = data.effectiveTime; + this.estimatedEndtime = data.estimatedEndtime; + this.estimatedTime = data.estimatedTime; + this.note = data.note; + this.oraInsAct = data.oraInsAct; + this.oraModAct = data.oraModAct; + this.parentActivityId = data.parentActivityId; + this.partitaMag = data.partitaMag; + this.resultDescription = data.resultDescription; + this.userCreator = data.userCreator; + this.userModifier = data.userModifier; + this.userName = data.userName; + } +} + +export class AgribookActivityUpdateRequestDTO { + note?: string | null; + planDate?: Date | null; + userName?: string | null; + + constructor(data: AgribookActivityUpdateRequestDTO) { + this.note = data.note; + this.planDate = data.planDate; + this.userName = data.userName; + } +} + +export class AgribookDestinatarioDTO { + cap?: string | null; + citta?: string | null; + destinatario?: string | null; + indirizzo?: string | null; + latitude?: number | null; + longitude?: number | null; + numeroTelefono?: string | null; + prov?: string | null; + societa?: boolean | null; + + constructor(data: AgribookDestinatarioDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.destinatario = data.destinatario; + this.indirizzo = data.indirizzo; + this.latitude = data.latitude; + this.longitude = data.longitude; + this.numeroTelefono = data.numeroTelefono; + this.prov = data.prov; + this.societa = data.societa; + } +} + +export class AgribookFieldDTO { + codMdep?: string | null; + descrizione?: string | null; + posizione?: string | null; + + constructor(data: AgribookFieldDTO) { + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + this.posizione = data.posizione; + } +} + +export class AgribookHarvestHistoryDTO { + data?: Date | null; + qta?: number | null; + squadra?: string | null; + + constructor(data: AgribookHarvestHistoryDTO) { + this.data = data.data; + this.qta = data.qta; + this.squadra = data.squadra; + } +} + +export class AgribookImportCoordsTestCSVDTO { + comune?: string | null; + lat?: number | null; + lng?: number | null; + matchOrder?: AgribookOrderDTO | null; + nomeDeposito?: string | null; + nomeProduttore?: string | null; + partitaMag?: string | null; + varieta?: string | null; + + constructor(data: AgribookImportCoordsTestCSVDTO) { + this.comune = data.comune; + this.lat = data.lat; + this.lng = data.lng; + this.matchOrder = data.matchOrder; + this.nomeDeposito = data.nomeDeposito; + this.nomeProduttore = data.nomeProduttore; + this.partitaMag = data.partitaMag; + this.varieta = data.varieta; + } +} + +export class AgribookMediaAttachmentDTO { + datetimeAttach?: Date | null; + filename?: string | null; + mimeType?: string | null; + size?: number | null; + thumbnailUrl?: string | null; + url?: string | null; + + constructor(data: AgribookMediaAttachmentDTO) { + this.datetimeAttach = data.datetimeAttach; + this.filename = data.filename; + this.mimeType = data.mimeType; + this.size = data.size; + this.thumbnailUrl = data.thumbnailUrl; + this.url = data.url; + } +} + +export class AgribookNewFieldRequestDTO { + cap?: string | null; + capLegale?: string | null; + citta?: string | null; + cittaLegale?: string | null; + codAnag?: string | null; + codFiscLegale?: string | null; + codMart?: string | null; + codVdes?: string | null; + codVzon?: string | null; + dataInizProd?: Date | null; + dataOrd?: Date | null; + datiCatastali?: string | null; + destinatario?: string | null; + indirizzo?: string | null; + indirizzoLegale?: string | null; + lat?: number | null; + lng?: number | null; + newDes?: boolean | null; + note?: string | null; + partIva?: string | null; + partIvaLegale?: string | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + prov?: string | null; + provLegale?: string | null; + qtaAttesa?: number | null; + ragSocLegale?: string | null; + untMis?: string | null; + valUnt?: number | null; + varieta?: string | null; + + constructor(data: AgribookNewFieldRequestDTO) { + this.cap = data.cap; + this.capLegale = data.capLegale; + this.citta = data.citta; + this.cittaLegale = data.cittaLegale; + this.codAnag = data.codAnag; + this.codFiscLegale = data.codFiscLegale; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.codVzon = data.codVzon; + this.dataInizProd = data.dataInizProd; + this.dataOrd = data.dataOrd; + this.datiCatastali = data.datiCatastali; + this.destinatario = data.destinatario; + this.indirizzo = data.indirizzo; + this.indirizzoLegale = data.indirizzoLegale; + this.lat = data.lat; + this.lng = data.lng; + this.newDes = data.newDes; + this.note = data.note; + this.partIva = data.partIva; + this.partIvaLegale = data.partIvaLegale; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.prov = data.prov; + this.provLegale = data.provLegale; + this.qtaAttesa = data.qtaAttesa; + this.ragSocLegale = data.ragSocLegale; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + this.varieta = data.varieta; + } +} + +export class EntityBase implements Serializable, Cloneable { + exception?: EntityException | null; + executeRecalc?: boolean | null; + nativeSql?: string | null; + oldPk?: { [index: string]: any } | null; + onlyPkMaster?: boolean | null; + operation?: OperationType | null; + type: "CertificatiValorizzatiDTO" | "arl_fogm" | "arl_list_data_attach" | "arl_offt_attach" | "arl_schacc_doc" | "arl_schacc_ord" | "atb_fabr" | "atb_fabr_dt" | "atb_forn" | "atb_griglie" | "atb_griglie_art" | "atb_list" | "atb_list_data" | "atb_list_imp" | "atb_list_imp_no_pref" | "atb_list_log_import" | "atb_offr" | "atb_offt" | "atb_piano_logistico" | "atb_piano_logistico_det" | "atb_promo_depo" | "atb_provenienza" | "atb_scheda_accr" | "atb_scheda_acct" | "atb_tipi" | "azienda" | "carelli_giacenza_prog" | "crl_amac_art" | "crl_amac_manutenzioni_files" | "crl_mov_attached" | "crl_movt_rif_cmov" | "crl_scad_parr" | "ctb_agbe" | "ctb_amac" | "ctb_amac_history" | "ctb_amac_manutenzioni" | "ctb_anag" | "ctb_beni" | "ctb_biva" | "ctb_catbeni" | "ctb_catg" | "ctb_caur" | "ctb_caus" | "ctb_caus_rit" | "ctb_coan" | "ctb_cont" | "ctb_cont_fasi" | "ctb_cont_intercode_paghe" | "ctb_fondi" | "ctb_grup" | "ctb_iliq" | "ctb_inum" | "ctb_ireg" | "ctb_mast" | "ctb_movi" | "ctb_movn" | "ctb_movr" | "ctb_movr_coan" | "ctb_movr_intercode" | "ctb_movt" | "ctb_nc_intracee" | "ctb_nc_intraceer" | "ctb_parr" | "ctb_part" | "ctb_plafond_iva" | "ctb_plafond_iva_t" | "ctb_riclas" | "ctb_riclas_conti" | "ctb_riclas_conti_det" | "ctb_riclas_pdc" | "ctb_rit_acc" | "ctb_rit_acc_enasarco_el" | "ctb_sana" | "ctb_scad" | "ctb_scon" | "ctb_sctg" | "ctb_solr" | "ctb_solt" | "ctb_tipo_azienda" | "ctb_tipo_riep" | "ctb_titoli" | "ctb_titoli_dt" | "ctb_varbeni" | "ctb_varbeni_rival" | "d_mtcol_el" | "drl_doc_attached" | "drl_doc_xml_email" | "drl_ord_attached" | "drl_tipi_note_doc" | "dtb_doc_carat" | "dtb_doc_imb" | "dtb_doc_log_import" | "dtb_doc_pdf" | "dtb_doc_xml" | "dtb_docs" | "dtb_doct_cambio_tipo_doc" | "dtb_docu_log" | "dtb_fatture_passive" | "dtb_fatture_passive_ddt" | "dtb_fatture_passive_iva" | "dtb_fatture_passive_scad" | "dtb_grup_art" | "dtb_grup_art_lingua" | "dtb_intracee_natura" | "dtb_inum" | "dtb_mod_stampa" | "dtb_note_doc" | "dtb_oann" | "dtb_ord_cq" | "dtb_ord_cqr" | "dtb_ordl" | "dtb_ord_log_import" | "dtb_ord_macc" | "dtb_ord_macc_eventi" | "dtb_ord_pdf" | "dtb_ord_steps" | "dtb_ordr_pian_prod" | "dtb_ordr_pian_prod_det" | "dtb_ords" | "dtb_ordt_pian_prod" | "dtb_tipi" | "dtb_tipi_anag" | "dtb_tipi_carat" | "dtb_tipi_fe" | "dtb_transaz_intracee" | "grl_anag_jrept" | "grl_anag_note_files" | "grl_pasp" | "gtb_aliq" | "gtb_aliq_natura" | "gtb_anag" | "gtb_anag_conai" | "gtb_anag_info" | "gtb_anag_note" | "gtb_anni_divi" | "gtb_banc" | "gtb_banc_azi" | "gtb_banc_azi_eff" | "gtb_banc_azi_intercode" | "gtb_conai" | "gtb_conai_costi" | "gtb_conai_esenzioni" | "gtb_divi" | "gtb_divi_cambi" | "gtb_divi_iso" | "gtb_geog" | "gtb_lingue" | "gtb_mezzo" | "gtb_mod_iva" | "gtb_nazi" | "gtb_nazi_iso" | "gtb_paga" | "gtb_paga_fe" | "gtb_periodo_fisc" | "gtb_porto" | "gtb_reg_fisc" | "gtb_spes" | "gtb_tipi_paga" | "gtb_tipi_paga_intercode" | "jrl_cicl_disegni" | "jrl_dis_ord" | "jrl_fasi_activity_type" | "jrl_flav_users" | "jrl_mansione_reparto" | "jrl_schmac_doc" | "jtb_bdg_hr" | "jtb_bdg_hr_det" | "jtb_bdg_wd" | "jtb_cal_fasce" | "jtb_cal_gg_set" | "jtb_calendt" | "jtb_caus_eventi" | "jtb_cicl" | "jtb_cicl_cq" | "jtb_com_bdg" | "jtb_com_costo_std" | "jtb_com_importi" | "jtb_com_stato" | "jtb_com_tipo" | "jtb_comt" | "jtb_disegni" | "jtb_disegni_files" | "jtb_dist_clav_dir" | "jtb_dist_clav_dir_dett" | "jtb_dist_clav_dir_tempi_prod" | "jtb_dist_clav_ind" | "jtb_dist_mate" | "jtb_fasi" | "jtb_fasi_att" | "jtb_fasi_costi" | "jtb_fasi_imp_mesi" | "jtb_fasi_imp_mesi_dett" | "jtb_flav" | "jtb_flav_eventi" | "jtb_giustifica" | "jtb_giustifica_row" | "jtb_lotr" | "jtb_lott" | "jtb_mansioni" | "jtb_offr" | "jtb_offt" | "jtb_piano_mac" | "jtb_rlavr" | "jtb_rlavt" | "jtb_ricorrenze" | "jtb_scheda_cq" | "jtb_scheda_cqr" | "jtb_scheda_scompr" | "jtb_scheda_scompt" | "jtb_sforn" | "jtb_slist" | "jtb_slist_prod" | "jtb_str_costi" | "jtb_str_costir" | "mrl_aart_sch_tec_set" | "mrl_depo_art_esclusi_wms" | "mrl_partita_mag_attached" | "mrl_sart_attached" | "mtb_aart" | "mtb_aart_anag" | "mtb_aart_ass" | "mtb_aart_bar_code" | "mtb_aart_carat" | "mtb_aart_carat_mix" | "mtb_aart_costo" | "mtb_aart_desc" | "mtb_aart_equi" | "mtb_aart_equi_log" | "mtb_aart_equi_log_det" | "mtb_aart_link" | "mtb_aart_marchio" | "mtb_aart_param" | "mtb_aart_qta" | "mtb_aart_spec" | "mtb_acc_recc" | "mtb_acc_recf" | "mtb_acc_recg" | "mtb_colr" | "mtb_colr_info_prod" | "mtb_cols" | "mtb_colt" | "mtb_comp" | "mtb_conf" | "mtb_depo" | "mtb_depo_art" | "mtb_depo_casse" | "mtb_depo_cluster" | "mtb_depo_intercode" | "mtb_depo_marcatempo" | "mtb_depo_oper" | "mtb_depo_posizioni" | "mtb_depo_tipi" | "mtb_ecr_categ" | "mtb_ecr_mcateg" | "mtb_ecr_reparti" | "mtb_ecr_stipo" | "mtb_ecr_tipo" | "mtb_grp_bolla" | "mtb_grp_bollar" | "mtb_grup" | "mtb_grup_costi" | "mtb_grup_lingua" | "mtb_grup_sgrp_ass" | "mtb_invenr" | "mtb_invent" | "mtb_lisa" | "mtb_lisa_costo_data" | "mtb_lisa_data" | "mtb_lisa_promo" | "mtb_lisv" | "mtb_lisv_agg_4_cedi" | "mtb_lisv_agg_4_lisa" | "mtb_lisv_data" | "mtb_lisv_data_spese" | "mtb_part" | "mtb_part_dt" | "mtb_partita_mag" | "mtb_partita_mag_carat" | "mtb_sart" | "mtb_sart_dt" | "mtb_sch_tec_setr" | "mtb_sch_tec_sett" | "mtb_sch_tec_var" | "mtb_sfam" | "mtb_sfam_lingua" | "mtb_sgrp" | "mtb_sgrp_lingua" | "mtb_shelf_life_tolerance" | "mtb_spes" | "mtb_stip" | "mtb_tcol" | "mtb_tipi" | "mtb_tipi_carat" | "mtb_unt_mis" | "nrl_tipi_inca_gtb_paga" | "ntb_docp" | "ntb_docr" | "ntb_doct" | "ntb_doct_chk" | "ntb_rapp" | "ntb_rapr" | "ntb_rapt" | "ntb_tipi_inca" | "ntb_variazioni_export_log" | "oltb_anagfcto" | "oltb_operazioni" | "oltb_operregi" | "oltb_operregi_file" | "oltb_operregi_log" | "oltb_soggetti" | "prl_prevt_disegni" | "ptb_dest" | "ptb_fonti" | "ptb_prev_esito" | "ptb_prev_stato" | "ptb_prevn" | "ptb_prevr" | "ptb_prevt" | "ptb_prevt_file" | "ptb_pros" | "ptb_pros_rif" | "srl_activity_plan_user" | "srl_activity_type" | "srl_activity_type_user" | "srl_activity_users" | "srl_user" | "srl_user_attached" | "stb_abil" | "stb_activity" | "stb_activity_check" | "stb_activity_costs" | "stb_activity_file" | "stb_activity_file_models" | "stb_activity_notification" | "stb_activity_plan" | "stb_activity_publications" | "stb_activity_resultr" | "stb_activity_result" | "stb_activity_tags" | "stb_activity_type" | "stb_activity_type_score" | "stb_activity_type_score_r" | "stb_activity_typer" | "stb_auth_tokens" | "stb_calr_ore_gg" | "stb_calt" | "stb_devices" | "stb_edit_limit" | "stb_email" | "stb_email_content" | "stb_email_recovery" | "stb_exchange_config" | "stb_exchange_config_detail" | "stb_files_attached" | "stb_files_sharing_rules" | "stb_filter_df" | "stb_gest_df" | "stb_gest_setup" | "stb_gest_setup_depo" | "stb_gest_setup_det" | "stb_gest_setup_query" | "stb_gest_sync" | "stb_log_entity_setup" | "stb_lookup_limit" | "stb_lookup_query" | "stb_menu" | "stb_menu_opz" | "stb_migration_status" | "stb_note" | "stb_object_custom" | "stb_posizioni" | "stb_publications" | "stb_publications_detail" | "stb_remote_subscription" | "stb_subscription" | "stb_tipi_indirizzi" | "stb_tipo_azienda" | "stb_transaction_log" | "stb_user" | "ttb_abbi" | "ttb_anno_stag" | "ttb_anno_stag_lingua" | "ttb_bar_code" | "ttb_cart" | "ttb_clie_line" | "ttb_commr" | "ttb_commt" | "ttb_comp" | "ttb_ctcl" | "ttb_etic" | "ttb_eticli" | "ttb_line" | "ttb_line_lingua" | "ttb_line_period" | "ttb_lisv_taglie_data" | "ttb_stag" | "ttb_style" | "ttb_style_ass" | "ttb_style_ass_el" | "ttb_style_boxr" | "ttb_style_boxt" | "ttb_style_colori" | "ttb_style_comp" | "ttb_style_dazi_usa" | "ttb_style_taglie" | "ttb_tmat" | "utb_previsione_meteo" | "vtb_agen" | "vtb_agen_budget" | "vtb_agen_enasarco_firr" | "vtb_agen_premi" | "vtb_agen_prov" | "vtb_agen_righe_fat" | "vtb_agen_tipo" | "vtb_amac" | "vtb_amac_comp" | "vtb_arti" | "vtb_arti_acc" | "vtb_arti_desc" | "vtb_arti_varia" | "vtb_ass" | "vtb_att" | "vtb_auto" | "vtb_auto_km" | "vtb_auto_scad" | "vtb_bdgr" | "vtb_bdgt" | "vtb_cdist" | "vtb_clie" | "vtb_clie_fido" | "vtb_clie_pers_rif" | "vtb_compensi_tdr" | "vtb_compensi_tdt" | "vtb_concorrenti" | "vtb_dest" | "vtb_dest_intercode" | "vtb_dist" | "vtb_dist_incar" | "vtb_dist_incat" | "vtb_fidelity" | "vtb_fidelity_anag" | "vtb_fidelity_articoli" | "vtb_griglia" | "vtb_griglia_art" | "vtb_grp_acq" | "vtb_ispe" | "vtb_list" | "vtb_list_data" | "vtb_list_premi" | "vtb_mzon" | "vtb_offr" | "vtb_offt" | "vtb_premi_artr" | "vtb_premi_artt" | "vtb_promo" | "vtb_range_ricarico" | "vtb_riba" | "vtb_ricar_sugg" | "vtb_ricariche" | "vtb_ril_przr" | "vtb_ril_przt" | "vtb_scar" | "vtb_sccl" | "vtb_scon" | "vtb_scon_fasce" | "vtb_segm" | "vtb_sett" | "vtb_tipi" | "vtb_tipi_negozio" | "vtb_tipo_bloc_cons" | "vtb_tipo_fido" | "vtb_vetr" | "vtb_vett" | "vtb_vett_lett" | "vtb_vett_lett_porto" | "vtb_vett_lett_servizi" | "vtb_vett_targhe" | "vtb_vett_zone" | "vtb_viaggi" | "vtb_zone" | "wdtb_new_cli_ord" | "wdtb_ords" | "wrl_users_fasi" | "wtb_clie" | "wtb_clie_dest" | "wtb_depo" | "wtb_device_notification" | "wtb_device_token_topics" | "wtb_favorite_art" | "wtb_forn" | "wtb_forn_dest" | "wtb_gest_setup_user" | "wtb_jrepr" | "wtb_jrepr_sub" | "wtb_jrept" | "wtb_jrept_setup" | "wtb_message" | "wtb_message_attachment" | "wtb_message_email" | "wtb_notification" | "wtb_notification_image" | "wtb_profiles_content" | "wtb_pros" | "wtb_user_device_tokens" | "wtb_user_tokens" | "wtb_users" | "wtb_users_info" | "wtb_users_info_plan_status" | "AgribookOrderAttachmentDTO" | "AgribookOrderDTO" | "dtb_docr" | "wdtb_docr" | "dtb_ordr" | "wdtb_ordr" | "dtb_ordt" | "wdtb_ordt" | "dtb_doct" | "wdtb_doct"; + username?: string | null; + whereCond?: string | null; + + constructor(data: EntityBase) { + this.exception = data.exception; + this.executeRecalc = data.executeRecalc; + this.nativeSql = data.nativeSql; + this.oldPk = data.oldPk; + this.onlyPkMaster = data.onlyPkMaster; + this.operation = data.operation; + this.type = data.type; + this.username = data.username; + this.whereCond = data.whereCond; + } +} + +export class ComposedEntityBase extends EntityBase implements ComposedEntityInterface { + type: "AgribookOrderAttachmentDTO" | "AgribookOrderDTO"; + + constructor(data: ComposedEntityBase) { + super(data); + } +} + +export class AgribookOrderAttachmentDTO extends ComposedEntityBase { + codMart?: string | null; + datetimeAttach?: Date | null; + description?: string | null; + fileName?: string | null; + fileSize?: number | null; + idAttach?: string | null; + mimeType?: string | null; + partitaMag?: string | null; + thumbnailUrl?: string | null; + type: "AgribookOrderAttachmentDTO"; + url?: string | null; + userName?: string | null; + + constructor(data: AgribookOrderAttachmentDTO) { + super(data); + this.codMart = data.codMart; + this.datetimeAttach = data.datetimeAttach; + this.description = data.description; + this.fileName = data.fileName; + this.fileSize = data.fileSize; + this.idAttach = data.idAttach; + this.mimeType = data.mimeType; + this.partitaMag = data.partitaMag; + this.thumbnailUrl = data.thumbnailUrl; + this.url = data.url; + this.userName = data.userName; + } +} + +export class AgribookOrderDTO extends ComposedEntityBase { + anyActivity?: boolean | null; + attachments?: AgribookOrderAttachmentDTO[] | null; + attachmentsCount?: number | null; + codAnag?: string | null; + codMart?: string | null; + codMdep?: string | null; + codMtip?: string | null; + codVdes?: string | null; + dataConsMax?: Date | null; + dataConsMin?: Date | null; + dataOrd?: Date | null; + destinatario?: AgribookDestinatarioDTO | null; + evaseTotalmente?: boolean | null; + gestione?: string | null; + macroVarieta?: string | null; + mtbDepo?: MtbDepo | null; + mtbPartitaMag?: MtbPartitaMag | null; + nettoMerce?: number | null; + nextActivity?: Date | null; + numOrd?: number | null; + numPiante?: number | null; + numRighe?: number | null; + partitaMag?: string | null; + previsioniRaccolta?: AgribookPrevRaccoltaDTO[] | null; + qtaEvasa?: number | null; + qtaPrevista?: number | null; + qtaPrevistaIniziale?: number | null; + qtaResidua?: number | null; + storicoRaccolta?: AgribookHarvestHistoryDTO[] | null; + superficie?: number | null; + type: "AgribookOrderDTO"; + untOrd?: string | null; + varieta?: string | null; + + constructor(data: AgribookOrderDTO) { + super(data); + this.anyActivity = data.anyActivity; + this.attachments = data.attachments; + this.attachmentsCount = data.attachmentsCount; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMtip = data.codMtip; + this.codVdes = data.codVdes; + this.dataConsMax = data.dataConsMax; + this.dataConsMin = data.dataConsMin; + this.dataOrd = data.dataOrd; + this.destinatario = data.destinatario; + this.evaseTotalmente = data.evaseTotalmente; + this.gestione = data.gestione; + this.macroVarieta = data.macroVarieta; + this.mtbDepo = data.mtbDepo; + this.mtbPartitaMag = data.mtbPartitaMag; + this.nettoMerce = data.nettoMerce; + this.nextActivity = data.nextActivity; + this.numOrd = data.numOrd; + this.numPiante = data.numPiante; + this.numRighe = data.numRighe; + this.partitaMag = data.partitaMag; + this.previsioniRaccolta = data.previsioniRaccolta; + this.qtaEvasa = data.qtaEvasa; + this.qtaPrevista = data.qtaPrevista; + this.qtaPrevistaIniziale = data.qtaPrevistaIniziale; + this.qtaResidua = data.qtaResidua; + this.storicoRaccolta = data.storicoRaccolta; + this.superficie = data.superficie; + this.untOrd = data.untOrd; + this.varieta = data.varieta; + } +} + +export class AgribookPrevRaccoltaDTO { + dataRilevazione?: Date | null; + numSettimana?: number | null; + percClasse1?: number | null; + percClasse2?: number | null; + percClassePremium?: number | null; + qtaSettimana?: number | null; + + constructor(data: AgribookPrevRaccoltaDTO) { + this.dataRilevazione = data.dataRilevazione; + this.numSettimana = data.numSettimana; + this.percClasse1 = data.percClasse1; + this.percClasse2 = data.percClasse2; + this.percClassePremium = data.percClassePremium; + this.qtaSettimana = data.qtaSettimana; + } +} + +export class AgribookReportDTO { + activity?: StbActivity | null; + activityId?: string | null; + attachments?: AgribookMediaAttachmentDTO[] | null; + calibro?: string | null; + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + colore?: string | null; + dataRilevazione?: Date | null; + destinazioni?: string[] | null; + gradoBrix?: string | null; + note?: string | null; + partitaMag?: string | null; + peso?: string | null; + posizione?: string | null; + prevRaccNumSett?: number | null; + prevRaccPercClasse1?: number | null; + prevRaccPercClasse2?: number | null; + prevRaccPercClassePremium?: number | null; + prevRaccQtaSett?: number | null; + + constructor(data: AgribookReportDTO) { + this.activity = data.activity; + this.activityId = data.activityId; + this.attachments = data.attachments; + this.calibro = data.calibro; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.colore = data.colore; + this.dataRilevazione = data.dataRilevazione; + this.destinazioni = data.destinazioni; + this.gradoBrix = data.gradoBrix; + this.note = data.note; + this.partitaMag = data.partitaMag; + this.peso = data.peso; + this.posizione = data.posizione; + this.prevRaccNumSett = data.prevRaccNumSett; + this.prevRaccPercClasse1 = data.prevRaccPercClasse1; + this.prevRaccPercClasse2 = data.prevRaccPercClasse2; + this.prevRaccPercClassePremium = data.prevRaccPercClassePremium; + this.prevRaccQtaSett = data.prevRaccQtaSett; + } +} + +export class AgribookReportPostResponseDTO { + activityId?: string | null; + + constructor(data: AgribookReportPostResponseDTO) { + this.activityId = data.activityId; + } +} + +export class AgribookSaveCoordsDTO { + codMart?: string | null; + codMdep?: string | null; + lat?: number | null; + lng?: number | null; + partitaMag?: string | null; + + constructor(data: AgribookSaveCoordsDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.lat = data.lat; + this.lng = data.lng; + this.partitaMag = data.partitaMag; + } +} + +export class AgribookSaveQtaResiduaRequestDTO { + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + partitaMag?: string | null; + qtaOrd?: number | null; + + constructor(data: AgribookSaveQtaResiduaRequestDTO) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.partitaMag = data.partitaMag; + this.qtaOrd = data.qtaOrd; + } +} + +export class AgribookUpdatePercClassiRequestDTO { + percClasse1?: number | null; + percClasse2?: number | null; + percClassePremium?: number | null; + + constructor(data: AgribookUpdatePercClassiRequestDTO) { + this.percClasse1 = data.percClasse1; + this.percClasse2 = data.percClasse2; + this.percClassePremium = data.percClassePremium; + } +} + +export class Allegati { + idAllegato?: string | null; + + constructor(data: Allegati) { + this.idAllegato = data.idAllegato; + } +} + +export class AllineaGiacenzeDaColliDTO { + codMart?: string | null; + partitaMag?: string | null; + + constructor(data: AllineaGiacenzeDaColliDTO) { + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + } +} + +export class AlreadyRegisteredUlDTO { + canBeRecovered?: boolean | null; + mtbColt?: MtbColt | null; + + constructor(data: AlreadyRegisteredUlDTO) { + this.canBeRecovered = data.canBeRecovered; + this.mtbColt = data.mtbColt; + } +} + +export class AnagEcommerceJsonDTO { + Address?: string | null; + City?: string | null; + CountryCode?: string | null; + Email?: string | null; + InvoiceData?: InvoiceDataDTO | null; + Name?: string | null; + PostalCode?: string | null; + ShippingAddress?: ShippingAddressDTO[] | null; + + constructor(data: AnagEcommerceJsonDTO) { + this.Address = data.Address; + this.City = data.City; + this.CountryCode = data.CountryCode; + this.Email = data.Email; + this.InvoiceData = data.InvoiceData; + this.Name = data.Name; + this.PostalCode = data.PostalCode; + this.ShippingAddress = data.ShippingAddress; + } +} + +export class AnagraficaDTO { + cap?: string | null; + capSped?: string | null; + citta?: string | null; + cittaSped?: string | null; + codFisc?: string | null; + cognome?: string | null; + dataNascita?: Date | null; + destinatarioSped?: string | null; + eMail?: string | null; + fax?: string | null; + faxSped?: string | null; + indirizzo?: string | null; + indirizzoSped?: string | null; + nazione?: string | null; + nazioneSped?: string | null; + nome?: string | null; + partIva?: string | null; + prov?: string | null; + provSped?: string | null; + ragSoc?: string | null; + telefono?: string | null; + telefonoSped?: string | null; + + constructor(data: AnagraficaDTO) { + this.cap = data.cap; + this.capSped = data.capSped; + this.citta = data.citta; + this.cittaSped = data.cittaSped; + this.codFisc = data.codFisc; + this.cognome = data.cognome; + this.dataNascita = data.dataNascita; + this.destinatarioSped = data.destinatarioSped; + this.eMail = data.eMail; + this.fax = data.fax; + this.faxSped = data.faxSped; + this.indirizzo = data.indirizzo; + this.indirizzoSped = data.indirizzoSped; + this.nazione = data.nazione; + this.nazioneSped = data.nazioneSped; + this.nome = data.nome; + this.partIva = data.partIva; + this.prov = data.prov; + this.provSped = data.provSped; + this.ragSoc = data.ragSoc; + this.telefono = data.telefono; + this.telefonoSped = data.telefonoSped; + } +} + +export class AnagraficaDocFinanceDTO { + azienda?: string | null; + banca?: string | null; + bancaEstera?: string | null; + bancaIntermediaria?: string | null; + bicBancaIntermediaria?: string | null; + cap?: string | null; + chkPaese?: string | null; + cin?: string | null; + citta?: string | null; + codAbi?: string | null; + codBic?: string | null; + codCab?: string | null; + codFisc?: string | null; + codicePdc?: string | null; + codiceRootingBancaAccredito?: string | null; + codiceRootingBancaIntermediaria?: string | null; + descrizione?: string | null; + divisaCoordinateBancarieEstere?: string | null; + eMail?: string | null; + ggRitardo?: number | null; + iban?: string | null; + idPaese?: string | null; + indirizzo?: string | null; + linea?: string | null; + lunghezzaRecord?: string | null; + nazione?: string | null; + nomignolo?: string | null; + numCc?: string | null; + partIva?: string | null; + partitaIva?: string | null; + prov?: string | null; + rating?: string | null; + rbn?: string | null; + sportelloBancaEstera?: string | null; + sportelloBancaIntermediaria?: string | null; + tipo?: string | null; + tipoCodiceRootingBancaAccredito?: string | null; + tipoCodiceRootingBancaIntermediaria?: string | null; + voceFinanziaria?: string | null; + + constructor(data: AnagraficaDocFinanceDTO) { + this.azienda = data.azienda; + this.banca = data.banca; + this.bancaEstera = data.bancaEstera; + this.bancaIntermediaria = data.bancaIntermediaria; + this.bicBancaIntermediaria = data.bicBancaIntermediaria; + this.cap = data.cap; + this.chkPaese = data.chkPaese; + this.cin = data.cin; + this.citta = data.citta; + this.codAbi = data.codAbi; + this.codBic = data.codBic; + this.codCab = data.codCab; + this.codFisc = data.codFisc; + this.codicePdc = data.codicePdc; + this.codiceRootingBancaAccredito = data.codiceRootingBancaAccredito; + this.codiceRootingBancaIntermediaria = data.codiceRootingBancaIntermediaria; + this.descrizione = data.descrizione; + this.divisaCoordinateBancarieEstere = data.divisaCoordinateBancarieEstere; + this.eMail = data.eMail; + this.ggRitardo = data.ggRitardo; + this.iban = data.iban; + this.idPaese = data.idPaese; + this.indirizzo = data.indirizzo; + this.linea = data.linea; + this.lunghezzaRecord = data.lunghezzaRecord; + this.nazione = data.nazione; + this.nomignolo = data.nomignolo; + this.numCc = data.numCc; + this.partIva = data.partIva; + this.partitaIva = data.partitaIva; + this.prov = data.prov; + this.rating = data.rating; + this.rbn = data.rbn; + this.sportelloBancaEstera = data.sportelloBancaEstera; + this.sportelloBancaIntermediaria = data.sportelloBancaIntermediaria; + this.tipo = data.tipo; + this.tipoCodiceRootingBancaAccredito = data.tipoCodiceRootingBancaAccredito; + this.tipoCodiceRootingBancaIntermediaria = data.tipoCodiceRootingBancaIntermediaria; + this.voceFinanziaria = data.voceFinanziaria; + } +} + +export class AndroidConfigDTO { + analyticsLabel?: string | null; + collapseKey?: string | null; + data?: { [index: string]: string } | null; + directBootOk?: boolean | null; + notification?: AndroidNotificationDTO | null; + priority?: string | null; + restrictedPackageName?: string | null; + ttl?: number | null; + + constructor(data: AndroidConfigDTO) { + this.analyticsLabel = data.analyticsLabel; + this.collapseKey = data.collapseKey; + this.data = data.data; + this.directBootOk = data.directBootOk; + this.notification = data.notification; + this.priority = data.priority; + this.restrictedPackageName = data.restrictedPackageName; + this.ttl = data.ttl; + } +} + +export class AndroidNotificationDTO { + body?: string | null; + bodyLocArgs?: string[] | null; + bodyLocKey?: string | null; + channelId?: string | null; + clickAction?: string | null; + color?: string | null; + defaultLightSettings?: boolean | null; + defaultSound?: boolean | null; + defaultVibrateTimings?: boolean | null; + eventTime?: number | null; + icon?: string | null; + image?: string | null; + lightSettings?: LightSettingsDTO | null; + localOnly?: boolean | null; + notificationCount?: number | null; + priority?: string | null; + sound?: string | null; + sticky?: boolean | null; + tag?: string | null; + ticker?: string | null; + title?: string | null; + vibrateTimings?: number[] | null; + visibility?: string | null; + + constructor(data: AndroidNotificationDTO) { + this.body = data.body; + this.bodyLocArgs = data.bodyLocArgs; + this.bodyLocKey = data.bodyLocKey; + this.channelId = data.channelId; + this.clickAction = data.clickAction; + this.color = data.color; + this.defaultLightSettings = data.defaultLightSettings; + this.defaultSound = data.defaultSound; + this.defaultVibrateTimings = data.defaultVibrateTimings; + this.eventTime = data.eventTime; + this.icon = data.icon; + this.image = data.image; + this.lightSettings = data.lightSettings; + this.localOnly = data.localOnly; + this.notificationCount = data.notificationCount; + this.priority = data.priority; + this.sound = data.sound; + this.sticky = data.sticky; + this.tag = data.tag; + this.ticker = data.ticker; + this.title = data.title; + this.vibrateTimings = data.vibrateTimings; + this.visibility = data.visibility; + } +} + +export interface AnnotatedElement { + annotations?: Annotation[] | null; + declaredAnnotations?: Annotation[] | null; +} + +export interface AnnotatedType extends AnnotatedElement { + type?: Type | null; +} + +export interface Annotation { +} + +export class AnomalieDTO { + error?: boolean | null; + exception?: Exception | null; + message?: string | null; + tipo?: AnomalieDTOType | null; + + constructor(data: AnomalieDTO) { + this.error = data.error; + this.exception = data.exception; + this.message = data.message; + this.tipo = data.tipo; + } +} + +export class AnomalieResiDTO { + codMart?: string | null; + dataScad?: Date | null; + errorMessage?: string | null; + + constructor(data: AnomalieResiDTO) { + this.codMart = data.codMart; + this.dataScad = data.dataScad; + this.errorMessage = data.errorMessage; + } +} + +export class ApiKeyDTO { + apiKey?: string | null; + + constructor(data: ApiKeyDTO) { + this.apiKey = data.apiKey; + } +} + +export class ApnsConfigDTO { + aps?: ApsDTO | null; + customData?: { [index: string]: any } | null; + fcmOptions?: ApnsFcmOptionsDTO | null; + headers?: { [index: string]: string } | null; + + constructor(data: ApnsConfigDTO) { + this.aps = data.aps; + this.customData = data.customData; + this.fcmOptions = data.fcmOptions; + this.headers = data.headers; + } +} + +export class ApnsFcmOptionsDTO { + analyticsLabel?: string | null; + image?: string | null; + + constructor(data: ApnsFcmOptionsDTO) { + this.analyticsLabel = data.analyticsLabel; + this.image = data.image; + } +} + +export class ApplicationInfoDTO { + annoContab?: number | null; + annoMagaz?: number | null; + ansiPadding?: boolean | null; + concatNullYieldsNull?: boolean | null; + delimitedIdentifier?: boolean | null; + loadMenuPvm?: string | null; + menuPersonalizzato?: string | null; + name?: string | null; + newUpdProgMaga?: string | null; + + constructor(data: ApplicationInfoDTO) { + this.annoContab = data.annoContab; + this.annoMagaz = data.annoMagaz; + this.ansiPadding = data.ansiPadding; + this.concatNullYieldsNull = data.concatNullYieldsNull; + this.delimitedIdentifier = data.delimitedIdentifier; + this.loadMenuPvm = data.loadMenuPvm; + this.menuPersonalizzato = data.menuPersonalizzato; + this.name = data.name; + this.newUpdProgMaga = data.newUpdProgMaga; + } +} + +export class ApriProduzione { + codMart?: string | null; + codMdep?: string | null; + dataReg?: Date | null; + partitaMag?: string | null; + qtaOrd?: number | null; + rapConv?: number | null; + untOrd?: string | null; + + constructor(data: ApriProduzione) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataReg = data.dataReg; + this.partitaMag = data.partitaMag; + this.qtaOrd = data.qtaOrd; + this.rapConv = data.rapConv; + this.untOrd = data.untOrd; + } +} + +export class ApsAlertDTO { + actionLocKey?: string | null; + body?: string | null; + launchImage?: string | null; + locArgs?: string[] | null; + locKey?: string | null; + subtitle?: string | null; + subtitleLocArgs?: string[] | null; + subtitleLocKey?: string | null; + title?: string | null; + titleLocArgs?: string[] | null; + titleLocKey?: string | null; + + constructor(data: ApsAlertDTO) { + this.actionLocKey = data.actionLocKey; + this.body = data.body; + this.launchImage = data.launchImage; + this.locArgs = data.locArgs; + this.locKey = data.locKey; + this.subtitle = data.subtitle; + this.subtitleLocArgs = data.subtitleLocArgs; + this.subtitleLocKey = data.subtitleLocKey; + this.title = data.title; + this.titleLocArgs = data.titleLocArgs; + this.titleLocKey = data.titleLocKey; + } +} + +export class ApsDTO { + alert?: ApsAlertDTO | null; + alertString?: string | null; + badge?: number | null; + category?: string | null; + contentAvailable?: boolean | null; + criticalSound?: CriticalSoundDTO | null; + customData?: { [index: string]: any } | null; + mutableContent?: boolean | null; + sound?: string | null; + threadId?: string | null; + + constructor(data: ApsDTO) { + this.alert = data.alert; + this.alertString = data.alertString; + this.badge = data.badge; + this.category = data.category; + this.contentAvailable = data.contentAvailable; + this.criticalSound = data.criticalSound; + this.customData = data.customData; + this.mutableContent = data.mutableContent; + this.sound = data.sound; + this.threadId = data.threadId; + } +} + +export class ArlFogm extends EntityBase { + codAnag?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + id?: number | null; + type: "arl_fogm"; + + constructor(data: ArlFogm) { + super(data); + this.codAnag = data.codAnag; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.id = data.id; + } +} + +export class ArlListDataAttach extends EntityBase { + codAlis?: string | null; + idAttach?: string | null; + type: "arl_list_data_attach"; + versione?: number | null; + + constructor(data: ArlListDataAttach) { + super(data); + this.codAlis = data.codAlis; + this.idAttach = data.idAttach; + this.versione = data.versione; + } +} + +export class ArlOfftAttach extends EntityBase { + idAttach?: string | null; + idContratto?: number | null; + type: "arl_offt_attach"; + + constructor(data: ArlOfftAttach) { + super(data); + this.idAttach = data.idAttach; + this.idContratto = data.idContratto; + } +} + +export class ArlSchaccDoc extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + dataScheda?: Date | null; + idScheda?: string | null; + numDoc?: number | null; + serDoc?: string | null; + type: "arl_schacc_doc"; + + constructor(data: ArlSchaccDoc) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.dataScheda = data.dataScheda; + this.idScheda = data.idScheda; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class ArlSchaccOrd extends EntityBase { + dataOrd?: Date | null; + dataScheda?: Date | null; + gestione?: string | null; + idScheda?: string | null; + numOrd?: number | null; + type: "arl_schacc_ord"; + + constructor(data: ArlSchaccOrd) { + super(data); + this.dataOrd = data.dataOrd; + this.dataScheda = data.dataScheda; + this.gestione = data.gestione; + this.idScheda = data.idScheda; + this.numOrd = data.numOrd; + } +} + +export class ArtDTO { + barcode?: string | null; + codAlis?: string | null; + codMart?: string | null; + colli?: number | null; + dataIns?: Date | null; + dataScad?: Date | null; + datetimeRow?: Date | null; + descrizione?: string | null; + partitaMag?: string | null; + qta?: number | null; + qtaCnf?: number | null; + rigaOrd?: number | null; + systemNote?: string | null; + untMis?: string | null; + + constructor(data: ArtDTO) { + this.barcode = data.barcode; + this.codAlis = data.codAlis; + this.codMart = data.codMart; + this.colli = data.colli; + this.dataIns = data.dataIns; + this.dataScad = data.dataScad; + this.datetimeRow = data.datetimeRow; + this.descrizione = data.descrizione; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + this.rigaOrd = data.rigaOrd; + this.systemNote = data.systemNote; + this.untMis = data.untMis; + } +} + +export class Article { + code?: string | null; + id?: string | null; + is_archived?: boolean | null; + name?: string | null; + note?: string | null; + packaging_material_code?: string | null; + packaging_material_id?: string | null; + packaging_material_name?: string | null; + raw_materials?: ArticleRawMaterial[] | null; + + constructor(data: Article) { + this.code = data.code; + this.id = data.id; + this.is_archived = data.is_archived; + this.name = data.name; + this.note = data.note; + this.packaging_material_code = data.packaging_material_code; + this.packaging_material_id = data.packaging_material_id; + this.packaging_material_name = data.packaging_material_name; + this.raw_materials = data.raw_materials; + } +} + +export class ArticleData extends Article { + codTcolUL?: string | null; + colliPedana?: number | null; + colliStrato?: number | null; + qtaCnf?: number | null; + rapConv2?: number | null; + rapConv3?: number | null; + untMis?: string | null; + untMis2?: string | null; + untMis3?: string | null; + + constructor(data: ArticleData) { + super(data); + this.codTcolUL = data.codTcolUL; + this.colliPedana = data.colliPedana; + this.colliStrato = data.colliStrato; + this.qtaCnf = data.qtaCnf; + this.rapConv2 = data.rapConv2; + this.rapConv3 = data.rapConv3; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + } +} + +export class ArticleRawMaterial { + code?: string | null; + id?: string | null; + name?: string | null; + weight_kg?: number | null; + + constructor(data: ArticleRawMaterial) { + this.code = data.code; + this.id = data.id; + this.name = data.name; + this.weight_kg = data.weight_kg; + } +} + +export class Articoli { + codArtFor?: string | null; + codMart?: string | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + lotti?: string | null; + numDoc?: number | null; + numOrd?: number | null; + qtaCollo?: number | null; + qtaDoc?: number | null; + qtaFatNoRic?: number | null; + qtaInevasa?: number | null; + qtaOrd?: number | null; + qtaRicNoFat?: number | null; + qtaRicNoFatResa?: number | null; + rigaMod?: string | null; + rigaOrd?: number | null; + serDoc?: string | null; + trattieniMerce?: string | null; + + constructor(data: Articoli) { + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.lotti = data.lotti; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.qtaCollo = data.qtaCollo; + this.qtaDoc = data.qtaDoc; + this.qtaFatNoRic = data.qtaFatNoRic; + this.qtaInevasa = data.qtaInevasa; + this.qtaOrd = data.qtaOrd; + this.qtaRicNoFat = data.qtaRicNoFat; + this.qtaRicNoFatResa = data.qtaRicNoFatResa; + this.rigaMod = data.rigaMod; + this.rigaOrd = data.rigaOrd; + this.serDoc = data.serDoc; + this.trattieniMerce = data.trattieniMerce; + } +} + +export class ArticoliCodbarreDTO implements Serializable { + articoli?: OrdikidsArticoliDTO[] | null; + codbarre?: CodBarreDTO[] | null; + + constructor(data: ArticoliCodbarreDTO) { + this.articoli = data.articoli; + this.codbarre = data.codbarre; + } +} + +export class ArticoliDTO { + codArtFor?: string | null; + codMart?: string | null; + listino?: string | null; + qtaCnf?: number | null; + qtaOrd?: number | null; + untMis?: string | null; + + constructor(data: ArticoliDTO) { + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.listino = data.listino; + this.qtaCnf = data.qtaCnf; + this.qtaOrd = data.qtaOrd; + this.untMis = data.untMis; + } +} + +export class ArticoliMorganteDTO { + descrizione?: string | null; + descrizione_estesa?: string | null; + nome_file?: string | null; + + constructor(data: ArticoliMorganteDTO) { + this.descrizione = data.descrizione; + this.descrizione_estesa = data.descrizione_estesa; + this.nome_file = data.nome_file; + } +} + +export class ArticoliPreferitiDTO implements Serializable { + codMart?: string | null; + dataIns?: Date | null; + riga?: number | null; + + constructor(data: ArticoliPreferitiDTO) { + this.codMart = data.codMart; + this.dataIns = data.dataIns; + this.riga = data.riga; + } +} + +export class ArticoliUnificatoDTO implements Serializable { + ARTI?: OrdikidsArticoliDTO[] | null; + ASSORTI?: AssortimentoDTO[] | null; + BAR_CODE?: CodBarreDTO[] | null; + + constructor(data: ArticoliUnificatoDTO) { + this.ARTI = data.ARTI; + this.ASSORTI = data.ASSORTI; + this.BAR_CODE = data.BAR_CODE; + } +} + +export class Articolo { + codmart?: string | null; + descrizione?: string | null; + giacenza?: number | null; + note?: string | null; + przvendiva?: number | null; + + constructor(data: Articolo) { + this.codmart = data.codmart; + this.descrizione = data.descrizione; + this.giacenza = data.giacenza; + this.note = data.note; + this.przvendiva = data.przvendiva; + } +} + +export class ArticoloDTO { + articoloComposto?: string | null; + barcode?: string | null; + barcodeImballo?: string | null; + codAliq?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + diacod?: string | null; + flagKit?: boolean | null; + flagQtaCnfFissa?: boolean | null; + flagStato?: boolean | null; + gruppo?: string | null; + idArtEqui?: string | null; + note?: string | null; + posizione?: string | null; + precode?: string | null; + qtaCnf?: number | null; + sottoFamiglia?: string | null; + sottoGruppo?: string | null; + untMis?: string | null; + + constructor(data: ArticoloDTO) { + this.articoloComposto = data.articoloComposto; + this.barcode = data.barcode; + this.barcodeImballo = data.barcodeImballo; + this.codAliq = data.codAliq; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.diacod = data.diacod; + this.flagKit = data.flagKit; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagStato = data.flagStato; + this.gruppo = data.gruppo; + this.idArtEqui = data.idArtEqui; + this.note = data.note; + this.posizione = data.posizione; + this.precode = data.precode; + this.qtaCnf = data.qtaCnf; + this.sottoFamiglia = data.sottoFamiglia; + this.sottoGruppo = data.sottoGruppo; + this.untMis = data.untMis; + } +} + +export class ArticoloListino { + cod_mart?: string | null; + colli_pedana?: number | null; + colli_strato?: number | null; + perc_aliq?: number | null; + prz_base?: number | null; + prz_vend?: number | null; + prz_vend_iva?: number | null; + prz_vend_netto?: number | null; + qta_esistente?: number | null; + scorta_min?: number | null; + unt_mis_ven?: string | null; + val_oneri?: number | null; + + constructor(data: ArticoloListino) { + this.cod_mart = data.cod_mart; + this.colli_pedana = data.colli_pedana; + this.colli_strato = data.colli_strato; + this.perc_aliq = data.perc_aliq; + this.prz_base = data.prz_base; + this.prz_vend = data.prz_vend; + this.prz_vend_iva = data.prz_vend_iva; + this.prz_vend_netto = data.prz_vend_netto; + this.qta_esistente = data.qta_esistente; + this.scorta_min = data.scorta_min; + this.unt_mis_ven = data.unt_mis_ven; + this.val_oneri = data.val_oneri; + } +} + +export class ArticoloPartitaCommessaDTO { + codJcom?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + numOrd?: number | null; + partitaMag?: string | null; + + constructor(data: ArticoloPartitaCommessaDTO) { + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + } +} + +export class ArticoloPartitaDTO { + codMart?: string | null; + partitaMag?: string | null; + + constructor(data: ArticoloPartitaDTO) { + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + } +} + +export class ArticoloTextiles { + altezza_cm?: string | null; + anno_stag?: string | null; + babynobaby?: string | null; + cod_barre?: string | null; + cod_col?: string | null; + cod_mgrp?: string | null; + cod_msgr?: string | null; + cod_style?: string | null; + cod_tagl?: string | null; + cod_tagl_estera?: string | null; + des_comp?: string | null; + des_estera?: string | null; + desc_gruppo_linea?: string | null; + descr_art?: string | null; + descr_col?: string | null; + descr_stagione?: string | null; + eta?: string | null; + gruppo_linea?: string | null; + is_neonato?: string | null; + lista_categorie?: string | null; + new_or_outlet?: string | null; + perc_aliq?: number | null; + pos?: number | null; + prz_vend?: number | null; + qta_disp?: number | null; + sesso?: string | null; + statura?: string | null; + tema?: string | null; + + constructor(data: ArticoloTextiles) { + this.altezza_cm = data.altezza_cm; + this.anno_stag = data.anno_stag; + this.babynobaby = data.babynobaby; + this.cod_barre = data.cod_barre; + this.cod_col = data.cod_col; + this.cod_mgrp = data.cod_mgrp; + this.cod_msgr = data.cod_msgr; + this.cod_style = data.cod_style; + this.cod_tagl = data.cod_tagl; + this.cod_tagl_estera = data.cod_tagl_estera; + this.des_comp = data.des_comp; + this.des_estera = data.des_estera; + this.desc_gruppo_linea = data.desc_gruppo_linea; + this.descr_art = data.descr_art; + this.descr_col = data.descr_col; + this.descr_stagione = data.descr_stagione; + this.eta = data.eta; + this.gruppo_linea = data.gruppo_linea; + this.is_neonato = data.is_neonato; + this.lista_categorie = data.lista_categorie; + this.new_or_outlet = data.new_or_outlet; + this.perc_aliq = data.perc_aliq; + this.pos = data.pos; + this.prz_vend = data.prz_vend; + this.qta_disp = data.qta_disp; + this.sesso = data.sesso; + this.statura = data.statura; + this.tema = data.tema; + } +} + +export class ArticoloWooCommerce { + + constructor(data: ArticoloWooCommerce) { + } +} + +export class ArtsInGiacenzaDTO { + codMart?: string | null; + count?: number | null; + dataOrd?: Date | null; + descrizione?: string | null; + mvwSitArtUdcDetInventarioDTO?: MvwSitArtUdcDetInventarioDTO[] | null; + numCnf?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + posizione?: string | null; + statoArtInventario?: StatoArtInventarioDTO | null; + + constructor(data: ArtsInGiacenzaDTO) { + this.codMart = data.codMart; + this.count = data.count; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.mvwSitArtUdcDetInventarioDTO = data.mvwSitArtUdcDetInventarioDTO; + this.numCnf = data.numCnf; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + this.statoArtInventario = data.statoArtInventario; + } +} + +export class AsnFooter { + comment1?: string | null; + comment2?: string | null; + headerNum?: string | null; + recordType?: string | null; + + constructor(data: AsnFooter) { + this.comment1 = data.comment1; + this.comment2 = data.comment2; + this.headerNum = data.headerNum; + this.recordType = data.recordType; + } +} + +export class AsnHeader { + divisa?: string | null; + headerNum?: string | null; + invoiceDate?: Date | null; + paymentInvoice?: number | null; + poNumber?: number | null; + recordType?: string | null; + shipmentNumber?: number | null; + station?: string | null; + store?: string | null; + subPckBcd?: string | null; + subsid?: string | null; + vendorCode?: string | null; + voucherDate?: Date | null; + + constructor(data: AsnHeader) { + this.divisa = data.divisa; + this.headerNum = data.headerNum; + this.invoiceDate = data.invoiceDate; + this.paymentInvoice = data.paymentInvoice; + this.poNumber = data.poNumber; + this.recordType = data.recordType; + this.shipmentNumber = data.shipmentNumber; + this.station = data.station; + this.store = data.store; + this.subPckBcd = data.subPckBcd; + this.subsid = data.subsid; + this.vendorCode = data.vendorCode; + this.voucherDate = data.voucherDate; + } +} + +export class AsnItem { + headerNum?: string | null; + recordType?: string | null; + space1?: string | null; + space2?: string | null; + space3?: string | null; + voucherAlu?: string | null; + voucherItemCost?: number | null; + voucherItemOrigQty?: number | null; + voucherItemQty?: number | null; + voucherUpc?: string | null; + + constructor(data: AsnItem) { + this.headerNum = data.headerNum; + this.recordType = data.recordType; + this.space1 = data.space1; + this.space2 = data.space2; + this.space3 = data.space3; + this.voucherAlu = data.voucherAlu; + this.voucherItemCost = data.voucherItemCost; + this.voucherItemOrigQty = data.voucherItemOrigQty; + this.voucherItemQty = data.voucherItemQty; + this.voucherUpc = data.voucherUpc; + } +} + +export class AssegnaOneriDTO { + rowsBolle?: RowBolleDTO[] | null; + tipoAssegnazione?: string | null; + + constructor(data: AssegnaOneriDTO) { + this.rowsBolle = data.rowsBolle; + this.tipoAssegnazione = data.tipoAssegnazione; + } +} + +export class AssenzaDTO { + codJflav?: string | null; + dataLav?: Date | null; + giustificativo?: string | null; + note?: string | null; + oreAssenza?: number | null; + userName?: string | null; + + constructor(data: AssenzaDTO) { + this.codJflav = data.codJflav; + this.dataLav = data.dataLav; + this.giustificativo = data.giustificativo; + this.note = data.note; + this.oreAssenza = data.oreAssenza; + this.userName = data.userName; + } +} + +export class AssortimentoDTO implements Serializable { + cod_asso?: string | null; + cod_style?: string | null; + descr_asso?: string | null; + dettaglio?: AssortimentoDettDTO[] | null; + + constructor(data: AssortimentoDTO) { + this.cod_asso = data.cod_asso; + this.cod_style = data.cod_style; + this.descr_asso = data.descr_asso; + this.dettaglio = data.dettaglio; + } +} + +export class AssortimentoDettDTO implements Serializable { + col?: string | null; + qta?: number | null; + tagl?: string | null; + + constructor(data: AssortimentoDettDTO) { + this.col = data.col; + this.qta = data.qta; + this.tagl = data.tagl; + } +} + +export class AtbFabr extends EntityBase { + atbFabrDt?: AtbFabrDt[] | null; + codAlis?: string | null; + codArtFor?: string | null; + codForn?: string | null; + codJcom?: string | null; + codKit?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataCons?: Date | null; + dataFab?: Date | null; + descrizioneArt?: string | null; + descrizioneCom?: string | null; + descrizioneList?: string | null; + fabbisogno?: number | null; + flagRowLock?: string | null; + idRiga?: number | null; + note?: string | null; + numFab?: number | null; + numRefArtFor?: number | null; + partitaMag?: string | null; + qtaAccant?: number | null; + qtaAcq?: number | null; + qtaEsistente?: number | null; + qtaImpCli?: number | null; + qtaImpLav?: number | null; + qtaOrdFor?: number | null; + ragSocForn?: string | null; + rapConv?: number | null; + tipoAzione?: string | null; + type: "atb_fabr"; + untMis?: string | null; + + constructor(data: AtbFabr) { + super(data); + this.atbFabrDt = data.atbFabrDt; + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codForn = data.codForn; + this.codJcom = data.codJcom; + this.codKit = data.codKit; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataCons = data.dataCons; + this.dataFab = data.dataFab; + this.descrizioneArt = data.descrizioneArt; + this.descrizioneCom = data.descrizioneCom; + this.descrizioneList = data.descrizioneList; + this.fabbisogno = data.fabbisogno; + this.flagRowLock = data.flagRowLock; + this.idRiga = data.idRiga; + this.note = data.note; + this.numFab = data.numFab; + this.numRefArtFor = data.numRefArtFor; + this.partitaMag = data.partitaMag; + this.qtaAccant = data.qtaAccant; + this.qtaAcq = data.qtaAcq; + this.qtaEsistente = data.qtaEsistente; + this.qtaImpCli = data.qtaImpCli; + this.qtaImpLav = data.qtaImpLav; + this.qtaOrdFor = data.qtaOrdFor; + this.ragSocForn = data.ragSocForn; + this.rapConv = data.rapConv; + this.tipoAzione = data.tipoAzione; + this.untMis = data.untMis; + } +} + +export class AtbFabrDt extends EntityBase { + type: "atb_fabr_dt"; + + constructor(data: AtbFabrDt) { + super(data); + } +} + +export class AtbForn extends EntityBase implements EquatableEntityInterface { + agenziaBanca?: string | null; + applicationName?: string | null; + arlFogm?: ArlFogm[] | null; + atbList?: AtbList | null; + causale?: string | null; + codAbi?: string | null; + codAliq?: string | null; + codAlis?: string | null; + codAnag?: string | null; + codAtip?: string | null; + codBanc?: string | null; + codBancAzi?: string | null; + codBic?: string | null; + codCab?: string | null; + codCausRit?: string | null; + codCconCosti?: string | null; + codCconRicavi?: string | null; + codClie?: string | null; + codDivi?: string | null; + codDtipSped?: string | null; + codPaga?: string | null; + codVvet?: string | null; + excludedColumns?: string[] | null; + flagAutofattura?: string | null; + flagForfettario?: string | null; + flagStato?: string | null; + ggChiudiStralci?: number | null; + gtbAnag?: GtbAnag | null; + iban?: string | null; + mesiEsclusi?: string | null; + mezzo?: string | null; + mmDecor?: string | null; + noteOrdine?: string | null; + parent?: any | null; + porto?: string | null; + queryTimeoutSeconds?: number | null; + rifBancaForn?: string | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "atb_forn"; + vtbDest?: VtbDest[] | null; + + constructor(data: AtbForn) { + super(data); + this.agenziaBanca = data.agenziaBanca; + this.applicationName = data.applicationName; + this.arlFogm = data.arlFogm; + this.atbList = data.atbList; + this.causale = data.causale; + this.codAbi = data.codAbi; + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codAtip = data.codAtip; + this.codBanc = data.codBanc; + this.codBancAzi = data.codBancAzi; + this.codBic = data.codBic; + this.codCab = data.codCab; + this.codCausRit = data.codCausRit; + this.codCconCosti = data.codCconCosti; + this.codCconRicavi = data.codCconRicavi; + this.codClie = data.codClie; + this.codDivi = data.codDivi; + this.codDtipSped = data.codDtipSped; + this.codPaga = data.codPaga; + this.codVvet = data.codVvet; + this.excludedColumns = data.excludedColumns; + this.flagAutofattura = data.flagAutofattura; + this.flagForfettario = data.flagForfettario; + this.flagStato = data.flagStato; + this.ggChiudiStralci = data.ggChiudiStralci; + this.gtbAnag = data.gtbAnag; + this.iban = data.iban; + this.mesiEsclusi = data.mesiEsclusi; + this.mezzo = data.mezzo; + this.mmDecor = data.mmDecor; + this.noteOrdine = data.noteOrdine; + this.parent = data.parent; + this.porto = data.porto; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rifBancaForn = data.rifBancaForn; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.vtbDest = data.vtbDest; + } +} + +export class AtbGriglie extends EntityBase { + atbGriglieArt?: AtbGriglieArt[] | null; + codAlis?: string | null; + codMdep?: string | null; + dataValidita?: Date | null; + note?: string | null; + type: "atb_griglie"; + + constructor(data: AtbGriglie) { + super(data); + this.atbGriglieArt = data.atbGriglieArt; + this.codAlis = data.codAlis; + this.codMdep = data.codMdep; + this.dataValidita = data.dataValidita; + this.note = data.note; + } +} + +export class AtbGriglieArt extends EntityBase { + codAlis?: string | null; + codArtFor?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataValidita?: Date | null; + tipoAssortimento?: string | null; + tipoVariazione?: string | null; + type: "atb_griglie_art"; + + constructor(data: AtbGriglieArt) { + super(data); + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataValidita = data.dataValidita; + this.tipoAssortimento = data.tipoAssortimento; + this.tipoVariazione = data.tipoVariazione; + } +} + +export class AtbList extends EntityBase { + codAlis?: string | null; + codDiviAcq?: string | null; + descrizione?: string | null; + diacod?: string | null; + expressionCosto?: string | null; + flagAttivo?: string | null; + flagEscludiDomenica?: string | null; + flagEscludiFestivi?: string | null; + flagEscludiSabato?: string | null; + flagFattResi?: string | null; + flagPrzBaseLisv?: string | null; + mtbLisa?: MtbLisa[] | null; + partIvaForn?: string | null; + ragSocForn?: string | null; + tipoAzione?: string | null; + tipoCalcPrz?: number | null; + type: "atb_list"; + valoreMinOrd?: number | null; + + constructor(data: AtbList) { + super(data); + this.codAlis = data.codAlis; + this.codDiviAcq = data.codDiviAcq; + this.descrizione = data.descrizione; + this.diacod = data.diacod; + this.expressionCosto = data.expressionCosto; + this.flagAttivo = data.flagAttivo; + this.flagEscludiDomenica = data.flagEscludiDomenica; + this.flagEscludiFestivi = data.flagEscludiFestivi; + this.flagEscludiSabato = data.flagEscludiSabato; + this.flagFattResi = data.flagFattResi; + this.flagPrzBaseLisv = data.flagPrzBaseLisv; + this.mtbLisa = data.mtbLisa; + this.partIvaForn = data.partIvaForn; + this.ragSocForn = data.ragSocForn; + this.tipoAzione = data.tipoAzione; + this.tipoCalcPrz = data.tipoCalcPrz; + this.valoreMinOrd = data.valoreMinOrd; + } +} + +export class AtbListData extends EntityBase { + arlListDataAttach?: ArlListDataAttach[] | null; + atbPromoDepo?: AtbPromoDepo[] | null; + codAlis?: string | null; + codDiviAcq?: string | null; + codPromo?: string | null; + codVage?: string | null; + codVvet?: string | null; + costoTrasp?: number | null; + dataFine?: Date | null; + dataFineSellOut?: Date | null; + dataIniz?: Date | null; + dataInizSellOut?: Date | null; + dataIns?: Date | null; + dataMod?: Date | null; + flagRiversaPromo?: boolean | null; + flagTipoPromo?: string | null; + inseritoDa?: string | null; + modificatoDa?: string | null; + mtbLisaData?: MtbLisaData[] | null; + mtbLisaPromo?: MtbLisaPromo[] | null; + note?: string | null; + stbFilesAttached?: StbFilesAttached[] | null; + type: "atb_list_data"; + versione?: number | null; + + constructor(data: AtbListData) { + super(data); + this.arlListDataAttach = data.arlListDataAttach; + this.atbPromoDepo = data.atbPromoDepo; + this.codAlis = data.codAlis; + this.codDiviAcq = data.codDiviAcq; + this.codPromo = data.codPromo; + this.codVage = data.codVage; + this.codVvet = data.codVvet; + this.costoTrasp = data.costoTrasp; + this.dataFine = data.dataFine; + this.dataFineSellOut = data.dataFineSellOut; + this.dataIniz = data.dataIniz; + this.dataInizSellOut = data.dataInizSellOut; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.flagRiversaPromo = data.flagRiversaPromo; + this.flagTipoPromo = data.flagTipoPromo; + this.inseritoDa = data.inseritoDa; + this.modificatoDa = data.modificatoDa; + this.mtbLisaData = data.mtbLisaData; + this.mtbLisaPromo = data.mtbLisaPromo; + this.note = data.note; + this.stbFilesAttached = data.stbFilesAttached; + this.versione = data.versione; + } +} + +export class AtbListImp extends EntityBase { + codAliq?: string | null; + codAlis?: string | null; + codArtForn?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + dataIniz?: Date | null; + descrizione?: string | null; + errorImp?: string | null; + idRiga?: number | null; + idVersione?: string | null; + perc1?: number | null; + perc2?: number | null; + perc3?: number | null; + perc4?: number | null; + pesoKg?: number | null; + prefForn?: string | null; + przAcq?: number | null; + qtaConf?: number | null; + qtaMinOrd?: number | null; + type: "atb_list_imp"; + untMis?: string | null; + + constructor(data: AtbListImp) { + super(data); + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codArtForn = data.codArtForn; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.dataIniz = data.dataIniz; + this.descrizione = data.descrizione; + this.errorImp = data.errorImp; + this.idRiga = data.idRiga; + this.idVersione = data.idVersione; + this.perc1 = data.perc1; + this.perc2 = data.perc2; + this.perc3 = data.perc3; + this.perc4 = data.perc4; + this.pesoKg = data.pesoKg; + this.prefForn = data.prefForn; + this.przAcq = data.przAcq; + this.qtaConf = data.qtaConf; + this.qtaMinOrd = data.qtaMinOrd; + this.untMis = data.untMis; + } +} + +export class AtbListImpNoPref extends EntityBase { + codAliq?: string | null; + codAlis?: string | null; + codArtForn?: string | null; + codCconCosti?: string | null; + codCconRicavi?: string | null; + codMart?: string | null; + codMartEqui?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + dataIniz?: Date | null; + descrizione?: string | null; + errorImp?: string | null; + flagAggAnag?: boolean | null; + flagAggPeso?: boolean | null; + flagAggQtaCnf?: boolean | null; + flagAggQtaMinOrd?: boolean | null; + flagAttivaArt?: boolean | null; + flagFornPref?: string | null; + flagQtaCnfFissa?: string | null; + flagRapConvVariabile?: string | null; + idRiga?: number | null; + noteListino?: string | null; + perc1?: number | null; + perc2?: number | null; + perc3?: number | null; + perc4?: number | null; + pesoKg?: number | null; + przAcq?: number | null; + qtaConf?: number | null; + qtaMinOrd?: number | null; + qtaMultiplaOrdinabile?: number | null; + type: "atb_list_imp_no_pref"; + untMis?: string | null; + untMis2?: string | null; + userName?: string | null; + + constructor(data: AtbListImpNoPref) { + super(data); + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codArtForn = data.codArtForn; + this.codCconCosti = data.codCconCosti; + this.codCconRicavi = data.codCconRicavi; + this.codMart = data.codMart; + this.codMartEqui = data.codMartEqui; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.dataIniz = data.dataIniz; + this.descrizione = data.descrizione; + this.errorImp = data.errorImp; + this.flagAggAnag = data.flagAggAnag; + this.flagAggPeso = data.flagAggPeso; + this.flagAggQtaCnf = data.flagAggQtaCnf; + this.flagAggQtaMinOrd = data.flagAggQtaMinOrd; + this.flagAttivaArt = data.flagAttivaArt; + this.flagFornPref = data.flagFornPref; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagRapConvVariabile = data.flagRapConvVariabile; + this.idRiga = data.idRiga; + this.noteListino = data.noteListino; + this.perc1 = data.perc1; + this.perc2 = data.perc2; + this.perc3 = data.perc3; + this.perc4 = data.perc4; + this.pesoKg = data.pesoKg; + this.przAcq = data.przAcq; + this.qtaConf = data.qtaConf; + this.qtaMinOrd = data.qtaMinOrd; + this.qtaMultiplaOrdinabile = data.qtaMultiplaOrdinabile; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + this.userName = data.userName; + } +} + +export class AtbListLogImport extends EntityBase { + codAlis?: string | null; + codArtFor?: string | null; + codBarre?: string | null; + colliPedana?: number | null; + countArtFor?: number | null; + dataFile?: Date | null; + dataImport?: Date | null; + dataIniz?: Date | null; + dataInizLisa?: Date | null; + descrizione?: string | null; + formatoImport?: string | null; + id?: number | null; + przAcq?: number | null; + przVenSug?: number | null; + qtaCnf?: number | null; + tipoImport?: string | null; + tipoVariazione?: string | null; + type: "atb_list_log_import"; + untMisAcq?: string | null; + valPromo?: number | null; + + constructor(data: AtbListLogImport) { + super(data); + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codBarre = data.codBarre; + this.colliPedana = data.colliPedana; + this.countArtFor = data.countArtFor; + this.dataFile = data.dataFile; + this.dataImport = data.dataImport; + this.dataIniz = data.dataIniz; + this.dataInizLisa = data.dataInizLisa; + this.descrizione = data.descrizione; + this.formatoImport = data.formatoImport; + this.id = data.id; + this.przAcq = data.przAcq; + this.przVenSug = data.przVenSug; + this.qtaCnf = data.qtaCnf; + this.tipoImport = data.tipoImport; + this.tipoVariazione = data.tipoVariazione; + this.untMisAcq = data.untMisAcq; + this.valPromo = data.valPromo; + } +} + +export class AtbOffr extends EntityBase { + annoOff?: number | null; + codArtForn?: string | null; + codJcom?: string | null; + codMart?: string | null; + dataCons?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + idContratto?: number | null; + note?: string | null; + numOff?: number | null; + percProv?: number | null; + qtaCnf?: number | null; + qtaDoc?: number | null; + qtaOff?: number | null; + qtaOrd?: number | null; + rapConv?: number | null; + rigaOff?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + statoRichiesta?: number | null; + type: "atb_offr"; + untMis?: string | null; + valProv?: number | null; + valUnt?: number | null; + + constructor(data: AtbOffr) { + super(data); + this.annoOff = data.annoOff; + this.codArtForn = data.codArtForn; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataCons = data.dataCons; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.idContratto = data.idContratto; + this.note = data.note; + this.numOff = data.numOff; + this.percProv = data.percProv; + this.qtaCnf = data.qtaCnf; + this.qtaDoc = data.qtaDoc; + this.qtaOff = data.qtaOff; + this.qtaOrd = data.qtaOrd; + this.rapConv = data.rapConv; + this.rigaOff = data.rigaOff; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.statoRichiesta = data.statoRichiesta; + this.untMis = data.untMis; + this.valProv = data.valProv; + this.valUnt = data.valUnt; + } +} + +export class AtbOfft extends EntityBase { + annoOff?: number | null; + atbOffr?: AtbOffr[] | null; + cap?: string | null; + citta?: string | null; + codAlis?: string | null; + codAnag?: string | null; + codDivi?: string | null; + codFisc?: string | null; + codMdep?: string | null; + codVage?: string | null; + codVvet?: string | null; + compilatoDa?: string | null; + dataFine?: Date | null; + dataIniz?: Date | null; + dataOff?: Date | null; + eMail?: string | null; + fax?: string | null; + flagChiudiAScad?: boolean | null; + idContratto?: number | null; + indirizzo?: string | null; + nazione?: string | null; + note?: string | null; + numOff?: number | null; + partIva?: string | null; + personaRif?: string | null; + prov?: string | null; + ragSoc?: string | null; + responsabileAcq?: string | null; + rifFabbisogno?: string | null; + rifOfferta?: string | null; + statoOfferta?: AtbOfftStatoOfferta | null; + telefono?: string | null; + type: "atb_offt"; + + constructor(data: AtbOfft) { + super(data); + this.annoOff = data.annoOff; + this.atbOffr = data.atbOffr; + this.cap = data.cap; + this.citta = data.citta; + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codFisc = data.codFisc; + this.codMdep = data.codMdep; + this.codVage = data.codVage; + this.codVvet = data.codVvet; + this.compilatoDa = data.compilatoDa; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.dataOff = data.dataOff; + this.eMail = data.eMail; + this.fax = data.fax; + this.flagChiudiAScad = data.flagChiudiAScad; + this.idContratto = data.idContratto; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.note = data.note; + this.numOff = data.numOff; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.responsabileAcq = data.responsabileAcq; + this.rifFabbisogno = data.rifFabbisogno; + this.rifOfferta = data.rifOfferta; + this.statoOfferta = data.statoOfferta; + this.telefono = data.telefono; + } +} + +export class AtbPianoLogistico extends EntityBase { + atbPianoLogisticoDet?: AtbPianoLogisticoDet[] | null; + codAlis?: string | null; + dataValidita?: Date | null; + idPiano?: number | null; + note?: string | null; + type: "atb_piano_logistico"; + + constructor(data: AtbPianoLogistico) { + super(data); + this.atbPianoLogisticoDet = data.atbPianoLogisticoDet; + this.codAlis = data.codAlis; + this.dataValidita = data.dataValidita; + this.idPiano = data.idPiano; + this.note = data.note; + } +} + +export class AtbPianoLogisticoDet extends EntityBase { + codMdep?: string | null; + ggCons?: number | null; + ggOrd?: number | null; + idPiano?: number | null; + idRiga?: number | null; + noteConsegna?: string | null; + oraMaxOrd?: Date | null; + oraScarico?: Date | null; + type: "atb_piano_logistico_det"; + + constructor(data: AtbPianoLogisticoDet) { + super(data); + this.codMdep = data.codMdep; + this.ggCons = data.ggCons; + this.ggOrd = data.ggOrd; + this.idPiano = data.idPiano; + this.idRiga = data.idRiga; + this.noteConsegna = data.noteConsegna; + this.oraMaxOrd = data.oraMaxOrd; + this.oraScarico = data.oraScarico; + } +} + +export class AtbPromoDepo extends EntityBase { + codAlis?: string | null; + codMdep?: string | null; + type: "atb_promo_depo"; + versione?: number | null; + + constructor(data: AtbPromoDepo) { + super(data); + this.codAlis = data.codAlis; + this.codMdep = data.codMdep; + this.versione = data.versione; + } +} + +export class AtbProvenienza extends EntityBase { + codAnag?: string | null; + codVdes?: string | null; + idProvenienza?: string | null; + produttore?: string | null; + provenienza?: string | null; + type: "atb_provenienza"; + + constructor(data: AtbProvenienza) { + super(data); + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.idProvenienza = data.idProvenienza; + this.produttore = data.produttore; + this.provenienza = data.provenienza; + } +} + +export class AtbSchedaAccr extends EntityBase { + atbProvenienza?: AtbProvenienza | null; + capiN?: number | null; + capiPeso?: number | null; + codAnagAllev?: string | null; + codAnagCli?: string | null; + codAnagMed?: string | null; + codDtip?: string | null; + codMart?: string | null; + codVdesAllev?: string | null; + costoMed?: number | null; + costoMed2?: number | null; + costoVivo?: number | null; + dataScheda?: Date | null; + flagConforme?: string | null; + flagCoop?: string | null; + flagEstero?: string | null; + flagPagato?: string | null; + flagRegistrato?: string | null; + flagTerzi?: string | null; + idProvenienza?: string | null; + idRiga?: number | null; + idScheda?: string | null; + mediatore?: string | null; + numDoc?: number | null; + serDoc?: string | null; + type: "atb_scheda_accr"; + um2CostoMed?: string | null; + umCostoMed?: string | null; + umCostoVivo?: string | null; + + constructor(data: AtbSchedaAccr) { + super(data); + this.atbProvenienza = data.atbProvenienza; + this.capiN = data.capiN; + this.capiPeso = data.capiPeso; + this.codAnagAllev = data.codAnagAllev; + this.codAnagCli = data.codAnagCli; + this.codAnagMed = data.codAnagMed; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.codVdesAllev = data.codVdesAllev; + this.costoMed = data.costoMed; + this.costoMed2 = data.costoMed2; + this.costoVivo = data.costoVivo; + this.dataScheda = data.dataScheda; + this.flagConforme = data.flagConforme; + this.flagCoop = data.flagCoop; + this.flagEstero = data.flagEstero; + this.flagPagato = data.flagPagato; + this.flagRegistrato = data.flagRegistrato; + this.flagTerzi = data.flagTerzi; + this.idProvenienza = data.idProvenienza; + this.idRiga = data.idRiga; + this.idScheda = data.idScheda; + this.mediatore = data.mediatore; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.um2CostoMed = data.um2CostoMed; + this.umCostoMed = data.umCostoMed; + this.umCostoVivo = data.umCostoVivo; + } +} + +export class AtbSchedaAcct extends EntityBase { + annotazioni?: string | null; + atbSchedaAccr?: AtbSchedaAccr[] | null; + autista?: string | null; + codAnagTrasp?: string | null; + costo2TraspTot?: number | null; + costoTrasp?: number | null; + costoTrasp2?: number | null; + costoTraspTot?: number | null; + dataScheda?: Date | null; + flagRegistrato?: string | null; + idScheda?: string | null; + note?: string | null; + numLotto?: number | null; + pesoLordo?: number | null; + pesoNetto?: number | null; + tara?: number | null; + trasportatore?: string | null; + type: "atb_scheda_acct"; + um2CostoTrasp?: string | null; + umCostoTrasp?: string | null; + + constructor(data: AtbSchedaAcct) { + super(data); + this.annotazioni = data.annotazioni; + this.atbSchedaAccr = data.atbSchedaAccr; + this.autista = data.autista; + this.codAnagTrasp = data.codAnagTrasp; + this.costo2TraspTot = data.costo2TraspTot; + this.costoTrasp = data.costoTrasp; + this.costoTrasp2 = data.costoTrasp2; + this.costoTraspTot = data.costoTraspTot; + this.dataScheda = data.dataScheda; + this.flagRegistrato = data.flagRegistrato; + this.idScheda = data.idScheda; + this.note = data.note; + this.numLotto = data.numLotto; + this.pesoLordo = data.pesoLordo; + this.pesoNetto = data.pesoNetto; + this.tara = data.tara; + this.trasportatore = data.trasportatore; + this.um2CostoTrasp = data.um2CostoTrasp; + this.umCostoTrasp = data.umCostoTrasp; + } +} + +export class AtbTipi extends EntityBase { + codAtip?: string | null; + descrizione?: string | null; + type: "atb_tipi"; + + constructor(data: AtbTipi) { + super(data); + this.codAtip = data.codAtip; + this.descrizione = data.descrizione; + } +} + +export class AttachmentDTO { + fileContent?: any | null; + fileName?: string | null; + fileSize?: number | null; + mimeType?: string | null; + + constructor(data: AttachmentDTO) { + this.fileContent = data.fileContent; + this.fileName = data.fileName; + this.fileSize = data.fileSize; + this.mimeType = data.mimeType; + } +} + +export class AttivitaDTO { + activityDescription?: string | null; + activityId?: string | null; + activityResultId?: string | null; + activityTypeId?: string | null; + codAnag?: string | null; + codJcom?: string | null; + codJfas?: string | null; + dataOrd?: Date | null; + effectiveEndtime?: Date | null; + effectiveTime?: Date | null; + estimatedEndtime?: Date | null; + estimatedTime?: Date | null; + flagTipologia?: string | null; + gestione?: string | null; + note?: string | null; + numOrd?: number | null; + oraModAct?: Date | null; + oraViewAct?: Date | null; + parentActivityId?: string | null; + rapportini?: RapportinoDTO[] | null; + tipoAnag?: string | null; + userCreator?: string | null; + userModifier?: string | null; + userName?: string | null; + + constructor(data: AttivitaDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityResultId = data.activityResultId; + this.activityTypeId = data.activityTypeId; + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.dataOrd = data.dataOrd; + this.effectiveEndtime = data.effectiveEndtime; + this.effectiveTime = data.effectiveTime; + this.estimatedEndtime = data.estimatedEndtime; + this.estimatedTime = data.estimatedTime; + this.flagTipologia = data.flagTipologia; + this.gestione = data.gestione; + this.note = data.note; + this.numOrd = data.numOrd; + this.oraModAct = data.oraModAct; + this.oraViewAct = data.oraViewAct; + this.parentActivityId = data.parentActivityId; + this.rapportini = data.rapportini; + this.tipoAnag = data.tipoAnag; + this.userCreator = data.userCreator; + this.userModifier = data.userModifier; + this.userName = data.userName; + } +} + +export class AttributeDTO { + attributo?: string | null; + codice?: string | null; + descr_attributo?: string | null; + descrizione?: string | null; + unicoPerVariante?: string | null; + unico_per_variante?: string | null; + + constructor(data: AttributeDTO) { + this.attributo = data.attributo; + this.codice = data.codice; + this.descr_attributo = data.descr_attributo; + this.descrizione = data.descrizione; + this.unicoPerVariante = data.unicoPerVariante; + this.unico_per_variante = data.unico_per_variante; + } +} + +export class AttributoDTO { + name?: string | null; + value?: string | null; + variation?: boolean | null; + + constructor(data: AttributoDTO) { + this.name = data.name; + this.value = data.value; + this.variation = data.variation; + } +} + +export class AuthTokenDepoDetails { + codJfas?: string | null; + codMdep?: string | null; + descrizione?: string | null; + + constructor(data: AuthTokenDepoDetails) { + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + } +} + +export class AuthTokenDetails { + deviceId?: number | null; + profileDb?: string | null; + profilesData?: { [index: string]: AuthTokenProfileDetails } | null; + userDTO?: UserDTO | null; + + constructor(data: AuthTokenDetails) { + this.deviceId = data.deviceId; + this.profileDb = data.profileDb; + this.profilesData = data.profilesData; + this.userDTO = data.userDTO; + } +} + +export class AuthTokenProfileDetails { + defaultDepo?: AuthTokenDepoDetails | null; + + constructor(data: AuthTokenProfileDetails) { + this.defaultDepo = data.defaultDepo; + } +} + +export interface AutoCloseable { +} + +export class AutomatedOperationsWrapper { + operations?: { [P in AutomatedOperationTypeEnum]?: BaseAutomatedOperationDTO[] } | null; + + constructor(data: AutomatedOperationsWrapper) { + this.operations = data.operations; + } +} + +export class AvailableClassMercDTO { + codMgrp?: string | null; + codMsgr?: string[] | null; + + constructor(data: AvailableClassMercDTO) { + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + } +} + +export class AvailableCodMdepDTO { + codMdep?: string | null; + descrizione?: string | null; + + constructor(data: AvailableCodMdepDTO) { + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + } +} + +export class AvailablePosizioneDTO { + codMdep?: string | null; + descrizione?: string | null; + flagLineaProduzione?: string | null; + flagMonoCollo?: string | null; + posizione?: string | null; + tipoMagazAutomatico?: string | null; + + constructor(data: AvailablePosizioneDTO) { + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + this.flagLineaProduzione = data.flagLineaProduzione; + this.flagMonoCollo = data.flagMonoCollo; + this.posizione = data.posizione; + this.tipoMagazAutomatico = data.tipoMagazAutomatico; + } +} + +export class AvanzamentoLavoriDTO { + codJfas?: string | null; + dataOrd?: string | null; + dataScad?: string | null; + faseIntermidia?: string | null; + flagStatoAttuale?: number | null; + flagStatoSel?: number | null; + flagTerminaLavorazione?: string | null; + gestione?: string | null; + idRiga?: number | null; + idStep?: number | null; + note?: string | null; + noteChiusura?: string | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaLav?: number | null; + rapConvLav?: number | null; + untMisLav?: string | null; + + constructor(data: AvanzamentoLavoriDTO) { + this.codJfas = data.codJfas; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.faseIntermidia = data.faseIntermidia; + this.flagStatoAttuale = data.flagStatoAttuale; + this.flagStatoSel = data.flagStatoSel; + this.flagTerminaLavorazione = data.flagTerminaLavorazione; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.idStep = data.idStep; + this.note = data.note; + this.noteChiusura = data.noteChiusura; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaLav = data.qtaLav; + this.rapConvLav = data.rapConvLav; + this.untMisLav = data.untMisLav; + } +} + +export class Azienda extends EntityBase { + annoAttuale?: number | null; + annoContab?: number | null; + annoMagaz?: number | null; + applicationNameEnum?: ApplicationName | null; + cap?: string | null; + capitaleSoc?: number | null; + cciaa?: string | null; + citta?: string | null; + codAteco?: string | null; + codCconQuadra?: string | null; + codDiviContab?: string | null; + codFiscale?: string | null; + codIvaOmaggi?: string | null; + codRuop?: string | null; + codSia?: string | null; + dataFineMsg?: Date | null; + dataInizMsg?: Date | null; + dataUpdSw?: Date | null; + dbDistributore?: string | null; + eMail?: string | null; + emailSdi?: string | null; + flagFattDiff?: string | null; + flagPersFisica?: string | null; + flagRegimeSpecialeIva?: string | null; + flagSetIvaOmaggi?: string | null; + flagTipoFatturazione?: string | null; + fromEmailSdi?: string | null; + ggUtili?: number | null; + giornoInizAnnoFisc?: number | null; + idCreditoreSepa?: string | null; + indirizzo?: string | null; + iscRegImp?: string | null; + lastUpgDb?: Date | null; + lastUpgDbMenu?: string | null; + lastUpgQc?: string | null; + lastUpgSp?: string | null; + liquidazioniIva?: string | null; + logoB64?: string | null; + logoFile?: string | null; + meseInizAnnoFisc?: number | null; + messaggioDoc?: string | null; + messaggioPrivacy?: string | null; + nazione?: string | null; + nomeDitta?: string | null; + numFax?: string | null; + numTel?: string | null; + partIva?: string | null; + persFisicaCodFisc?: string | null; + persFisicaCognome?: string | null; + persFisicaComuneNascita?: string | null; + persFisicaDataNascita?: Date | null; + persFisicaNome?: string | null; + persFisicaProvNascita?: string | null; + persFisicaSesso?: string | null; + prefissoEan?: string | null; + progressivoSscc?: number | null; + prov?: string | null; + ragSocMod?: string | null; + rapprLegaleCodFisc?: string | null; + rapprLegaleCognome?: string | null; + rapprLegaleComuneNascita?: string | null; + rapprLegaleDataNascita?: Date | null; + rapprLegaleNome?: string | null; + rapprLegaleProvNascita?: string | null; + rapprLegaleSesso?: string | null; + regFisc?: string | null; + ribaRSoc1?: string | null; + ribaRSoc2?: string | null; + ribaRSocBreve?: string | null; + sedeAmm?: string | null; + settRitardoAnno?: number | null; + sitoWeb?: string | null; + sollHeadPersonal?: string | null; + sollLeft?: number | null; + sollTop?: number | null; + statoLiquidazione?: string | null; + tipoAzienda?: string | null; + tribunale?: string | null; + type: "azienda"; + ultDareAv?: number | null; + ultDataGio?: Date | null; + ultNumGio?: number | null; + + constructor(data: Azienda) { + super(data); + this.annoAttuale = data.annoAttuale; + this.annoContab = data.annoContab; + this.annoMagaz = data.annoMagaz; + this.applicationNameEnum = data.applicationNameEnum; + this.cap = data.cap; + this.capitaleSoc = data.capitaleSoc; + this.cciaa = data.cciaa; + this.citta = data.citta; + this.codAteco = data.codAteco; + this.codCconQuadra = data.codCconQuadra; + this.codDiviContab = data.codDiviContab; + this.codFiscale = data.codFiscale; + this.codIvaOmaggi = data.codIvaOmaggi; + this.codRuop = data.codRuop; + this.codSia = data.codSia; + this.dataFineMsg = data.dataFineMsg; + this.dataInizMsg = data.dataInizMsg; + this.dataUpdSw = data.dataUpdSw; + this.dbDistributore = data.dbDistributore; + this.eMail = data.eMail; + this.emailSdi = data.emailSdi; + this.flagFattDiff = data.flagFattDiff; + this.flagPersFisica = data.flagPersFisica; + this.flagRegimeSpecialeIva = data.flagRegimeSpecialeIva; + this.flagSetIvaOmaggi = data.flagSetIvaOmaggi; + this.flagTipoFatturazione = data.flagTipoFatturazione; + this.fromEmailSdi = data.fromEmailSdi; + this.ggUtili = data.ggUtili; + this.giornoInizAnnoFisc = data.giornoInizAnnoFisc; + this.idCreditoreSepa = data.idCreditoreSepa; + this.indirizzo = data.indirizzo; + this.iscRegImp = data.iscRegImp; + this.lastUpgDb = data.lastUpgDb; + this.lastUpgDbMenu = data.lastUpgDbMenu; + this.lastUpgQc = data.lastUpgQc; + this.lastUpgSp = data.lastUpgSp; + this.liquidazioniIva = data.liquidazioniIva; + this.logoB64 = data.logoB64; + this.logoFile = data.logoFile; + this.meseInizAnnoFisc = data.meseInizAnnoFisc; + this.messaggioDoc = data.messaggioDoc; + this.messaggioPrivacy = data.messaggioPrivacy; + this.nazione = data.nazione; + this.nomeDitta = data.nomeDitta; + this.numFax = data.numFax; + this.numTel = data.numTel; + this.partIva = data.partIva; + this.persFisicaCodFisc = data.persFisicaCodFisc; + this.persFisicaCognome = data.persFisicaCognome; + this.persFisicaComuneNascita = data.persFisicaComuneNascita; + this.persFisicaDataNascita = data.persFisicaDataNascita; + this.persFisicaNome = data.persFisicaNome; + this.persFisicaProvNascita = data.persFisicaProvNascita; + this.persFisicaSesso = data.persFisicaSesso; + this.prefissoEan = data.prefissoEan; + this.progressivoSscc = data.progressivoSscc; + this.prov = data.prov; + this.ragSocMod = data.ragSocMod; + this.rapprLegaleCodFisc = data.rapprLegaleCodFisc; + this.rapprLegaleCognome = data.rapprLegaleCognome; + this.rapprLegaleComuneNascita = data.rapprLegaleComuneNascita; + this.rapprLegaleDataNascita = data.rapprLegaleDataNascita; + this.rapprLegaleNome = data.rapprLegaleNome; + this.rapprLegaleProvNascita = data.rapprLegaleProvNascita; + this.rapprLegaleSesso = data.rapprLegaleSesso; + this.regFisc = data.regFisc; + this.ribaRSoc1 = data.ribaRSoc1; + this.ribaRSoc2 = data.ribaRSoc2; + this.ribaRSocBreve = data.ribaRSocBreve; + this.sedeAmm = data.sedeAmm; + this.settRitardoAnno = data.settRitardoAnno; + this.sitoWeb = data.sitoWeb; + this.sollHeadPersonal = data.sollHeadPersonal; + this.sollLeft = data.sollLeft; + this.sollTop = data.sollTop; + this.statoLiquidazione = data.statoLiquidazione; + this.tipoAzienda = data.tipoAzienda; + this.tribunale = data.tribunale; + this.ultDareAv = data.ultDareAv; + this.ultDataGio = data.ultDataGio; + this.ultNumGio = data.ultNumGio; + } +} + +export class BaioneColliDTO { + BARCODE?: string | null; + NUM_COLLO?: number | null; + NUM_ORD?: number | null; + PESO_KG?: number | null; + POSIZIONE?: string | null; + QTA?: number | null; + TIPO_COLLO?: string | null; + + constructor(data: BaioneColliDTO) { + this.BARCODE = data.BARCODE; + this.NUM_COLLO = data.NUM_COLLO; + this.NUM_ORD = data.NUM_ORD; + this.PESO_KG = data.PESO_KG; + this.POSIZIONE = data.POSIZIONE; + this.QTA = data.QTA; + this.TIPO_COLLO = data.TIPO_COLLO; + } +} + +export class BarcodeOrdiniAcquistoDTO { + cod_barre?: string | null; + cod_mart?: string | null; + tipo_art?: string | null; + + constructor(data: BarcodeOrdiniAcquistoDTO) { + this.cod_barre = data.cod_barre; + this.cod_mart = data.cod_mart; + this.tipo_art = data.tipo_art; + } +} + +export class BaseAutomatedOperationDTO implements IAutomatedOperation { + active?: boolean | null; + id?: string | null; + name?: string | null; + + constructor(data: BaseAutomatedOperationDTO) { + this.active = data.active; + this.id = data.id; + this.name = data.name; + } +} + +export class BaseDirectoryOperationDTO extends BaseAutomatedOperationDTO { + directory?: string | null; + filePattern?: string | null; + + constructor(data: BaseDirectoryOperationDTO) { + super(data); + this.directory = data.directory; + this.filePattern = data.filePattern; + } +} + +export class BasePanelAnswerDTO { + dto?: any | null; + esito?: EsitoType | null; + message?: string | null; + + constructor(data: BasePanelAnswerDTO) { + this.dto = data.dto; + this.esito = data.esito; + this.message = data.message; + } +} + +export class BaseScheduledOperationDTO extends BaseAutomatedOperationDTO { + cronTrigger?: string | null; + + constructor(data: BaseScheduledOperationDTO) { + super(data); + this.cronTrigger = data.cronTrigger; + } +} + +export interface Blob extends Annotation { +} + +export class BollaAccettazioneDTO { + codAnag?: string | null; + codDtip?: string | null; + codJcom?: string | null; + dataDoc?: Date | null; + descrizioneListino?: string | null; + listino?: string | null; + numDoc?: number | null; + ragSoc?: string | null; + serDoc?: string | null; + + constructor(data: BollaAccettazioneDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codJcom = data.codJcom; + this.dataDoc = data.dataDoc; + this.descrizioneListino = data.descrizioneListino; + this.listino = data.listino; + this.numDoc = data.numDoc; + this.ragSoc = data.ragSoc; + this.serDoc = data.serDoc; + } +} + +export class BrtAccountDTO { + password?: string | null; + userID?: string | null; + + constructor(data: BrtAccountDTO) { + this.password = data.password; + this.userID = data.userID; + } +} + +export class BrtBaseResponseDTO { + createResponse?: BrtCreateResponseDTO | null; + deleteResponse?: BrtDeleteResponseDTO | null; + + constructor(data: BrtBaseResponseDTO) { + this.createResponse = data.createResponse; + this.deleteResponse = data.deleteResponse; + } +} + +export class BrtCreateDataDTO { + alphanumericSenderReference?: string | null; + brtServiceCode?: string | null; + cashOnDelivery?: number | null; + cmrCode?: string | null; + codCurrency?: string | null; + codPaymentType?: string | null; + consigneeAddress?: string | null; + consigneeCity?: string | null; + consigneeClosingShift1_DayOfTheWeek?: string | null; + consigneeClosingShift1_PeriodOfTheDay?: string | null; + consigneeClosingShift2_DayOfTheWeek?: string | null; + consigneeClosingShift2_PeriodOfTheDay?: string | null; + consigneeCompanyName?: string | null; + consigneeContactName?: string | null; + consigneeCountryAbbreviationISOAlpha2?: string | null; + consigneeEMail?: string | null; + consigneeItalianFiscalCode?: string | null; + consigneeMobilePhoneNumber?: string | null; + consigneeProvinceAbbreviation?: string | null; + consigneeTelephone?: string | null; + consigneeVATNumber?: string | null; + consigneeVATNumberCountryISOAlpha2?: string | null; + consigneeZIPCode?: string | null; + declaredParcelValue?: number | null; + declaredParcelValueCurrency?: string | null; + deliveryDateRequired?: string | null; + deliveryFreightTypeCode?: string | null; + deliveryType?: string | null; + departureDepot?: string | null; + insuranceAmount?: number | null; + insuranceAmountCurrency?: string | null; + isAlertRequired?: number | null; + isCODMandatory?: string | null; + neighborNameMandatoryAuthorization?: string | null; + network?: string | null; + notes?: string | null; + numberOfParcels?: number | null; + numericSenderReference?: number | null; + originalSenderCompanyName?: string | null; + originalSenderCountryAbbreviationISOAlpha2?: string | null; + originalSenderZIPCode?: string | null; + packingListPDFFlagEmail?: string | null; + packingListPDFFlagPrint?: string | null; + packingListPDFName?: string | null; + palletType1?: string | null; + palletType1Number?: number | null; + palletType2?: string | null; + palletType2Number?: number | null; + parcelsHandlingCode?: string | null; + particularDelivery1?: string | null; + particularDelivery2?: string | null; + particularitiesDeliveryManagementCode?: string | null; + particularitiesHoldOnStockManagementCode?: string | null; + pinCodeMandatoryAuthorization?: string | null; + pricingConditionCode?: string | null; + pudoId?: string | null; + quantityToBeInvoiced?: number | null; + senderCustomerCode?: string | null; + senderParcelType?: string | null; + serviceType?: string | null; + variousParticularitiesManagementCode?: string | null; + volumeM3?: number | null; + weightKG?: number | null; + + constructor(data: BrtCreateDataDTO) { + this.alphanumericSenderReference = data.alphanumericSenderReference; + this.brtServiceCode = data.brtServiceCode; + this.cashOnDelivery = data.cashOnDelivery; + this.cmrCode = data.cmrCode; + this.codCurrency = data.codCurrency; + this.codPaymentType = data.codPaymentType; + this.consigneeAddress = data.consigneeAddress; + this.consigneeCity = data.consigneeCity; + this.consigneeClosingShift1_DayOfTheWeek = data.consigneeClosingShift1_DayOfTheWeek; + this.consigneeClosingShift1_PeriodOfTheDay = data.consigneeClosingShift1_PeriodOfTheDay; + this.consigneeClosingShift2_DayOfTheWeek = data.consigneeClosingShift2_DayOfTheWeek; + this.consigneeClosingShift2_PeriodOfTheDay = data.consigneeClosingShift2_PeriodOfTheDay; + this.consigneeCompanyName = data.consigneeCompanyName; + this.consigneeContactName = data.consigneeContactName; + this.consigneeCountryAbbreviationISOAlpha2 = data.consigneeCountryAbbreviationISOAlpha2; + this.consigneeEMail = data.consigneeEMail; + this.consigneeItalianFiscalCode = data.consigneeItalianFiscalCode; + this.consigneeMobilePhoneNumber = data.consigneeMobilePhoneNumber; + this.consigneeProvinceAbbreviation = data.consigneeProvinceAbbreviation; + this.consigneeTelephone = data.consigneeTelephone; + this.consigneeVATNumber = data.consigneeVATNumber; + this.consigneeVATNumberCountryISOAlpha2 = data.consigneeVATNumberCountryISOAlpha2; + this.consigneeZIPCode = data.consigneeZIPCode; + this.declaredParcelValue = data.declaredParcelValue; + this.declaredParcelValueCurrency = data.declaredParcelValueCurrency; + this.deliveryDateRequired = data.deliveryDateRequired; + this.deliveryFreightTypeCode = data.deliveryFreightTypeCode; + this.deliveryType = data.deliveryType; + this.departureDepot = data.departureDepot; + this.insuranceAmount = data.insuranceAmount; + this.insuranceAmountCurrency = data.insuranceAmountCurrency; + this.isAlertRequired = data.isAlertRequired; + this.isCODMandatory = data.isCODMandatory; + this.neighborNameMandatoryAuthorization = data.neighborNameMandatoryAuthorization; + this.network = data.network; + this.notes = data.notes; + this.numberOfParcels = data.numberOfParcels; + this.numericSenderReference = data.numericSenderReference; + this.originalSenderCompanyName = data.originalSenderCompanyName; + this.originalSenderCountryAbbreviationISOAlpha2 = data.originalSenderCountryAbbreviationISOAlpha2; + this.originalSenderZIPCode = data.originalSenderZIPCode; + this.packingListPDFFlagEmail = data.packingListPDFFlagEmail; + this.packingListPDFFlagPrint = data.packingListPDFFlagPrint; + this.packingListPDFName = data.packingListPDFName; + this.palletType1 = data.palletType1; + this.palletType1Number = data.palletType1Number; + this.palletType2 = data.palletType2; + this.palletType2Number = data.palletType2Number; + this.parcelsHandlingCode = data.parcelsHandlingCode; + this.particularDelivery1 = data.particularDelivery1; + this.particularDelivery2 = data.particularDelivery2; + this.particularitiesDeliveryManagementCode = data.particularitiesDeliveryManagementCode; + this.particularitiesHoldOnStockManagementCode = data.particularitiesHoldOnStockManagementCode; + this.pinCodeMandatoryAuthorization = data.pinCodeMandatoryAuthorization; + this.pricingConditionCode = data.pricingConditionCode; + this.pudoId = data.pudoId; + this.quantityToBeInvoiced = data.quantityToBeInvoiced; + this.senderCustomerCode = data.senderCustomerCode; + this.senderParcelType = data.senderParcelType; + this.serviceType = data.serviceType; + this.variousParticularitiesManagementCode = data.variousParticularitiesManagementCode; + this.volumeM3 = data.volumeM3; + this.weightKG = data.weightKG; + } +} + +export class BrtCreateResponseDTO { + alphanumericSenderReference?: string | null; + arrivalDepot?: string | null; + arrivalTerminal?: string | null; + consigneeAddress?: string | null; + consigneeCity?: string | null; + consigneeCompanyName?: string | null; + consigneeCountryAbbreviationBRT?: string | null; + consigneeProvinceAbbreviation?: string | null; + consigneeZIPCode?: string | null; + currentTimeUTC?: string | null; + deliveryZone?: string | null; + departureDepot?: number | null; + disclaimer?: string | null; + executionMessage?: BrtExecutionMessageResponseDTO | null; + labels?: BrtLabelsResponseDTO | null; + numberOfParcels?: number | null; + parcelNumberFrom?: string | null; + parcelNumberTo?: string | null; + senderCompanyName?: string | null; + senderProvinceAbbreviation?: string | null; + seriesNumber?: number | null; + serviceType?: string | null; + volumeM3?: number | null; + weightKG?: number | null; + + constructor(data: BrtCreateResponseDTO) { + this.alphanumericSenderReference = data.alphanumericSenderReference; + this.arrivalDepot = data.arrivalDepot; + this.arrivalTerminal = data.arrivalTerminal; + this.consigneeAddress = data.consigneeAddress; + this.consigneeCity = data.consigneeCity; + this.consigneeCompanyName = data.consigneeCompanyName; + this.consigneeCountryAbbreviationBRT = data.consigneeCountryAbbreviationBRT; + this.consigneeProvinceAbbreviation = data.consigneeProvinceAbbreviation; + this.consigneeZIPCode = data.consigneeZIPCode; + this.currentTimeUTC = data.currentTimeUTC; + this.deliveryZone = data.deliveryZone; + this.departureDepot = data.departureDepot; + this.disclaimer = data.disclaimer; + this.executionMessage = data.executionMessage; + this.labels = data.labels; + this.numberOfParcels = data.numberOfParcels; + this.parcelNumberFrom = data.parcelNumberFrom; + this.parcelNumberTo = data.parcelNumberTo; + this.senderCompanyName = data.senderCompanyName; + this.senderProvinceAbbreviation = data.senderProvinceAbbreviation; + this.seriesNumber = data.seriesNumber; + this.serviceType = data.serviceType; + this.volumeM3 = data.volumeM3; + this.weightKG = data.weightKG; + } +} + +export class BrtDeleteDataDTO { + alphanumericSenderReference?: string | null; + numericSenderReference?: number | null; + senderCustomerCode?: string | null; + + constructor(data: BrtDeleteDataDTO) { + this.alphanumericSenderReference = data.alphanumericSenderReference; + this.numericSenderReference = data.numericSenderReference; + this.senderCustomerCode = data.senderCustomerCode; + } +} + +export class BrtDeleteResponseDTO { + currentTimeUTC?: string | null; + executionMessage?: BrtExecutionMessageResponseDTO | null; + + constructor(data: BrtDeleteResponseDTO) { + this.currentTimeUTC = data.currentTimeUTC; + this.executionMessage = data.executionMessage; + } +} + +export class BrtExecutionMessageResponseDTO { + code?: number | null; + codeDesc?: string | null; + message?: string | null; + severity?: string | null; + + constructor(data: BrtExecutionMessageResponseDTO) { + this.code = data.code; + this.codeDesc = data.codeDesc; + this.message = data.message; + this.severity = data.severity; + } +} + +export class BrtLabelParametersDTO { + isBarcodeControlRowRequired?: string | null; + isBorderRequired?: string | null; + isLogoRequired?: string | null; + offsetX?: number | null; + offsetY?: number | null; + outputType?: string | null; + + constructor(data: BrtLabelParametersDTO) { + this.isBarcodeControlRowRequired = data.isBarcodeControlRowRequired; + this.isBorderRequired = data.isBorderRequired; + this.isLogoRequired = data.isLogoRequired; + this.offsetX = data.offsetX; + this.offsetY = data.offsetY; + this.outputType = data.outputType; + } +} + +export class BrtLabelResponseDTO { + dataLength?: number | null; + parcelID?: string | null; + parcelNumberGeoPost?: string | null; + stream?: string | null; + streamDigitalLabel?: string | null; + trackingByParcelID?: string | null; + + constructor(data: BrtLabelResponseDTO) { + this.dataLength = data.dataLength; + this.parcelID = data.parcelID; + this.parcelNumberGeoPost = data.parcelNumberGeoPost; + this.stream = data.stream; + this.streamDigitalLabel = data.streamDigitalLabel; + this.trackingByParcelID = data.trackingByParcelID; + } +} + +export class BrtLabelsResponseDTO { + label?: BrtLabelResponseDTO[] | null; + + constructor(data: BrtLabelsResponseDTO) { + this.label = data.label; + } +} + +export class BrtRootDTO { + account?: BrtAccountDTO | null; + + constructor(data: BrtRootDTO) { + this.account = data.account; + } +} + +export class BrtRootCreateDTO extends BrtRootDTO { + createData?: BrtCreateDataDTO | null; + isLabelRequired?: number | null; + labelParameters?: BrtLabelParametersDTO | null; + + constructor(data: BrtRootCreateDTO) { + super(data); + this.createData = data.createData; + this.isLabelRequired = data.isLabelRequired; + this.labelParameters = data.labelParameters; + } +} + +export class BrtRootDeleteDTO extends BrtRootDTO { + deleteData?: BrtDeleteDataDTO | null; + + constructor(data: BrtRootDeleteDTO) { + super(data); + this.deleteData = data.deleteData; + } +} + +export class BusinessPartner { + code?: string | null; + id?: string | null; + is_archived?: boolean | null; + is_customer?: boolean | null; + is_supplier?: boolean | null; + name?: string | null; + note?: string | null; + + constructor(data: BusinessPartner) { + this.code = data.code; + this.id = data.id; + this.is_archived = data.is_archived; + this.is_customer = data.is_customer; + this.is_supplier = data.is_supplier; + this.name = data.name; + this.note = data.note; + } +} + +export class BusinessPartnerData extends BusinessPartner { + codJcom?: string | null; + + constructor(data: BusinessPartnerData) { + super(data); + this.codJcom = data.codJcom; + } +} + +export class C2EArgDTO { + connection_string?: string | null; + dsn?: string | null; + f?: string | null; + ir?: string | null; + jparams?: string | null; + jrxml?: string | null; + json_mix?: string | null; + mail_attachname?: string | null; + mail_htmlcontent?: string | null; + mail_subject?: string | null; + o?: string | null; + p?: string | null; + profiledb?: string | null; + root?: string | null; + row?: string | null; + sql?: string | null; + u?: string | null; + wherecond?: string | null; + + constructor(data: C2EArgDTO) { + this.connection_string = data.connection_string; + this.dsn = data.dsn; + this.f = data.f; + this.ir = data.ir; + this.jparams = data.jparams; + this.jrxml = data.jrxml; + this.json_mix = data.json_mix; + this.mail_attachname = data.mail_attachname; + this.mail_htmlcontent = data.mail_htmlcontent; + this.mail_subject = data.mail_subject; + this.o = data.o; + this.p = data.p; + this.profiledb = data.profiledb; + this.root = data.root; + this.row = data.row; + this.sql = data.sql; + this.u = data.u; + this.wherecond = data.wherecond; + } +} + +export class CachedFileDto { + createdAt?: Date | null; + fileName?: string | null; + fullPath?: string | null; + persistant?: boolean | null; + + constructor(data: CachedFileDto) { + this.createdAt = data.createdAt; + this.fileName = data.fileName; + this.fullPath = data.fullPath; + this.persistant = data.persistant; + } +} + +export class CambioTipoDocDTO { + allegati?: Allegati[] | null; + codAnag?: string | null; + codDtip?: string | null; + codDtipNew?: string | null; + dataCmov?: Date | null; + dataDoc?: Date | null; + fullName?: string | null; + numDoc?: number | null; + numDocForn?: string | null; + ordinamento?: number | null; + serDoc?: string | null; + userName?: string | null; + + constructor(data: CambioTipoDocDTO) { + this.allegati = data.allegati; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codDtipNew = data.codDtipNew; + this.dataCmov = data.dataCmov; + this.dataDoc = data.dataDoc; + this.fullName = data.fullName; + this.numDoc = data.numDoc; + this.numDocForn = data.numDocForn; + this.ordinamento = data.ordinamento; + this.serDoc = data.serDoc; + this.userName = data.userName; + } +} + +export class CanULBeDeletedRequestDTO { + mtbColt?: MtbColt | null; + + constructor(data: CanULBeDeletedRequestDTO) { + this.mtbColt = data.mtbColt; + } +} + +export class CarelliGiacenzaProg extends EntityBase { + codMart?: string | null; + codMdep?: string | null; + dataIns?: Date | null; + dataReg?: Date | null; + idInventario?: number | null; + qtaCar?: number | null; + qtaIniz?: number | null; + qtaScar?: number | null; + tipoCar?: string | null; + type: "carelli_giacenza_prog"; + + constructor(data: CarelliGiacenzaProg) { + super(data); + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataIns = data.dataIns; + this.dataReg = data.dataReg; + this.idInventario = data.idInventario; + this.qtaCar = data.qtaCar; + this.qtaIniz = data.qtaIniz; + this.qtaScar = data.qtaScar; + this.tipoCar = data.tipoCar; + } +} + +export class CaricoDTO { + codMart?: string | null; + dataOrd?: Date | null; + numOrd?: number | null; + qtaProd?: number | null; + rigaOrd?: number | null; + untMis?: string | null; + + constructor(data: CaricoDTO) { + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.numOrd = data.numOrd; + this.qtaProd = data.qtaProd; + this.rigaOrd = data.rigaOrd; + this.untMis = data.untMis; + } +} + +export class CaricoLavorazioneDTO { + activityId?: string | null; + caricoDaCollo?: boolean | null; + codAnag?: string | null; + codDtip?: string | null; + codJfas?: string | null; + codMdep?: string | null; + dataIns?: Date | null; + dataReg?: Date | null; + numDoc?: number | null; + qtaProd?: number | null; + serDoc?: string | null; + + constructor(data: CaricoLavorazioneDTO) { + this.activityId = data.activityId; + this.caricoDaCollo = data.caricoDaCollo; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.dataIns = data.dataIns; + this.dataReg = data.dataReg; + this.numDoc = data.numDoc; + this.qtaProd = data.qtaProd; + this.serDoc = data.serDoc; + } +} + +export class CaricoLavorazioneLicorDTO { + carichiAggiuntivi?: MtbColr[] | null; + codDtip?: string | null; + codMdep?: string | null; + creaCaricoDaCollo?: boolean | null; + dataDoc?: Date | null; + dataReg?: Date | null; + effettuaCaricoProdotto?: boolean | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: CaricoLavorazioneLicorDTO) { + this.carichiAggiuntivi = data.carichiAggiuntivi; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.creaCaricoDaCollo = data.creaCaricoDaCollo; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.effettuaCaricoProdotto = data.effettuaCaricoProdotto; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class CaricoProdFinLavDTO { + activityID?: string | null; + aggiornaStato?: string | null; + codAnag?: string | null; + codDtipCar?: string | null; + codDtipRien?: string | null; + codDtipScar?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codMdepScar?: string | null; + creaCaricoDaCollo?: string | null; + creaCollo?: string | null; + creaColloVersDaColloCarico?: string | null; + creaRientroDaCollo?: string | null; + creaScaricoDaCollo?: string | null; + creaScaricoDaColloVers?: string | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + dataProd?: Date | null; + dataVersamento?: Date | null; + effettuaCaricoProdotto?: string | null; + effettuaCaricoProdottoBoolean?: boolean | null; + effettuaScaricoMateriali?: string | null; + escludiArticoliGestitiDaWmsInScarico?: boolean | null; + fermaCreaDocs?: boolean | null; + generateJson?: string | null; + generateJsonBoolean?: boolean | null; + gestione?: string | null; + idLotto?: number | null; + idRiga?: number | null; + idStep?: number | null; + numDoc?: number | null; + numOrd?: number | null; + preparatoDa?: string | null; + prodotti?: CaricoProdFinLavProdottiDTO | null; + serDoc?: string | null; + terminaLavorazione?: string | null; + terminaLavorazioneLinea?: string | null; + + constructor(data: CaricoProdFinLavDTO) { + this.activityID = data.activityID; + this.aggiornaStato = data.aggiornaStato; + this.codAnag = data.codAnag; + this.codDtipCar = data.codDtipCar; + this.codDtipRien = data.codDtipRien; + this.codDtipScar = data.codDtipScar; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codMdepScar = data.codMdepScar; + this.creaCaricoDaCollo = data.creaCaricoDaCollo; + this.creaCollo = data.creaCollo; + this.creaColloVersDaColloCarico = data.creaColloVersDaColloCarico; + this.creaRientroDaCollo = data.creaRientroDaCollo; + this.creaScaricoDaCollo = data.creaScaricoDaCollo; + this.creaScaricoDaColloVers = data.creaScaricoDaColloVers; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.dataProd = data.dataProd; + this.dataVersamento = data.dataVersamento; + this.effettuaCaricoProdotto = data.effettuaCaricoProdotto; + this.effettuaCaricoProdottoBoolean = data.effettuaCaricoProdottoBoolean; + this.effettuaScaricoMateriali = data.effettuaScaricoMateriali; + this.escludiArticoliGestitiDaWmsInScarico = data.escludiArticoliGestitiDaWmsInScarico; + this.fermaCreaDocs = data.fermaCreaDocs; + this.generateJson = data.generateJson; + this.generateJsonBoolean = data.generateJsonBoolean; + this.gestione = data.gestione; + this.idLotto = data.idLotto; + this.idRiga = data.idRiga; + this.idStep = data.idStep; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.preparatoDa = data.preparatoDa; + this.prodotti = data.prodotti; + this.serDoc = data.serDoc; + this.terminaLavorazione = data.terminaLavorazione; + this.terminaLavorazioneLinea = data.terminaLavorazioneLinea; + } +} + +export class CaricoProdFinLavProdottiDTO { + row?: CaricoProdFinLavRowDTO[] | null; + + constructor(data: CaricoProdFinLavProdottiDTO) { + this.row = data.row; + } +} + +export class CaricoProdFinLavRowDTO { + codTcol?: string | null; + flagDig?: string | null; + numCart?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaProdAna?: number | null; + qtaProdDig?: number | null; + tara?: number | null; + + constructor(data: CaricoProdFinLavRowDTO) { + this.codTcol = data.codTcol; + this.flagDig = data.flagDig; + this.numCart = data.numCart; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaProdAna = data.qtaProdAna; + this.qtaProdDig = data.qtaProdDig; + this.tara = data.tara; + } +} + +export class CaricoProdottoFinitoDTO { + accodaAdEsistenti?: boolean | null; + aggiornaDettagliOrdine?: boolean | null; + assegnaPosizione?: boolean | null; + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + dataVers?: Date | null; + eseguiScarichi?: boolean | null; + gestione?: string | null; + note?: string | null; + numEtich?: number | null; + numOrd?: number | null; + posizione?: string | null; + preparatoDa?: string | null; + qtaCnf?: number | null; + qtaCollo?: number | null; + rigaOrd?: number | null; + segnaQuarantena?: boolean | null; + + constructor(data: CaricoProdottoFinitoDTO) { + this.accodaAdEsistenti = data.accodaAdEsistenti; + this.aggiornaDettagliOrdine = data.aggiornaDettagliOrdine; + this.assegnaPosizione = data.assegnaPosizione; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.dataVers = data.dataVers; + this.eseguiScarichi = data.eseguiScarichi; + this.gestione = data.gestione; + this.note = data.note; + this.numEtich = data.numEtich; + this.numOrd = data.numOrd; + this.posizione = data.posizione; + this.preparatoDa = data.preparatoDa; + this.qtaCnf = data.qtaCnf; + this.qtaCollo = data.qtaCollo; + this.rigaOrd = data.rigaOrd; + this.segnaQuarantena = data.segnaQuarantena; + } +} + +export class CartellinoDTO { + cod_barre?: string | null; + cod_col?: string | null; + cod_mdep?: string | null; + cod_style?: string | null; + cod_tagl?: string | null; + flag_saldi?: string | null; + flag_tipo_negozio?: string | null; + perc_sco?: number | null; + prz_vend?: number | null; + prz_vend_sug?: number | null; + + constructor(data: CartellinoDTO) { + this.cod_barre = data.cod_barre; + this.cod_col = data.cod_col; + this.cod_mdep = data.cod_mdep; + this.cod_style = data.cod_style; + this.cod_tagl = data.cod_tagl; + this.flag_saldi = data.flag_saldi; + this.flag_tipo_negozio = data.flag_tipo_negozio; + this.perc_sco = data.perc_sco; + this.prz_vend = data.prz_vend; + this.prz_vend_sug = data.prz_vend_sug; + } +} + +export class CategoriaDTO { + name?: string | null; + value?: string | null; + + constructor(data: CategoriaDTO) { + this.name = data.name; + this.value = data.value; + } +} + +export class CategorieClienteDTO implements Serializable { + check?: string | null; + cod_sco_cli?: string | null; + descrizione?: string | null; + + constructor(data: CategorieClienteDTO) { + this.check = data.check; + this.cod_sco_cli = data.cod_sco_cli; + this.descrizione = data.descrizione; + } +} + +export class CategorieCostoProdottoDTO { + categRows?: CategorieCostoProdottoDTO[] | null; + descrizione?: string | null; + rows?: CostoProdottoDTO[] | null; + tipoCosto?: TipoCosto | null; + tipoMgrp?: string | null; + + constructor(data: CategorieCostoProdottoDTO) { + this.categRows = data.categRows; + this.descrizione = data.descrizione; + this.rows = data.rows; + this.tipoCosto = data.tipoCosto; + this.tipoMgrp = data.tipoMgrp; + } +} + +export class CategoryDTO { + codice?: string | null; + descrizione?: string | null; + id?: number | null; + parent_id?: number | null; + + constructor(data: CategoryDTO) { + this.codice = data.codice; + this.descrizione = data.descrizione; + this.id = data.id; + this.parent_id = data.parent_id; + } +} + +export class CertificatiSinfoOneDTO { + casseRese?: number | null; + casseScaricate?: number | null; + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + codVvet?: string | null; + codVzon?: string | null; + dataBolla?: Date | null; + dataCert?: Date | null; + dataOraLordo?: Date | null; + lottoFornitore?: string | null; + numBolla?: string | null; + numCert?: number | null; + op?: string | null; + pesoLordoKg?: number | null; + pesoNettoKg?: number | null; + produttore?: string | null; + ragSoc?: string | null; + scartoCq?: number | null; + scartoKg?: number | null; + sconto8?: number | null; + tagliandoPesa?: string | null; + targaMotrice?: string | null; + targaRimorchio?: string | null; + valUnt?: number | null; + varieta?: string | null; + vettore?: string | null; + + constructor(data: CertificatiSinfoOneDTO) { + this.casseRese = data.casseRese; + this.casseScaricate = data.casseScaricate; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.codVzon = data.codVzon; + this.dataBolla = data.dataBolla; + this.dataCert = data.dataCert; + this.dataOraLordo = data.dataOraLordo; + this.lottoFornitore = data.lottoFornitore; + this.numBolla = data.numBolla; + this.numCert = data.numCert; + this.op = data.op; + this.pesoLordoKg = data.pesoLordoKg; + this.pesoNettoKg = data.pesoNettoKg; + this.produttore = data.produttore; + this.ragSoc = data.ragSoc; + this.scartoCq = data.scartoCq; + this.scartoKg = data.scartoKg; + this.sconto8 = data.sconto8; + this.tagliandoPesa = data.tagliandoPesa; + this.targaMotrice = data.targaMotrice; + this.targaRimorchio = data.targaRimorchio; + this.valUnt = data.valUnt; + this.varieta = data.varieta; + this.vettore = data.vettore; + } +} + +export class CertificatiValorizzatiDTO extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + casseRese?: number | null; + casseScaricate?: number | null; + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + codVvet?: string | null; + codVzon?: string | null; + dataDoc?: Date | null; + dataVers?: Date | null; + excludedColumns?: string[] | null; + idPesata?: string | null; + indiceVariazione?: number | null; + lottoProduttore?: string | null; + numDoc?: number | null; + parent?: any | null; + pesoLordoKg?: number | null; + pesoNettoKg?: number | null; + queryTimeoutSeconds?: number | null; + scartoKg?: number | null; + tableName?: string | null; + targa?: string | null; + targaRim?: string | null; + tassoRiduzione?: number | null; + transactionGroupId?: number | null; + type: "CertificatiValorizzatiDTO"; + valUnt?: number | null; + varieta?: string | null; + + constructor(data: CertificatiValorizzatiDTO) { + super(data); + this.applicationName = data.applicationName; + this.casseRese = data.casseRese; + this.casseScaricate = data.casseScaricate; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.codVzon = data.codVzon; + this.dataDoc = data.dataDoc; + this.dataVers = data.dataVers; + this.excludedColumns = data.excludedColumns; + this.idPesata = data.idPesata; + this.indiceVariazione = data.indiceVariazione; + this.lottoProduttore = data.lottoProduttore; + this.numDoc = data.numDoc; + this.parent = data.parent; + this.pesoLordoKg = data.pesoLordoKg; + this.pesoNettoKg = data.pesoNettoKg; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.scartoKg = data.scartoKg; + this.tableName = data.tableName; + this.targa = data.targa; + this.targaRim = data.targaRim; + this.tassoRiduzione = data.tassoRiduzione; + this.transactionGroupId = data.transactionGroupId; + this.valUnt = data.valUnt; + this.varieta = data.varieta; + } +} + +export class ChangeLogDTO { + attivita?: string | null; + novita?: string | null; + processo?: string | null; + tipoAttivita?: string | null; + + constructor(data: ChangeLogDTO) { + this.attivita = data.attivita; + this.novita = data.novita; + this.processo = data.processo; + this.tipoAttivita = data.tipoAttivita; + } +} + +export class ChangePasswordDTO { + oldPassword?: string | null; + password?: string | null; + + constructor(data: ChangePasswordDTO) { + this.oldPassword = data.oldPassword; + this.password = data.password; + } +} + +export class CheckB2BAutomatedOperationDTO extends BaseScheduledOperationDTO { + password?: string | null; + profileDb?: string | null; + username?: string | null; + + constructor(data: CheckB2BAutomatedOperationDTO) { + super(data); + this.password = data.password; + this.profileDb = data.profileDb; + this.username = data.username; + } +} + +export class CheckCartoniLisaDTO { + CtMax?: number | null; + CtMin?: number | null; + codAlis?: string | null; + codMdep?: string | null; + ctMax?: number | null; + ctMin?: number | null; + + constructor(data: CheckCartoniLisaDTO) { + this.CtMax = data.CtMax; + this.CtMin = data.CtMin; + this.codAlis = data.codAlis; + this.codMdep = data.codMdep; + this.ctMax = data.ctMax; + this.ctMin = data.ctMin; + } +} + +export class CheckFornitoreDTO { + codDtip?: string | null; + flagCheckPartitaMag?: boolean | null; + + constructor(data: CheckFornitoreDTO) { + this.codDtip = data.codDtip; + this.flagCheckPartitaMag = data.flagCheckPartitaMag; + } +} + +export class CheckMaterialeBarcodeInOrdineDTO { + barcode?: string | null; + codJfas?: string | null; + ordine?: DtbOrdt | null; + + constructor(data: CheckMaterialeBarcodeInOrdineDTO) { + this.barcode = data.barcode; + this.codJfas = data.codJfas; + this.ordine = data.ordine; + } +} + +export class CheckMaterialeBarcodeInOrdineResponseDTO { + anomalie?: AnomalieDTO[] | null; + canCreateNewUl?: boolean | null; + collo?: GiacenzaArtInBarcodeDTO | null; + newOrderRequired?: boolean | null; + sourceMtbColt?: MtbColt | null; + transferRequired?: boolean | null; + versamento?: MaterialeVersatoSuOrdineDTO | null; + + constructor(data: CheckMaterialeBarcodeInOrdineResponseDTO) { + this.anomalie = data.anomalie; + this.canCreateNewUl = data.canCreateNewUl; + this.collo = data.collo; + this.newOrderRequired = data.newOrderRequired; + this.sourceMtbColt = data.sourceMtbColt; + this.transferRequired = data.transferRequired; + this.versamento = data.versamento; + } +} + +export class ChepDetailDTO { + assetId?: number | null; + bar_code?: string | null; + cap?: string | null; + citta?: string | null; + cod_anag?: string | null; + cod_anag_db?: string | null; + cod_dtip?: string | null; + cod_mart?: string | null; + data_doc?: Date | null; + dateOfDispatch?: Date | null; + dateOfReceipt?: Date | null; + equipmentCodeQualifier?: string | null; + flowCode?: string | null; + indirizzo?: string | null; + informerCountryCode?: string | null; + nazione_clie?: string | null; + nazione_iso_clie?: string | null; + num_doc?: string | null; + num_doc_db?: number | null; + prov?: string | null; + qta_doc?: number | null; + rag_soc?: string | null; + receiverCode?: string | null; + receiverCodeQualifier?: string | null; + refernce2?: string | null; + refernce3?: string | null; + row_id?: number | null; + segno?: string | null; + senderCode?: string | null; + senderCodeQualifier?: string | null; + ser_doc?: string | null; + specialProcessingCode?: string | null; + startRecord?: string | null; + systemParameter2?: string | null; + systemParameter3?: string | null; + telefono?: string | null; + thirdPartyCodeQualifier?: string | null; + transportResponsability?: string | null; + + constructor(data: ChepDetailDTO) { + this.assetId = data.assetId; + this.bar_code = data.bar_code; + this.cap = data.cap; + this.citta = data.citta; + this.cod_anag = data.cod_anag; + this.cod_anag_db = data.cod_anag_db; + this.cod_dtip = data.cod_dtip; + this.cod_mart = data.cod_mart; + this.data_doc = data.data_doc; + this.dateOfDispatch = data.dateOfDispatch; + this.dateOfReceipt = data.dateOfReceipt; + this.equipmentCodeQualifier = data.equipmentCodeQualifier; + this.flowCode = data.flowCode; + this.indirizzo = data.indirizzo; + this.informerCountryCode = data.informerCountryCode; + this.nazione_clie = data.nazione_clie; + this.nazione_iso_clie = data.nazione_iso_clie; + this.num_doc = data.num_doc; + this.num_doc_db = data.num_doc_db; + this.prov = data.prov; + this.qta_doc = data.qta_doc; + this.rag_soc = data.rag_soc; + this.receiverCode = data.receiverCode; + this.receiverCodeQualifier = data.receiverCodeQualifier; + this.refernce2 = data.refernce2; + this.refernce3 = data.refernce3; + this.row_id = data.row_id; + this.segno = data.segno; + this.senderCode = data.senderCode; + this.senderCodeQualifier = data.senderCodeQualifier; + this.ser_doc = data.ser_doc; + this.specialProcessingCode = data.specialProcessingCode; + this.startRecord = data.startRecord; + this.systemParameter2 = data.systemParameter2; + this.systemParameter3 = data.systemParameter3; + this.telefono = data.telefono; + this.thirdPartyCodeQualifier = data.thirdPartyCodeQualifier; + this.transportResponsability = data.transportResponsability; + } +} + +export class ChiudiGiornataDTO { + codDtip?: string | null; + codMdep?: string | null; + dataProd?: Date | null; + serDoc?: string | null; + + constructor(data: ChiudiGiornataDTO) { + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.dataProd = data.dataProd; + this.serDoc = data.serDoc; + } +} + +export class ChiusuraGiornataDTO { + activityID?: string | null; + codAtipTrasf?: string[] | null; + codDtip?: string | null; + codDtipAcq?: string | null; + codDtipCar?: string | null; + codDtipScar?: string | null; + codDtipTrasf?: string | null; + codJfasAcqm?: string | null; + codMgrpMP?: string | null; + codMgrpPF?: string | null; + codMgrpPed?: string | null; + codMgrpSL?: string | null; + codMsgrPed?: string | null; + codVvet?: string | null; + colliTot?: number | null; + dataChiusura?: Date | null; + dataOrd?: Date | null; + flagCheckClose?: string | null; + flagChiudiOrd?: string | null; + flagDocAcq?: string | null; + flagTrasf?: boolean | null; + flagTrasfTipoForn?: boolean | null; + gestione?: string | null; + numDoc?: number | null; + numOrd?: number | null; + order?: string | null; + pedTot?: number | null; + qtaSlav?: number | null; + serDoc?: string | null; + whereCond?: string | null; + + constructor(data: ChiusuraGiornataDTO) { + this.activityID = data.activityID; + this.codAtipTrasf = data.codAtipTrasf; + this.codDtip = data.codDtip; + this.codDtipAcq = data.codDtipAcq; + this.codDtipCar = data.codDtipCar; + this.codDtipScar = data.codDtipScar; + this.codDtipTrasf = data.codDtipTrasf; + this.codJfasAcqm = data.codJfasAcqm; + this.codMgrpMP = data.codMgrpMP; + this.codMgrpPF = data.codMgrpPF; + this.codMgrpPed = data.codMgrpPed; + this.codMgrpSL = data.codMgrpSL; + this.codMsgrPed = data.codMsgrPed; + this.codVvet = data.codVvet; + this.colliTot = data.colliTot; + this.dataChiusura = data.dataChiusura; + this.dataOrd = data.dataOrd; + this.flagCheckClose = data.flagCheckClose; + this.flagChiudiOrd = data.flagChiudiOrd; + this.flagDocAcq = data.flagDocAcq; + this.flagTrasf = data.flagTrasf; + this.flagTrasfTipoForn = data.flagTrasfTipoForn; + this.gestione = data.gestione; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.order = data.order; + this.pedTot = data.pedTot; + this.qtaSlav = data.qtaSlav; + this.serDoc = data.serDoc; + this.whereCond = data.whereCond; + } +} + +export class ChiusuraLavorazioneConfezionatoDTO { + codJfas?: string | null; + datiCarico?: CaricoLavorazioneLicorDTO | null; + datiScarico?: ScaricoLavorazioneLicorDTO | null; + ordine?: DtbOrdt | null; + qtaProd?: number | null; + terminaLavorazione?: boolean | null; + terminaLavorazioneLinea?: boolean | null; + + constructor(data: ChiusuraLavorazioneConfezionatoDTO) { + this.codJfas = data.codJfas; + this.datiCarico = data.datiCarico; + this.datiScarico = data.datiScarico; + this.ordine = data.ordine; + this.qtaProd = data.qtaProd; + this.terminaLavorazione = data.terminaLavorazione; + this.terminaLavorazioneLinea = data.terminaLavorazioneLinea; + } +} + +export class ChiusuraLavorazioneDTO { + caricoLavorazioneDTO?: CaricoLavorazioneDTO | null; + chiudiOrdine?: boolean | null; + codJfas?: string | null; + codProd?: string | null; + dataDoc?: Date | null; + effettuaCarico?: boolean | null; + effettuaRientro?: boolean | null; + effettuaScarico?: boolean | null; + idLotto?: number | null; + note?: string | null; + ordine?: DtbOrdt | null; + partitaMag?: string | null; + produzioniOrdine?: ProduzioneOrdineDTO[] | null; + rapConvProd?: number | null; + rientroLavorazioneDTO?: RientroLavorazioneDTO | null; + rifOrd?: string | null; + salvaDocumenti?: boolean | null; + scaricoLavorazioneDTO?: ScaricoLavorazioneDTO | null; + terminaLavorazioneLinea?: boolean | null; + untMisProd?: string | null; + + constructor(data: ChiusuraLavorazioneDTO) { + this.caricoLavorazioneDTO = data.caricoLavorazioneDTO; + this.chiudiOrdine = data.chiudiOrdine; + this.codJfas = data.codJfas; + this.codProd = data.codProd; + this.dataDoc = data.dataDoc; + this.effettuaCarico = data.effettuaCarico; + this.effettuaRientro = data.effettuaRientro; + this.effettuaScarico = data.effettuaScarico; + this.idLotto = data.idLotto; + this.note = data.note; + this.ordine = data.ordine; + this.partitaMag = data.partitaMag; + this.produzioniOrdine = data.produzioniOrdine; + this.rapConvProd = data.rapConvProd; + this.rientroLavorazioneDTO = data.rientroLavorazioneDTO; + this.rifOrd = data.rifOrd; + this.salvaDocumenti = data.salvaDocumenti; + this.scaricoLavorazioneDTO = data.scaricoLavorazioneDTO; + this.terminaLavorazioneLinea = data.terminaLavorazioneLinea; + this.untMisProd = data.untMisProd; + } +} + +export class ChiusuraLavorazioneFornoRequestDTO { + dataOrd?: Date | null; + gestioneOrd?: string | null; + numOrd?: number | null; + qtaResiduo?: number | null; + + constructor(data: ChiusuraLavorazioneFornoRequestDTO) { + this.dataOrd = data.dataOrd; + this.gestioneOrd = data.gestioneOrd; + this.numOrd = data.numOrd; + this.qtaResiduo = data.qtaResiduo; + } +} + +export class ChiusuraLavorazioneSemoleRequestDTO { + dataOrd?: Date | null; + gestioneOrd?: string | null; + numOrd?: number | null; + qtaAcqua?: number | null; + qtaPastaSeccaProdotta?: number | null; + qtaScartoFresco?: number | null; + + constructor(data: ChiusuraLavorazioneSemoleRequestDTO) { + this.dataOrd = data.dataOrd; + this.gestioneOrd = data.gestioneOrd; + this.numOrd = data.numOrd; + this.qtaAcqua = data.qtaAcqua; + this.qtaPastaSeccaProdotta = data.qtaPastaSeccaProdotta; + this.qtaScartoFresco = data.qtaScartoFresco; + } +} + +export class Class implements Serializable, GenericDeclaration, Type, AnnotatedElement { + annotations?: Annotation[] | null; + declaredAnnotations?: Annotation[] | null; + typeName?: string | null; + typeParameters?: TypeVariable[] | null; + + constructor(data: Class) { + this.annotations = data.annotations; + this.declaredAnnotations = data.declaredAnnotations; + this.typeName = data.typeName; + this.typeParameters = data.typeParameters; + } +} + +export class ClienteDTO { + address_1?: string | null; + address_type?: string | null; + address_type_name?: string | null; + carta_fidelity?: string | null; + city?: string | null; + civico?: string | null; + datanascita?: string | null; + email?: string | null; + first_name?: string | null; + last_name?: string | null; + name?: string | null; + password?: string | null; + phone_1?: string | null; + sesso?: string | null; + usergroup_name?: string | null; + username?: string | null; + zip?: string | null; + + constructor(data: ClienteDTO) { + this.address_1 = data.address_1; + this.address_type = data.address_type; + this.address_type_name = data.address_type_name; + this.carta_fidelity = data.carta_fidelity; + this.city = data.city; + this.civico = data.civico; + this.datanascita = data.datanascita; + this.email = data.email; + this.first_name = data.first_name; + this.last_name = data.last_name; + this.name = data.name; + this.password = data.password; + this.phone_1 = data.phone_1; + this.sesso = data.sesso; + this.usergroup_name = data.usergroup_name; + this.username = data.username; + this.zip = data.zip; + } +} + +export class Clienti { + cap?: string | null; + citta?: string | null; + codiceFiscale?: string | null; + controlloRiga?: number | null; + email?: string | null; + id?: number | null; + indirizzo?: string | null; + partitaIva?: string | null; + provincia?: string | null; + ragioneSociale1?: string | null; + ragioneSociale2?: string | null; + telefono?: string | null; + telefono2?: string | null; + + constructor(data: Clienti) { + this.cap = data.cap; + this.citta = data.citta; + this.codiceFiscale = data.codiceFiscale; + this.controlloRiga = data.controlloRiga; + this.email = data.email; + this.id = data.id; + this.indirizzo = data.indirizzo; + this.partitaIva = data.partitaIva; + this.provincia = data.provincia; + this.ragioneSociale1 = data.ragioneSociale1; + this.ragioneSociale2 = data.ragioneSociale2; + this.telefono = data.telefono; + this.telefono2 = data.telefono2; + } +} + +export interface Clob extends Annotation { +} + +export interface Cloneable { +} + +export class CloseUDCRequestDTO { + mtbColt?: MtbColt | null; + + constructor(data: CloseUDCRequestDTO) { + this.mtbColt = data.mtbColt; + } +} + +export class CloseUDCLavorazioneRequestDTO extends CloseUDCRequestDTO { + createDocuments?: boolean | null; + documentCodDtip?: string | null; + + constructor(data: CloseUDCLavorazioneRequestDTO) { + super(data); + this.createDocuments = data.createDocuments; + this.documentCodDtip = data.documentCodDtip; + } +} + +export class CloseUDCResponseDTO { + deleted?: boolean | null; + generatedMtbColts?: MtbColt[] | null; + saved?: boolean | null; + + constructor(data: CloseUDCResponseDTO) { + this.deleted = data.deleted; + this.generatedMtbColts = data.generatedMtbColts; + this.saved = data.saved; + } +} + +export class CloseUDSRequestDTO { + criterioDistribuzione?: CriterioDistribuzioneEnum | null; + mtbColt?: MtbColt | null; + orderCodMdep?: string | null; + + constructor(data: CloseUDSRequestDTO) { + this.criterioDistribuzione = data.criterioDistribuzione; + this.mtbColt = data.mtbColt; + this.orderCodMdep = data.orderCodMdep; + } +} + +export class CloseUDSLavorazioneRequestDTO extends CloseUDSRequestDTO { + createDocument?: boolean | null; + documentCodAnag?: string | null; + documentCodDtip?: string | null; + + constructor(data: CloseUDSLavorazioneRequestDTO) { + super(data); + this.createDocument = data.createDocument; + this.documentCodAnag = data.documentCodAnag; + this.documentCodDtip = data.documentCodDtip; + } +} + +export class CloseUDSResponseDTO { + deleted?: boolean | null; + generatedMtbColts?: MtbColt[] | null; + saved?: boolean | null; + + constructor(data: CloseUDSResponseDTO) { + this.deleted = data.deleted; + this.generatedMtbColts = data.generatedMtbColts; + this.saved = data.saved; + } +} + +export class CloseUDSLavorazioneResponseDTO extends CloseUDSResponseDTO { + generatedDocument?: DtbDoct | null; + + constructor(data: CloseUDSLavorazioneResponseDTO) { + super(data); + this.generatedDocument = data.generatedDocument; + } +} + +export class CodBarreDTO implements Serializable { + cod_asso?: string | null; + cod_barre?: string | null; + cod_style?: string | null; + + constructor(data: CodBarreDTO) { + this.cod_asso = data.cod_asso; + this.cod_barre = data.cod_barre; + this.cod_style = data.cod_style; + } +} + +export class ColliImportDTO { + codAnag?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numCollo?: number | null; + numOrd?: number | null; + numOrdProvv?: number | null; + partitaMag?: string | null; + qtaCollo?: number | null; + riga?: number | null; + rigaOrdCol?: number | null; + rigaOrdDoc?: number | null; + serCollo?: string | null; + + constructor(data: ColliImportDTO) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numCollo = data.numCollo; + this.numOrd = data.numOrd; + this.numOrdProvv = data.numOrdProvv; + this.partitaMag = data.partitaMag; + this.qtaCollo = data.qtaCollo; + this.riga = data.riga; + this.rigaOrdCol = data.rigaOrdCol; + this.rigaOrdDoc = data.rigaOrdDoc; + this.serCollo = data.serCollo; + } +} + +export class ColliProduzioneDTO { + + constructor(data: ColliProduzioneDTO) { + } +} + +export class Collo { + dataCollo?: Date | null; + numCollo?: number | null; + serCollo?: string | null; + + constructor(data: Collo) { + this.dataCollo = data.dataCollo; + this.numCollo = data.numCollo; + this.serCollo = data.serCollo; + } +} + +export class ColloDTO { + annotazioni?: string | null; + artRows?: ArtDTO[] | null; + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + codVdes?: string | null; + createdDate?: string | null; + dataDoc?: Date | null; + gestione?: string | null; + idDisp?: string | null; + numDoc?: number | null; + rifOrd?: RifOrd | null; + segno?: string | null; + + constructor(data: ColloDTO) { + this.annotazioni = data.annotazioni; + this.artRows = data.artRows; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.createdDate = data.createdDate; + this.dataDoc = data.dataDoc; + this.gestione = data.gestione; + this.idDisp = data.idDisp; + this.numDoc = data.numDoc; + this.rifOrd = data.rifOrd; + this.segno = data.segno; + } +} + +export class ColoriDTO implements Serializable { + c?: string | null; + d?: string | null; + fc?: string | null; + + constructor(data: ColoriDTO) { + this.c = data.c; + this.d = data.d; + this.fc = data.fc; + } +} + +export class ColumnIndex { + columnName?: string | null; + excludeNulls?: boolean | null; + sort?: string | null; + + constructor(data: ColumnIndex) { + this.columnName = data.columnName; + this.excludeNulls = data.excludeNulls; + this.sort = data.sort; + } +} + +export class ColumnMetadataDTO { + columnName?: string | null; + columnType?: string | null; + + constructor(data: ColumnMetadataDTO) { + this.columnName = data.columnName; + this.columnType = data.columnType; + } +} + +export class CommessaDTO { + codAnag?: string | null; + codjcom?: string | null; + dataCons?: Date | null; + dataInizLav?: Date | null; + dataOrd?: Date | null; + descrComm?: string | null; + gestione?: string | null; + numComm?: string | null; + numOrd?: number | null; + statoCommessa?: string | null; + tipoAnag?: string | null; + tipoCommessa?: string | null; + + constructor(data: CommessaDTO) { + this.codAnag = data.codAnag; + this.codjcom = data.codjcom; + this.dataCons = data.dataCons; + this.dataInizLav = data.dataInizLav; + this.dataOrd = data.dataOrd; + this.descrComm = data.descrComm; + this.gestione = data.gestione; + this.numComm = data.numComm; + this.numOrd = data.numOrd; + this.statoCommessa = data.statoCommessa; + this.tipoAnag = data.tipoAnag; + this.tipoCommessa = data.tipoCommessa; + } +} + +export interface ComposedEntityInterface { +} + +export class ConSegnaRequestDataDTO { + dataDoc?: Date | null; + loadDatiPdf?: boolean | null; + loadDettaglioRighe?: boolean | null; + loadSospesiCliente?: boolean | null; + maxDataDoc?: Date | null; + minDataDoc?: Date | null; + numDoc?: string | null; + username?: string | null; + + constructor(data: ConSegnaRequestDataDTO) { + this.dataDoc = data.dataDoc; + this.loadDatiPdf = data.loadDatiPdf; + this.loadDettaglioRighe = data.loadDettaglioRighe; + this.loadSospesiCliente = data.loadSospesiCliente; + this.maxDataDoc = data.maxDataDoc; + this.minDataDoc = data.minDataDoc; + this.numDoc = data.numDoc; + this.username = data.username; + } +} + +export class ConfArticoloDTO { + codMart?: string | null; + codMartGeneric?: string | null; + codMartImported?: string | null; + ingredienti?: Ingredienti[] | null; + prezzo?: number | null; + + constructor(data: ConfArticoloDTO) { + this.codMart = data.codMart; + this.codMartGeneric = data.codMartGeneric; + this.codMartImported = data.codMartImported; + this.ingredienti = data.ingredienti; + this.prezzo = data.prezzo; + } +} + +export interface Connection extends Wrapper, AutoCloseable { + autoCommit?: boolean | null; + catalog?: string | null; + clientInfo?: { [index: string]: any } | null; + closed?: boolean | null; + holdability?: number | null; + metaData?: DatabaseMetaData | null; + networkTimeout?: number | null; + readOnly?: boolean | null; + schema?: string | null; + transactionIsolation?: number | null; + typeMap?: { [index: string]: Class } | null; + warnings?: SQLWarning | null; +} + +export class ConquistClienteDTO { + address_1?: string | null; + address_type?: string | null; + address_type_name?: string | null; + carta_fidelity?: string | null; + city?: string | null; + civico?: string | null; + datanascita?: string | null; + email?: string | null; + first_name?: string | null; + last_name?: string | null; + name?: string | null; + password?: string | null; + phone_1?: string | null; + sesso?: string | null; + usergroup_name?: string | null; + username?: string | null; + zip?: string | null; + + constructor(data: ConquistClienteDTO) { + this.address_1 = data.address_1; + this.address_type = data.address_type; + this.address_type_name = data.address_type_name; + this.carta_fidelity = data.carta_fidelity; + this.city = data.city; + this.civico = data.civico; + this.datanascita = data.datanascita; + this.email = data.email; + this.first_name = data.first_name; + this.last_name = data.last_name; + this.name = data.name; + this.password = data.password; + this.phone_1 = data.phone_1; + this.sesso = data.sesso; + this.usergroup_name = data.usergroup_name; + this.username = data.username; + this.zip = data.zip; + } +} + +export class ConquistOrdineDTO { + address_1?: string | null; + cap_fattura?: string | null; + citta_fattura?: string | null; + city?: string | null; + civico?: string | null; + civico_fattura?: string | null; + codice_fiscale?: string | null; + company?: string | null; + country_name?: string | null; + created_on?: Date | null; + customer_note?: string | null; + email?: string | null; + full_name?: string | null; + indirizzo_fattura?: string | null; + negozio_scelto?: string | null; + order_item_name?: string | null; + order_item_sku?: string | null; + order_number?: string | null; + order_payment?: number | null; + order_payment_tax?: number | null; + order_shipment?: number | null; + order_shipment_tax?: number | null; + order_status?: string | null; + order_status_name?: string | null; + order_total?: number | null; + partita_iva?: string | null; + phone_1?: string | null; + product_final_price?: number | null; + product_item_price?: number | null; + product_quantity?: number | null; + product_tax?: number | null; + provincia_fattura?: string | null; + richiesta_fattura?: string | null; + state_name?: string | null; + total_order_items?: number | null; + user_currency?: string | null; + username?: string | null; + virtuemart_order_id?: number | null; + virtuemart_paymentmethod_id?: string | null; + virtuemart_product_id?: number | null; + virtuemart_shipmentmethod_id?: string | null; + zip?: string | null; + + constructor(data: ConquistOrdineDTO) { + this.address_1 = data.address_1; + this.cap_fattura = data.cap_fattura; + this.citta_fattura = data.citta_fattura; + this.city = data.city; + this.civico = data.civico; + this.civico_fattura = data.civico_fattura; + this.codice_fiscale = data.codice_fiscale; + this.company = data.company; + this.country_name = data.country_name; + this.created_on = data.created_on; + this.customer_note = data.customer_note; + this.email = data.email; + this.full_name = data.full_name; + this.indirizzo_fattura = data.indirizzo_fattura; + this.negozio_scelto = data.negozio_scelto; + this.order_item_name = data.order_item_name; + this.order_item_sku = data.order_item_sku; + this.order_number = data.order_number; + this.order_payment = data.order_payment; + this.order_payment_tax = data.order_payment_tax; + this.order_shipment = data.order_shipment; + this.order_shipment_tax = data.order_shipment_tax; + this.order_status = data.order_status; + this.order_status_name = data.order_status_name; + this.order_total = data.order_total; + this.partita_iva = data.partita_iva; + this.phone_1 = data.phone_1; + this.product_final_price = data.product_final_price; + this.product_item_price = data.product_item_price; + this.product_quantity = data.product_quantity; + this.product_tax = data.product_tax; + this.provincia_fattura = data.provincia_fattura; + this.richiesta_fattura = data.richiesta_fattura; + this.state_name = data.state_name; + this.total_order_items = data.total_order_items; + this.user_currency = data.user_currency; + this.username = data.username; + this.virtuemart_order_id = data.virtuemart_order_id; + this.virtuemart_paymentmethod_id = data.virtuemart_paymentmethod_id; + this.virtuemart_product_id = data.virtuemart_product_id; + this.virtuemart_shipmentmethod_id = data.virtuemart_shipmentmethod_id; + this.zip = data.zip; + } +} + +export class ConsortileFilterDTO implements Serializable { + cod_anag?: string | null; + conto_lavoro?: string | null; + data_doc?: Date | null; + data_doc_fine?: Date | null; + new_version?: string | null; + + constructor(data: ConsortileFilterDTO) { + this.cod_anag = data.cod_anag; + this.conto_lavoro = data.conto_lavoro; + this.data_doc = data.data_doc; + this.data_doc_fine = data.data_doc_fine; + this.new_version = data.new_version; + } +} + +export class ContrassegnoDTO { + codMart?: string | null; + contrassegnoDa?: string | null; + partitaMag?: string | null; + qta?: number | null; + qtaCnf?: number | null; + + constructor(data: ContrassegnoDTO) { + this.codMart = data.codMart; + this.contrassegnoDa = data.contrassegnoDa; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + } +} + +export class ContrattiAcquistoDTO { + atbOfft?: AtbOfft | null; + codAnag?: string | null; + codVvet?: string | null; + + constructor(data: ContrattiAcquistoDTO) { + this.atbOfft = data.atbOfft; + this.codAnag = data.codAnag; + this.codVvet = data.codVvet; + } +} + +export class ContrattiVenditaDTO { + codAnag?: string | null; + vtbListData?: VtbListData | null; + + constructor(data: ContrattiVenditaDTO) { + this.codAnag = data.codAnag; + this.vtbListData = data.vtbListData; + } +} + +export class ConvertQueryDTO { + emailFrom?: string | null; + emailMessage?: string | null; + emailRecipient?: string | null; + emailSubject?: string | null; + format?: Format | null; + jrxmlName?: string | null; + jrxmlParams?: PairsDTO[] | null; + nativeSql?: string | null; + sendEmpty?: boolean | null; + whereCond?: string | null; + + constructor(data: ConvertQueryDTO) { + this.emailFrom = data.emailFrom; + this.emailMessage = data.emailMessage; + this.emailRecipient = data.emailRecipient; + this.emailSubject = data.emailSubject; + this.format = data.format; + this.jrxmlName = data.jrxmlName; + this.jrxmlParams = data.jrxmlParams; + this.nativeSql = data.nativeSql; + this.sendEmpty = data.sendEmpty; + this.whereCond = data.whereCond; + } +} + +export class CoopDTO { + causale?: string | null; + cod_barre?: string | null; + cod_mart?: string | null; + cod_mart_pallbox?: string | null; + codice_pv?: string | null; + data_cons?: Date | null; + data_doc?: Date | null; + data_ord_clie?: Date | null; + descrizione?: string | null; + num_doc?: string | null; + num_ord_clie?: string | null; + pallbox?: string | null; + part_iva?: string | null; + peso?: number | null; + qta_cnf?: number | null; + qta_doc?: number | null; + um_imb?: string | null; + um_peso?: string | null; + unt_doc?: string | null; + val_unt?: number | null; + valuta?: string | null; + + constructor(data: CoopDTO) { + this.causale = data.causale; + this.cod_barre = data.cod_barre; + this.cod_mart = data.cod_mart; + this.cod_mart_pallbox = data.cod_mart_pallbox; + this.codice_pv = data.codice_pv; + this.data_cons = data.data_cons; + this.data_doc = data.data_doc; + this.data_ord_clie = data.data_ord_clie; + this.descrizione = data.descrizione; + this.num_doc = data.num_doc; + this.num_ord_clie = data.num_ord_clie; + this.pallbox = data.pallbox; + this.part_iva = data.part_iva; + this.peso = data.peso; + this.qta_cnf = data.qta_cnf; + this.qta_doc = data.qta_doc; + this.um_imb = data.um_imb; + this.um_peso = data.um_peso; + this.unt_doc = data.unt_doc; + this.val_unt = data.val_unt; + this.valuta = data.valuta; + } +} + +export class CostiDTO { + codCcon?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMtip?: string | null; + costoAP?: boolean | null; + dataFineComp?: Date | null; + dataInizComp?: Date | null; + importo?: number | null; + matricola?: string | null; + + constructor(data: CostiDTO) { + this.codCcon = data.codCcon; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMtip = data.codMtip; + this.costoAP = data.costoAP; + this.dataFineComp = data.dataFineComp; + this.dataInizComp = data.dataInizComp; + this.importo = data.importo; + this.matricola = data.matricola; + } +} + +export class CostoProdottoDTO { + cod_mart?: string | null; + cod_msgr?: string | null; + costo_unt?: number | null; + dati_listino?: string | null; + descrizione?: string | null; + perc?: number | null; + qta_prod?: number | null; + unt_mis?: string | null; + valore?: number | null; + + constructor(data: CostoProdottoDTO) { + this.cod_mart = data.cod_mart; + this.cod_msgr = data.cod_msgr; + this.costo_unt = data.costo_unt; + this.dati_listino = data.dati_listino; + this.descrizione = data.descrizione; + this.perc = data.perc; + this.qta_prod = data.qta_prod; + this.unt_mis = data.unt_mis; + this.valore = data.valore; + } +} + +export class CreaBudgetDTO { + budgetA?: Date | null; + budgetDa?: Date | null; + clienti?: string[] | null; + descrizione?: string | null; + storicoA?: Date | null; + storicoDa?: Date | null; + + constructor(data: CreaBudgetDTO) { + this.budgetA = data.budgetA; + this.budgetDa = data.budgetDa; + this.clienti = data.clienti; + this.descrizione = data.descrizione; + this.storicoA = data.storicoA; + this.storicoDa = data.storicoDa; + } +} + +export class CreaOrdineProdDTO { + codAnag?: string | null; + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + codVdes?: string | null; + codVzon?: string | null; + colliPedana?: number | null; + dataOrd?: Date | null; + descrizionePartita?: string | null; + modificheDistinta?: ModificheDistintaDTO[] | null; + numCnf?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaOrd?: number | null; + untOrd?: string | null; + valUnt?: number | null; + + constructor(data: CreaOrdineProdDTO) { + this.codAnag = data.codAnag; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.codVzon = data.codVzon; + this.colliPedana = data.colliPedana; + this.dataOrd = data.dataOrd; + this.descrizionePartita = data.descrizionePartita; + this.modificheDistinta = data.modificheDistinta; + this.numCnf = data.numCnf; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaOrd = data.qtaOrd; + this.untOrd = data.untOrd; + this.valUnt = data.valUnt; + } +} + +export class CreaViaggioDTO { + codMdep?: string | null; + pedane?: PedanaDTO[] | null; + vtbViaggi?: VtbViaggi | null; + + constructor(data: CreaViaggioDTO) { + this.codMdep = data.codMdep; + this.pedane = data.pedane; + this.vtbViaggi = data.vtbViaggi; + } +} + +export class CreateEntityItemRequestDTO { + master?: boolean | null; + tableName?: string | null; + + constructor(data: CreateEntityItemRequestDTO) { + this.master = data.master; + this.tableName = data.tableName; + } +} + +export class CreateNotificationDTO { + attachments?: StbFilesAttached[] | null; + imageFile?: StbFilesAttached | null; + wtbNotification?: WtbNotification | null; + + constructor(data: CreateNotificationDTO) { + this.attachments = data.attachments; + this.imageFile = data.imageFile; + this.wtbNotification = data.wtbNotification; + } +} + +export class CreateUDCFromArtRequestDTO { + barcodeUl?: string | null; + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + posizione?: string | null; + qta?: number | null; + qtaCnf?: number | null; + + constructor(data: CreateUDCFromArtRequestDTO) { + this.barcodeUl = data.barcodeUl; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + } +} + +export class CreateUDCProduzioneRequestDTO { + codAnag?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataOrd?: Date | null; + numCnf?: number | null; + numEtich?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + posizione?: string | null; + qta?: number | null; + qtaCnf?: number | null; + + constructor(data: CreateUDCProduzioneRequestDTO) { + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataOrd = data.dataOrd; + this.numCnf = data.numCnf; + this.numEtich = data.numEtich; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + } +} + +export class CreateUDCRequestDTO { + annotazioni?: string | null; + barcodeUl?: string | null; + codAnag?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codTcol?: string | null; + codVdes?: string | null; + dataCollo?: Date | null; + numCollo?: number | null; + orders?: CreateUDCRequestOrderDTO[] | null; + posizione?: string | null; + serCollo?: string | null; + + constructor(data: CreateUDCRequestDTO) { + this.annotazioni = data.annotazioni; + this.barcodeUl = data.barcodeUl; + this.codAnag = data.codAnag; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codTcol = data.codTcol; + this.codVdes = data.codVdes; + this.dataCollo = data.dataCollo; + this.numCollo = data.numCollo; + this.orders = data.orders; + this.posizione = data.posizione; + this.serCollo = data.serCollo; + } +} + +export class CreateUDCRequestOrderDTO { + dataCons?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + + constructor(data: CreateUDCRequestOrderDTO) { + this.dataCons = data.dataCons; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + } +} + +export class CreateUDCResponseDTO { + mtbColt?: MtbColt | null; + + constructor(data: CreateUDCResponseDTO) { + this.mtbColt = data.mtbColt; + } +} + +export class CreateUDSFromArtRequestDTO { + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + pesoLordoKg?: number | null; + pesoNettoKg?: number | null; + posizione?: string | null; + qta?: number | null; + qtaCnf?: number | null; + + constructor(data: CreateUDSFromArtRequestDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.pesoLordoKg = data.pesoLordoKg; + this.pesoNettoKg = data.pesoNettoKg; + this.posizione = data.posizione; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + } +} + +export class CreateUDSRequestDTO { + annotazioni?: string | null; + barcodeUl?: string | null; + causaleCollo?: Causale | null; + codAnag?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codVdes?: string | null; + dataCollo?: Date | null; + idLotto?: number | null; + numCollo?: number | null; + orderRequired?: boolean | null; + orders?: CreateUDSRequestOrderDTO[] | null; + posizione?: string | null; + ragSoc?: string | null; + rifOrd?: string | null; + segno?: number | null; + serCollo?: string | null; + + constructor(data: CreateUDSRequestDTO) { + this.annotazioni = data.annotazioni; + this.barcodeUl = data.barcodeUl; + this.causaleCollo = data.causaleCollo; + this.codAnag = data.codAnag; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.dataCollo = data.dataCollo; + this.idLotto = data.idLotto; + this.numCollo = data.numCollo; + this.orderRequired = data.orderRequired; + this.orders = data.orders; + this.posizione = data.posizione; + this.ragSoc = data.ragSoc; + this.rifOrd = data.rifOrd; + this.segno = data.segno; + this.serCollo = data.serCollo; + } +} + +export class CreateUDSRequestOrderDTO { + dataCons?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + + constructor(data: CreateUDSRequestOrderDTO) { + this.dataCons = data.dataCons; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + } +} + +export class CreateUDSResponseDTO { + mtbColt?: MtbColt | null; + + constructor(data: CreateUDSResponseDTO) { + this.mtbColt = data.mtbColt; + } +} + +export class CreateULFromDocumentsDTO { + codAnag?: string | null; + codMdep?: string | null; + codVdes?: string | null; + dataCollo?: Date | null; + gestione?: string | null; + monoUl?: boolean | null; + segnoDoc?: number | null; + ulRows?: ULRowDTO[] | null; + + constructor(data: CreateULFromDocumentsDTO) { + this.codAnag = data.codAnag; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.monoUl = data.monoUl; + this.segnoDoc = data.segnoDoc; + this.ulRows = data.ulRows; + } +} + +export class CreateZipDTO { + entityToSaveTo?: EntityBase | null; + fileName?: string | null; + listDtbDocPdf?: DtbDocPdf[] | null; + listIdAttach?: string[] | null; + listMtbAartLink?: MtbAartLink[] | null; + listStbActivityFile?: StbActivityFile[] | null; + saveMode?: SaveMode | null; + + constructor(data: CreateZipDTO) { + this.entityToSaveTo = data.entityToSaveTo; + this.fileName = data.fileName; + this.listDtbDocPdf = data.listDtbDocPdf; + this.listIdAttach = data.listIdAttach; + this.listMtbAartLink = data.listMtbAartLink; + this.listStbActivityFile = data.listStbActivityFile; + this.saveMode = data.saveMode; + } +} + +export class CriticalSoundDTO { + critical?: boolean | null; + name?: string | null; + volume?: number | null; + + constructor(data: CriticalSoundDTO) { + this.critical = data.critical; + this.name = data.name; + this.volume = data.volume; + } +} + +export class CrlAmacArt extends EntityBase { + codCmac?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + id?: number | null; + type: "crl_amac_art"; + + constructor(data: CrlAmacArt) { + super(data); + this.codCmac = data.codCmac; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.id = data.id; + } +} + +export class CrlAmacManutenzioniFiles extends EntityBase { + idAttach?: string | null; + idManutenzione?: number | null; + type: "crl_amac_manutenzioni_files"; + + constructor(data: CrlAmacManutenzioniFiles) { + super(data); + this.idAttach = data.idAttach; + this.idManutenzione = data.idManutenzione; + } +} + +export class CrlMovAttached extends EntityBase { + idAttach?: string | null; + numCmov?: number | null; + type: "crl_mov_attached"; + + constructor(data: CrlMovAttached) { + super(data); + this.idAttach = data.idAttach; + this.numCmov = data.numCmov; + } +} + +export class CrlMovtRifCmov extends EntityBase { + numCmov?: number | null; + numCmovRif?: number | null; + type: "crl_movt_rif_cmov"; + + constructor(data: CrlMovtRifCmov) { + super(data); + this.numCmov = data.numCmov; + this.numCmovRif = data.numCmovRif; + } +} + +export class CrlScadParr extends EntityBase { + annoPart?: number | null; + codAnag?: string | null; + id?: number | null; + idRigaMov?: number | null; + idRigaScad?: number | null; + numCmov?: number | null; + numDoc?: number | null; + serDoc?: string | null; + tipoAnag?: string | null; + type: "crl_scad_parr"; + + constructor(data: CrlScadParr) { + super(data); + this.annoPart = data.annoPart; + this.codAnag = data.codAnag; + this.id = data.id; + this.idRigaMov = data.idRigaMov; + this.idRigaScad = data.idRigaScad; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.tipoAnag = data.tipoAnag; + } +} + +export class CrmAttivita { + activityDescription?: string | null; + activityId?: string | null; + activityResultId?: string | null; + activityTypeId?: string | null; + codAnag?: string | null; + codJcom?: string | null; + effectiveEndtime?: Date | null; + effectiveTime?: Date | null; + estimatedEndtime?: Date | null; + estimatedTime?: Date | null; + flagTipologia?: string | null; + note?: string | null; + oraModAct?: Date | null; + oraViewAct?: Date | null; + parentActivityId?: string | null; + tipoAnag?: string | null; + userCreator?: string | null; + userModifier?: string | null; + userName?: string | null; + + constructor(data: CrmAttivita) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityResultId = data.activityResultId; + this.activityTypeId = data.activityTypeId; + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.effectiveEndtime = data.effectiveEndtime; + this.effectiveTime = data.effectiveTime; + this.estimatedEndtime = data.estimatedEndtime; + this.estimatedTime = data.estimatedTime; + this.flagTipologia = data.flagTipologia; + this.note = data.note; + this.oraModAct = data.oraModAct; + this.oraViewAct = data.oraViewAct; + this.parentActivityId = data.parentActivityId; + this.tipoAnag = data.tipoAnag; + this.userCreator = data.userCreator; + this.userModifier = data.userModifier; + this.userName = data.userName; + } +} + +export class CrmCliente { + cap?: string | null; + citta?: string | null; + codFisc?: string | null; + codVtip?: string | null; + cuuPa?: string | null; + eMail?: string | null; + eMailPec?: string | null; + flagConsenso?: string | null; + flagInformativa?: string | null; + indirizzo?: string | null; + nazione?: string | null; + partIva?: string | null; + prov?: string | null; + ragSoc?: string | null; + ragSoc2?: string | null; + telefono?: string | null; + + constructor(data: CrmCliente) { + this.cap = data.cap; + this.citta = data.citta; + this.codFisc = data.codFisc; + this.codVtip = data.codVtip; + this.cuuPa = data.cuuPa; + this.eMail = data.eMail; + this.eMailPec = data.eMailPec; + this.flagConsenso = data.flagConsenso; + this.flagInformativa = data.flagInformativa; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.partIva = data.partIva; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.ragSoc2 = data.ragSoc2; + this.telefono = data.telefono; + } +} + +export class CrmCommessa { + codJfas?: string | null; + codJflav?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + note?: string | null; + statoCommessa?: string | null; + + constructor(data: CrmCommessa) { + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.note = data.note; + this.statoCommessa = data.statoCommessa; + } +} + +export class CrmCompletaOrd { + CRMAttivita?: CrmAttivita[] | null; + CRMCliente?: CrmCliente | null; + CRMCommessa?: CrmCommessa | null; + CRMDestinazione?: CrmDestinazione | null; + CRMPersRif?: CrmPersRif[] | null; + CRMSpese?: CrmSpese[] | null; + acconto?: number | null; + activityTypeId?: string | null; + codAnag?: string | null; + codJcom?: string | null; + codPaga?: string | null; + codVage2?: string | null; + codVdes?: string | null; + dataOrd?: string | null; + descrizionePaga?: string | null; + flagTipologia?: string | null; + gestione?: string | null; + mezzo?: string | null; + note?: string | null; + numOrd?: number | null; + processActivityId?: string | null; + rifOrd?: string | null; + serie?: string | null; + termCons?: string | null; + tipoAnag?: string | null; + + constructor(data: CrmCompletaOrd) { + this.CRMAttivita = data.CRMAttivita; + this.CRMCliente = data.CRMCliente; + this.CRMCommessa = data.CRMCommessa; + this.CRMDestinazione = data.CRMDestinazione; + this.CRMPersRif = data.CRMPersRif; + this.CRMSpese = data.CRMSpese; + this.acconto = data.acconto; + this.activityTypeId = data.activityTypeId; + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codPaga = data.codPaga; + this.codVage2 = data.codVage2; + this.codVdes = data.codVdes; + this.dataOrd = data.dataOrd; + this.descrizionePaga = data.descrizionePaga; + this.flagTipologia = data.flagTipologia; + this.gestione = data.gestione; + this.mezzo = data.mezzo; + this.note = data.note; + this.numOrd = data.numOrd; + this.processActivityId = data.processActivityId; + this.rifOrd = data.rifOrd; + this.serie = data.serie; + this.termCons = data.termCons; + this.tipoAnag = data.tipoAnag; + } +} + +export class CrmCreaContatto { + CRMAttivita?: CrmAttivita[] | null; + CRMCliente?: CrmProspect | null; + CRMCommessa?: CrmCommessa | null; + CRMDestinazione?: CrmDestinazione | null; + CRMPersRif?: CrmPersRif[] | null; + codAnag?: string | null; + codJcom?: string | null; + codVdes?: string | null; + processActivityId?: string | null; + tipoAnag?: string | null; + + constructor(data: CrmCreaContatto) { + this.CRMAttivita = data.CRMAttivita; + this.CRMCliente = data.CRMCliente; + this.CRMCommessa = data.CRMCommessa; + this.CRMDestinazione = data.CRMDestinazione; + this.CRMPersRif = data.CRMPersRif; + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codVdes = data.codVdes; + this.processActivityId = data.processActivityId; + this.tipoAnag = data.tipoAnag; + } +} + +export class CrmDestinazione { + cap?: string | null; + citta?: string | null; + codAliqIn?: string | null; + codAliqOut?: string | null; + codVzon?: string | null; + eMail?: string | null; + indirizzo?: string | null; + nazione?: string | null; + prov?: string | null; + ragSoc?: string | null; + telefono?: string | null; + + constructor(data: CrmDestinazione) { + this.cap = data.cap; + this.citta = data.citta; + this.codAliqIn = data.codAliqIn; + this.codAliqOut = data.codAliqOut; + this.codVzon = data.codVzon; + this.eMail = data.eMail; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.telefono = data.telefono; + } +} + +export class CrmPersRif { + eMail?: string | null; + fax?: string | null; + idPersRif?: number | null; + mansione?: string | null; + numCellulare?: string | null; + personaRif?: string | null; + telefono?: string | null; + + constructor(data: CrmPersRif) { + this.eMail = data.eMail; + this.fax = data.fax; + this.idPersRif = data.idPersRif; + this.mansione = data.mansione; + this.numCellulare = data.numCellulare; + this.personaRif = data.personaRif; + this.telefono = data.telefono; + } +} + +export class CrmProspect { + cap?: string | null; + citta?: string | null; + codFisc?: string | null; + codVtip?: string | null; + codVzon?: string | null; + cuuPa?: string | null; + eMail?: string | null; + eMailPec?: string | null; + flagConsenso?: string | null; + flagInformativa?: string | null; + indirizzo?: string | null; + nazione?: string | null; + partIva?: string | null; + prov?: string | null; + ragSoc?: string | null; + ragSoc2?: string | null; + telefono?: string | null; + + constructor(data: CrmProspect) { + this.cap = data.cap; + this.citta = data.citta; + this.codFisc = data.codFisc; + this.codVtip = data.codVtip; + this.codVzon = data.codVzon; + this.cuuPa = data.cuuPa; + this.eMail = data.eMail; + this.eMailPec = data.eMailPec; + this.flagConsenso = data.flagConsenso; + this.flagInformativa = data.flagInformativa; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.partIva = data.partIva; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.ragSoc2 = data.ragSoc2; + this.telefono = data.telefono; + } +} + +export class CrmSpese { + codAliq?: string | null; + codSpes?: string | null; + descrizione?: string | null; + importo?: number | null; + + constructor(data: CrmSpese) { + this.codAliq = data.codAliq; + this.codSpes = data.codSpes; + this.descrizione = data.descrizione; + this.importo = data.importo; + } +} + +export class CrontimeDTO { + badge?: string | null; + causa?: string | null; + codLinea?: string | null; + data?: string | null; + filler?: string | null; + indirizzo?: string | null; + ora?: string | null; + stato?: string | null; + + constructor(data: CrontimeDTO) { + this.badge = data.badge; + this.causa = data.causa; + this.codLinea = data.codLinea; + this.data = data.data; + this.filler = data.filler; + this.indirizzo = data.indirizzo; + this.ora = data.ora; + this.stato = data.stato; + } +} + +export class CtbAgbe extends EntityBase { + codAgbe?: string | null; + descrizione?: string | null; + percAgbe?: number | null; + type: "ctb_agbe"; + + constructor(data: CtbAgbe) { + super(data); + this.codAgbe = data.codAgbe; + this.descrizione = data.descrizione; + this.percAgbe = data.percAgbe; + } +} + +export class CtbAmac extends EntityBase { + codBene?: string | null; + codCmac?: string | null; + codJfas?: string | null; + codMart?: string | null; + crlAmacArt?: CrlAmacArt[] | null; + ctbAmacHistory?: CtbAmacHistory[] | null; + ctbAmacManutenzioni?: CtbAmacManutenzioni[] | null; + dataAlienazione?: Date | null; + dataFabbr?: Date | null; + dataInizUso?: Date | null; + descrizione?: string | null; + machineType?: number | null; + note?: string | null; + partitaMag?: string | null; + type: "ctb_amac"; + untMisProduzione?: string | null; + + constructor(data: CtbAmac) { + super(data); + this.codBene = data.codBene; + this.codCmac = data.codCmac; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.crlAmacArt = data.crlAmacArt; + this.ctbAmacHistory = data.ctbAmacHistory; + this.ctbAmacManutenzioni = data.ctbAmacManutenzioni; + this.dataAlienazione = data.dataAlienazione; + this.dataFabbr = data.dataFabbr; + this.dataInizUso = data.dataInizUso; + this.descrizione = data.descrizione; + this.machineType = data.machineType; + this.note = data.note; + this.partitaMag = data.partitaMag; + this.untMisProduzione = data.untMisProduzione; + } +} + +export class CtbAmacHistory extends EntityBase { + codCmac?: string | null; + createdAt?: Date | null; + dataOrd?: Date | null; + eventDescription?: string | null; + eventKey?: string | null; + gestione?: string | null; + id?: number | null; + idAttach?: string | null; + numOrd?: number | null; + type: "ctb_amac_history"; + value?: string | null; + + constructor(data: CtbAmacHistory) { + super(data); + this.codCmac = data.codCmac; + this.createdAt = data.createdAt; + this.dataOrd = data.dataOrd; + this.eventDescription = data.eventDescription; + this.eventKey = data.eventKey; + this.gestione = data.gestione; + this.id = data.id; + this.idAttach = data.idAttach; + this.numOrd = data.numOrd; + this.value = data.value; + } +} + +export class CtbAmacManutenzioni extends EntityBase { + codCmac?: string | null; + convalidatoDa?: string | null; + dataConvalida?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + dataInserimento?: Date | null; + dataManutenzione?: Date | null; + datiMacchina?: string | null; + descrizione?: string | null; + esito?: string | null; + esitoPositivo?: boolean | null; + id?: number | null; + manutenzioneOrdinaria?: boolean | null; + oreLavoro?: number | null; + stato?: MaintenanceStatus | null; + type: "ctb_amac_manutenzioni"; + + constructor(data: CtbAmacManutenzioni) { + super(data); + this.codCmac = data.codCmac; + this.convalidatoDa = data.convalidatoDa; + this.dataConvalida = data.dataConvalida; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.dataInserimento = data.dataInserimento; + this.dataManutenzione = data.dataManutenzione; + this.datiMacchina = data.datiMacchina; + this.descrizione = data.descrizione; + this.esito = data.esito; + this.esitoPositivo = data.esitoPositivo; + this.id = data.id; + this.manutenzioneOrdinaria = data.manutenzioneOrdinaria; + this.oreLavoro = data.oreLavoro; + this.stato = data.stato; + } +} + +export class CtbAnag extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codAnag?: string | null; + codCcon?: string | null; + excludedColumns?: string[] | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + saldoAtt?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "ctb_anag"; + + constructor(data: CtbAnag) { + super(data); + this.applicationName = data.applicationName; + this.codAnag = data.codAnag; + this.codCcon = data.codCcon; + this.excludedColumns = data.excludedColumns; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.saldoAtt = data.saldoAtt; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class CtbBeni extends EntityBase { + aliqAmmAnt?: number | null; + aliqAmmAnt1a?: number | null; + aliqAmmNorm?: number | null; + aliqAmmNorm1a?: number | null; + anniAmmAnt?: number | null; + cambioDiviAcq?: number | null; + cambioDiviVend?: number | null; + codAgbe?: string | null; + codBene?: string | null; + codBeneRif?: string | null; + codCatbene?: string | null; + codDiviAcq?: string | null; + codDiviVend?: string | null; + codForn?: string | null; + codJfas?: string | null; + ctbFondi?: CtbFondi[] | null; + ctbVarbeni?: CtbVarbeni[] | null; + dataDocAcq?: Date | null; + dataDocAlie?: Date | null; + dataInizAmm?: Date | null; + dataSospAgbe?: Date | null; + descrizione?: string | null; + descrizioneAlien?: string | null; + flagNuovoUsa?: string | null; + note?: string | null; + numBeni?: number | null; + numCmovAcq?: number | null; + numDocAcq?: number | null; + numDocAlie?: number | null; + numProtAcq?: number | null; + percCostoDeduc?: number | null; + residuoAlien?: number | null; + serDocAcq?: string | null; + serDocAlie?: string | null; + type: "ctb_beni"; + valoreAcq?: number | null; + valoreAlie?: number | null; + + constructor(data: CtbBeni) { + super(data); + this.aliqAmmAnt = data.aliqAmmAnt; + this.aliqAmmAnt1a = data.aliqAmmAnt1a; + this.aliqAmmNorm = data.aliqAmmNorm; + this.aliqAmmNorm1a = data.aliqAmmNorm1a; + this.anniAmmAnt = data.anniAmmAnt; + this.cambioDiviAcq = data.cambioDiviAcq; + this.cambioDiviVend = data.cambioDiviVend; + this.codAgbe = data.codAgbe; + this.codBene = data.codBene; + this.codBeneRif = data.codBeneRif; + this.codCatbene = data.codCatbene; + this.codDiviAcq = data.codDiviAcq; + this.codDiviVend = data.codDiviVend; + this.codForn = data.codForn; + this.codJfas = data.codJfas; + this.ctbFondi = data.ctbFondi; + this.ctbVarbeni = data.ctbVarbeni; + this.dataDocAcq = data.dataDocAcq; + this.dataDocAlie = data.dataDocAlie; + this.dataInizAmm = data.dataInizAmm; + this.dataSospAgbe = data.dataSospAgbe; + this.descrizione = data.descrizione; + this.descrizioneAlien = data.descrizioneAlien; + this.flagNuovoUsa = data.flagNuovoUsa; + this.note = data.note; + this.numBeni = data.numBeni; + this.numCmovAcq = data.numCmovAcq; + this.numDocAcq = data.numDocAcq; + this.numDocAlie = data.numDocAlie; + this.numProtAcq = data.numProtAcq; + this.percCostoDeduc = data.percCostoDeduc; + this.residuoAlien = data.residuoAlien; + this.serDocAcq = data.serDocAcq; + this.serDocAlie = data.serDocAlie; + this.valoreAcq = data.valoreAcq; + this.valoreAlie = data.valoreAlie; + } +} + +export class CtbBiva extends EntityBase { + codBiva?: string | null; + descrizione?: string | null; + impostaDaCosto?: string | null; + type: "ctb_biva"; + + constructor(data: CtbBiva) { + super(data); + this.codBiva = data.codBiva; + this.descrizione = data.descrizione; + this.impostaDaCosto = data.impostaDaCosto; + } +} + +export class CtbCatbeni extends EntityBase { + aliqAmmAnt?: number | null; + aliqAmmAnt1a?: number | null; + aliqAmmNorm?: number | null; + aliqAmmNorm1a?: number | null; + anniAmmAnt?: number | null; + codCatbene?: string | null; + contoCespiti?: string | null; + contoCostoAmmant?: string | null; + contoCostoAmmord?: string | null; + contoFondoAmmant?: string | null; + contoFondoAmmord?: string | null; + contoQuotaInded?: string | null; + descrizione?: string | null; + flagBeneImm?: string | null; + type: "ctb_catbeni"; + + constructor(data: CtbCatbeni) { + super(data); + this.aliqAmmAnt = data.aliqAmmAnt; + this.aliqAmmAnt1a = data.aliqAmmAnt1a; + this.aliqAmmNorm = data.aliqAmmNorm; + this.aliqAmmNorm1a = data.aliqAmmNorm1a; + this.anniAmmAnt = data.anniAmmAnt; + this.codCatbene = data.codCatbene; + this.contoCespiti = data.contoCespiti; + this.contoCostoAmmant = data.contoCostoAmmant; + this.contoCostoAmmord = data.contoCostoAmmord; + this.contoFondoAmmant = data.contoFondoAmmant; + this.contoFondoAmmord = data.contoFondoAmmord; + this.contoQuotaInded = data.contoQuotaInded; + this.descrizione = data.descrizione; + this.flagBeneImm = data.flagBeneImm; + } +} + +export class CtbCatg extends EntityBase { + codCcat?: string | null; + ctbSctg?: CtbSctg[] | null; + descrizione?: string | null; + type: "ctb_catg"; + + constructor(data: CtbCatg) { + super(data); + this.codCcat = data.codCcat; + this.ctbSctg = data.ctbSctg; + this.descrizione = data.descrizione; + } +} + +export class CtbCaur extends EntityBase { + codCcau?: string | null; + codCcauRow?: string | null; + codCcon?: string | null; + flagImpostaDesAgg?: string | null; + impAvere?: string | null; + impDare?: string | null; + riga?: number | null; + tipoAnag?: string | null; + type: "ctb_caur"; + + constructor(data: CtbCaur) { + super(data); + this.codCcau = data.codCcau; + this.codCcauRow = data.codCcauRow; + this.codCcon = data.codCcon; + this.flagImpostaDesAgg = data.flagImpostaDesAgg; + this.impAvere = data.impAvere; + this.impDare = data.impDare; + this.riga = data.riga; + this.tipoAnag = data.tipoAnag; + } +} + +export class CtbCaus extends EntityBase { + azioneSuPartita?: number | null; + codAliqSplit?: string | null; + codCcau?: string | null; + codCcauRc?: string | null; + codCcauRif?: string | null; + codDtipCcau?: string | null; + codIreg?: string | null; + ctbCaur?: CtbCaur[] | null; + descrizione?: string | null; + flagAcqCespite?: string | null; + flagApCh?: string | null; + flagRitAcc?: string | null; + flagRitAccPaga?: string | null; + flagStato?: string | null; + segnoIreg?: number | null; + tipoAnag?: string | null; + type: "ctb_caus"; + + constructor(data: CtbCaus) { + super(data); + this.azioneSuPartita = data.azioneSuPartita; + this.codAliqSplit = data.codAliqSplit; + this.codCcau = data.codCcau; + this.codCcauRc = data.codCcauRc; + this.codCcauRif = data.codCcauRif; + this.codDtipCcau = data.codDtipCcau; + this.codIreg = data.codIreg; + this.ctbCaur = data.ctbCaur; + this.descrizione = data.descrizione; + this.flagAcqCespite = data.flagAcqCespite; + this.flagApCh = data.flagApCh; + this.flagRitAcc = data.flagRitAcc; + this.flagRitAccPaga = data.flagRitAccPaga; + this.flagStato = data.flagStato; + this.segnoIreg = data.segnoIreg; + this.tipoAnag = data.tipoAnag; + } +} + +export class CtbCausRit extends EntityBase { + causale?: string | null; + codCausRit?: string | null; + codModello?: string | null; + codTributo?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + percCassaPrev?: number | null; + percImponibileInps?: number | null; + percImponibileIrpef?: number | null; + percInps?: number | null; + percInpsPerc?: number | null; + percIrpef?: number | null; + type: "ctb_caus_rit"; + + constructor(data: CtbCausRit) { + super(data); + this.causale = data.causale; + this.codCausRit = data.codCausRit; + this.codModello = data.codModello; + this.codTributo = data.codTributo; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.percCassaPrev = data.percCassaPrev; + this.percImponibileInps = data.percImponibileInps; + this.percImponibileIrpef = data.percImponibileIrpef; + this.percInps = data.percInps; + this.percInpsPerc = data.percInpsPerc; + this.percIrpef = data.percIrpef; + } +} + +export class CtbCoan extends EntityBase { + chiaveFonte?: string | null; + codCcon?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codMart?: string | null; + codProd?: string | null; + codSpes?: string | null; + dataMov?: Date | null; + id?: number | null; + impAvere?: number | null; + impDare?: number | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + qta?: number | null; + type: "ctb_coan"; + untMis?: string | null; + + constructor(data: CtbCoan) { + super(data); + this.chiaveFonte = data.chiaveFonte; + this.codCcon = data.codCcon; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.codSpes = data.codSpes; + this.dataMov = data.dataMov; + this.id = data.id; + this.impAvere = data.impAvere; + this.impDare = data.impDare; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.qta = data.qta; + this.untMis = data.untMis; + } +} + +export class CtbCont extends EntityBase { + codBiva?: string | null; + codCcon?: string | null; + codCgrp?: string | null; + codCmas?: string | null; + codCsct?: string | null; + codJfas?: string | null; + dataIns?: Date | null; + dataMod?: Date | null; + descrizione?: string | null; + diacod?: string | null; + flagContAnalit?: string | null; + flagRisconto?: string | null; + percDed?: number | null; + saldoAtt?: number | null; + tipoRiep?: string | null; + type: "ctb_cont"; + + constructor(data: CtbCont) { + super(data); + this.codBiva = data.codBiva; + this.codCcon = data.codCcon; + this.codCgrp = data.codCgrp; + this.codCmas = data.codCmas; + this.codCsct = data.codCsct; + this.codJfas = data.codJfas; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.descrizione = data.descrizione; + this.diacod = data.diacod; + this.flagContAnalit = data.flagContAnalit; + this.flagRisconto = data.flagRisconto; + this.percDed = data.percDed; + this.saldoAtt = data.saldoAtt; + this.tipoRiep = data.tipoRiep; + } +} + +export class CtbContFasi extends EntityBase { + codCcon?: string | null; + codJfas?: string | null; + percCosto?: number | null; + type: "ctb_cont_fasi"; + + constructor(data: CtbContFasi) { + super(data); + this.codCcon = data.codCcon; + this.codJfas = data.codJfas; + this.percCosto = data.percCosto; + } +} + +export class CtbContIntercodePaghe extends EntityBase { + analitico?: string | null; + codCcon?: string | null; + codCconCp?: string | null; + costoCC?: boolean | null; + costoCP?: boolean | null; + descrOp?: string | null; + flagEscludi?: boolean | null; + gruppo?: string | null; + sGruppo?: string | null; + sel1?: string | null; + type: "ctb_cont_intercode_paghe"; + + constructor(data: CtbContIntercodePaghe) { + super(data); + this.analitico = data.analitico; + this.codCcon = data.codCcon; + this.codCconCp = data.codCconCp; + this.costoCC = data.costoCC; + this.costoCP = data.costoCP; + this.descrOp = data.descrOp; + this.flagEscludi = data.flagEscludi; + this.gruppo = data.gruppo; + this.sGruppo = data.sGruppo; + this.sel1 = data.sel1; + } +} + +export class CtbFondi extends EntityBase { + aliqAmmAnt?: number | null; + aliqAmmNorm?: number | null; + cambioDiviCont?: number | null; + codBene?: string | null; + codDiviCont?: string | null; + dataInp?: Date | null; + flagCalc?: string | null; + flagStamReg?: string | null; + numCmov?: number | null; + quotaAmmAnt?: number | null; + quotaAmmNorm?: number | null; + type: "ctb_fondi"; + valAgbe?: number | null; + + constructor(data: CtbFondi) { + super(data); + this.aliqAmmAnt = data.aliqAmmAnt; + this.aliqAmmNorm = data.aliqAmmNorm; + this.cambioDiviCont = data.cambioDiviCont; + this.codBene = data.codBene; + this.codDiviCont = data.codDiviCont; + this.dataInp = data.dataInp; + this.flagCalc = data.flagCalc; + this.flagStamReg = data.flagStamReg; + this.numCmov = data.numCmov; + this.quotaAmmAnt = data.quotaAmmAnt; + this.quotaAmmNorm = data.quotaAmmNorm; + this.valAgbe = data.valAgbe; + } +} + +export class CtbGrup extends EntityBase { + codCgrp?: string | null; + descrizione?: string | null; + mastList?: CtbMast[] | null; + sezione?: string | null; + tipo?: string | null; + type: "ctb_grup"; + + constructor(data: CtbGrup) { + super(data); + this.codCgrp = data.codCgrp; + this.descrizione = data.descrizione; + this.mastList = data.mastList; + this.sezione = data.sezione; + this.tipo = data.tipo; + } +} + +export class CtbIliq extends EntityBase { + anno?: number | null; + cambioDiviCont?: number | null; + codDiviCont?: string | null; + credUtilAltri?: number | null; + credUtilIva?: number | null; + dataVers?: Date | null; + descrAltreComp?: string | null; + descrizione?: string | null; + impAltreComp?: string | null; + importo?: number | null; + ivaDebito?: string | null; + numIliq?: number | null; + residuoCredIva?: number | null; + rimborsoCredIva?: number | null; + type: "ctb_iliq"; + ultNumPag?: number | null; + versamento?: number | null; + + constructor(data: CtbIliq) { + super(data); + this.anno = data.anno; + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.credUtilAltri = data.credUtilAltri; + this.credUtilIva = data.credUtilIva; + this.dataVers = data.dataVers; + this.descrAltreComp = data.descrAltreComp; + this.descrizione = data.descrizione; + this.impAltreComp = data.impAltreComp; + this.importo = data.importo; + this.ivaDebito = data.ivaDebito; + this.numIliq = data.numIliq; + this.residuoCredIva = data.residuoCredIva; + this.rimborsoCredIva = data.rimborsoCredIva; + this.ultNumPag = data.ultNumPag; + this.versamento = data.versamento; + } +} + +export class CtbInum extends EntityBase { + anno?: number | null; + codIreg?: string | null; + numIreg?: number | null; + numProt?: number | null; + type: "ctb_inum"; + ultDataStp?: Date | null; + ultNumPag?: number | null; + ultNumStp?: number | null; + + constructor(data: CtbInum) { + super(data); + this.anno = data.anno; + this.codIreg = data.codIreg; + this.numIreg = data.numIreg; + this.numProt = data.numProt; + this.ultDataStp = data.ultDataStp; + this.ultNumPag = data.ultNumPag; + this.ultNumStp = data.ultNumStp; + } +} + +export class CtbIreg extends EntityBase { + codIreg?: string | null; + ctbInum?: CtbInum[] | null; + descrizione?: string | null; + dtbInum?: DtbInum[] | null; + flagExtracee?: string | null; + flagIva?: string | null; + flagIvaDaVentilare?: string | null; + flagScorporo?: string | null; + segnoLiquid?: number | null; + tipoNumerazione?: string | null; + type: "ctb_ireg"; + + constructor(data: CtbIreg) { + super(data); + this.codIreg = data.codIreg; + this.ctbInum = data.ctbInum; + this.descrizione = data.descrizione; + this.dtbInum = data.dtbInum; + this.flagExtracee = data.flagExtracee; + this.flagIva = data.flagIva; + this.flagIvaDaVentilare = data.flagIvaDaVentilare; + this.flagScorporo = data.flagScorporo; + this.segnoLiquid = data.segnoLiquid; + this.tipoNumerazione = data.tipoNumerazione; + } +} + +export class CtbMast extends EntityBase { + codCgrp?: string | null; + codCmas?: string | null; + descrizione?: string | null; + type: "ctb_mast"; + + constructor(data: CtbMast) { + super(data); + this.codCgrp = data.codCgrp; + this.codCmas = data.codCmas; + this.descrizione = data.descrizione; + } +} + +export class CtbMovi extends EntityBase { + cambioDiviCont?: number | null; + cifreDecDiviCont?: number | null; + codAliq?: string | null; + codBiva?: string | null; + codDiviCont?: string | null; + codValuta?: string | null; + flagIvaInclusa?: boolean | null; + flagMarcaDaBollo?: string | null; + flagReverseCharge?: string | null; + flagScorporo?: string | null; + imponibile?: number | null; + imposta?: number | null; + numCmov?: number | null; + riga?: number | null; + tipoIva?: string | null; + type: "ctb_movi"; + valValuta?: number | null; + ventilazione?: boolean | null; + + constructor(data: CtbMovi) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.cifreDecDiviCont = data.cifreDecDiviCont; + this.codAliq = data.codAliq; + this.codBiva = data.codBiva; + this.codDiviCont = data.codDiviCont; + this.codValuta = data.codValuta; + this.flagIvaInclusa = data.flagIvaInclusa; + this.flagMarcaDaBollo = data.flagMarcaDaBollo; + this.flagReverseCharge = data.flagReverseCharge; + this.flagScorporo = data.flagScorporo; + this.imponibile = data.imponibile; + this.imposta = data.imposta; + this.numCmov = data.numCmov; + this.riga = data.riga; + this.tipoIva = data.tipoIva; + this.valValuta = data.valValuta; + this.ventilazione = data.ventilazione; + } +} + +export class CtbMovn extends EntityBase { + anno?: number | null; + numero?: number | null; + type: "ctb_movn"; + + constructor(data: CtbMovn) { + super(data); + this.anno = data.anno; + this.numero = data.numero; + } +} + +export class CtbMovr extends EntityBase { + annoPart?: number | null; + azioneSuPartita?: number | null; + cambioDiviCont?: number | null; + chiudiScad?: string | null; + codAnag?: string | null; + codCcau?: string | null; + codCcon?: string | null; + codCconRisconto?: string | null; + codDiviCont?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codProd?: string | null; + considPartita?: string | null; + ctbAnag?: CtbAnag | null; + ctbMovrCoan?: CtbMovrCoan[] | null; + ctbMovrIntercode?: CtbMovrIntercode[] | null; + ctbParr?: CtbParr[] | null; + ctbScad?: CtbScad[] | null; + dataCmov?: Date | null; + dataFineCompRisc?: Date | null; + dataInizCompRisc?: Date | null; + desAgg?: string | null; + idFlav?: string | null; + idRiga?: number | null; + impAvere?: number | null; + impDare?: number | null; + numCmov?: number | null; + numDoc?: number | null; + partitaMagProd?: string | null; + percDed?: number | null; + riga?: number | null; + serDoc?: string | null; + sezione?: string | null; + tipo?: string | null; + tipoAnag?: string | null; + tipoPartita?: number | null; + tipoRiep?: string | null; + type: "ctb_movr"; + + constructor(data: CtbMovr) { + super(data); + this.annoPart = data.annoPart; + this.azioneSuPartita = data.azioneSuPartita; + this.cambioDiviCont = data.cambioDiviCont; + this.chiudiScad = data.chiudiScad; + this.codAnag = data.codAnag; + this.codCcau = data.codCcau; + this.codCcon = data.codCcon; + this.codCconRisconto = data.codCconRisconto; + this.codDiviCont = data.codDiviCont; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codProd = data.codProd; + this.considPartita = data.considPartita; + this.ctbAnag = data.ctbAnag; + this.ctbMovrCoan = data.ctbMovrCoan; + this.ctbMovrIntercode = data.ctbMovrIntercode; + this.ctbParr = data.ctbParr; + this.ctbScad = data.ctbScad; + this.dataCmov = data.dataCmov; + this.dataFineCompRisc = data.dataFineCompRisc; + this.dataInizCompRisc = data.dataInizCompRisc; + this.desAgg = data.desAgg; + this.idFlav = data.idFlav; + this.idRiga = data.idRiga; + this.impAvere = data.impAvere; + this.impDare = data.impDare; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.partitaMagProd = data.partitaMagProd; + this.percDed = data.percDed; + this.riga = data.riga; + this.serDoc = data.serDoc; + this.sezione = data.sezione; + this.tipo = data.tipo; + this.tipoAnag = data.tipoAnag; + this.tipoPartita = data.tipoPartita; + this.tipoRiep = data.tipoRiep; + } +} + +export class CtbMovrCoan extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMtip?: string | null; + codProd?: string | null; + idFlav?: string | null; + idRiga?: number | null; + idRigaCoan?: number | null; + impAvere?: number | null; + impDare?: number | null; + matricola?: string | null; + note?: string | null; + numCmov?: number | null; + partitaMagProd?: string | null; + type: "ctb_movr_coan"; + + constructor(data: CtbMovrCoan) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMtip = data.codMtip; + this.codProd = data.codProd; + this.idFlav = data.idFlav; + this.idRiga = data.idRiga; + this.idRigaCoan = data.idRigaCoan; + this.impAvere = data.impAvere; + this.impDare = data.impDare; + this.matricola = data.matricola; + this.note = data.note; + this.numCmov = data.numCmov; + this.partitaMagProd = data.partitaMagProd; + } +} + +export class CtbMovrIntercode extends EntityBase { + id?: number | null; + idRiga?: number | null; + intercode?: string | null; + numCmov?: number | null; + numDocOrig?: string | null; + type: "ctb_movr_intercode"; + + constructor(data: CtbMovrIntercode) { + super(data); + this.id = data.id; + this.idRiga = data.idRiga; + this.intercode = data.intercode; + this.numCmov = data.numCmov; + this.numDocOrig = data.numDocOrig; + } +} + +export class CtbMovt extends EntityBase { + acconto?: number | null; + annoComp?: number | null; + cambioDiviCont?: number | null; + codAnag?: string | null; + codAnagTitolo?: string | null; + codCcau?: string | null; + codCcauRc?: string | null; + codDiviCont?: string | null; + codIreg?: string | null; + codJcom?: string | null; + codPaga?: string | null; + codVage?: string | null; + crlMovAttached?: CrlMovAttached[] | null; + ctbInum?: CtbInum | null; + ctbMovi?: CtbMovi[] | null; + ctbMovr?: CtbMovr[] | null; + ctbMovtRc?: CtbMovt | null; + ctbPart?: CtbPart | null; + ctbScad?: CtbScad[] | null; + dataCmov?: Date | null; + dataCompIva?: Date | null; + dataDoc?: Date | null; + dataIns?: Date | null; + dataMod?: Date | null; + dataRicezione?: Date | null; + descrizioneCaus?: string | null; + flagCheckPlafond?: string | null; + flag_scorporo?: string | null; + generaReverseCharge?: string | null; + generaScad?: string | null; + gtbAnag?: GtbAnag | null; + iban?: string | null; + idTitolo?: number | null; + importo?: number | null; + inseritoDa?: string | null; + isAutofattura?: string | null; + modificatoDa?: string | null; + numCmov?: number | null; + numCmovRc?: number | null; + numCmovRif?: number | null; + numDoc?: number | null; + numDocForn?: string | null; + numDocRc?: number | null; + numIreg?: number | null; + numProt?: number | null; + numProtRc?: number | null; + rifImport?: string | null; + serDoc?: string | null; + stamGio?: string | null; + stamIva?: string | null; + tipoAnag?: string | null; + tipoPartita?: number | null; + tipo_numerazione?: string | null; + totImponib?: number | null; + totIva?: number | null; + type: "ctb_movt"; + vtbDistIncat?: VtbDistIncat | null; + + constructor(data: CtbMovt) { + super(data); + this.acconto = data.acconto; + this.annoComp = data.annoComp; + this.cambioDiviCont = data.cambioDiviCont; + this.codAnag = data.codAnag; + this.codAnagTitolo = data.codAnagTitolo; + this.codCcau = data.codCcau; + this.codCcauRc = data.codCcauRc; + this.codDiviCont = data.codDiviCont; + this.codIreg = data.codIreg; + this.codJcom = data.codJcom; + this.codPaga = data.codPaga; + this.codVage = data.codVage; + this.crlMovAttached = data.crlMovAttached; + this.ctbInum = data.ctbInum; + this.ctbMovi = data.ctbMovi; + this.ctbMovr = data.ctbMovr; + this.ctbMovtRc = data.ctbMovtRc; + this.ctbPart = data.ctbPart; + this.ctbScad = data.ctbScad; + this.dataCmov = data.dataCmov; + this.dataCompIva = data.dataCompIva; + this.dataDoc = data.dataDoc; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.dataRicezione = data.dataRicezione; + this.descrizioneCaus = data.descrizioneCaus; + this.flagCheckPlafond = data.flagCheckPlafond; + this.flag_scorporo = data.flag_scorporo; + this.generaReverseCharge = data.generaReverseCharge; + this.generaScad = data.generaScad; + this.gtbAnag = data.gtbAnag; + this.iban = data.iban; + this.idTitolo = data.idTitolo; + this.importo = data.importo; + this.inseritoDa = data.inseritoDa; + this.isAutofattura = data.isAutofattura; + this.modificatoDa = data.modificatoDa; + this.numCmov = data.numCmov; + this.numCmovRc = data.numCmovRc; + this.numCmovRif = data.numCmovRif; + this.numDoc = data.numDoc; + this.numDocForn = data.numDocForn; + this.numDocRc = data.numDocRc; + this.numIreg = data.numIreg; + this.numProt = data.numProt; + this.numProtRc = data.numProtRc; + this.rifImport = data.rifImport; + this.serDoc = data.serDoc; + this.stamGio = data.stamGio; + this.stamIva = data.stamIva; + this.tipoAnag = data.tipoAnag; + this.tipoPartita = data.tipoPartita; + this.tipo_numerazione = data.tipo_numerazione; + this.totImponib = data.totImponib; + this.totIva = data.totIva; + this.vtbDistIncat = data.vtbDistIncat; + } +} + +export class CtbNcIntracee extends EntityBase { + codNcIntracee?: string | null; + cpa?: string | null; + ctbNcIntraceer?: CtbNcIntraceer[] | null; + descrizione?: string | null; + descrizioneEstera?: string | null; + rapConvIntracee?: number | null; + sezioneDogana?: string | null; + taric?: string | null; + tipoCodice?: string | null; + type: "ctb_nc_intracee"; + untMisIntracee?: string | null; + + constructor(data: CtbNcIntracee) { + super(data); + this.codNcIntracee = data.codNcIntracee; + this.cpa = data.cpa; + this.ctbNcIntraceer = data.ctbNcIntraceer; + this.descrizione = data.descrizione; + this.descrizioneEstera = data.descrizioneEstera; + this.rapConvIntracee = data.rapConvIntracee; + this.sezioneDogana = data.sezioneDogana; + this.taric = data.taric; + this.tipoCodice = data.tipoCodice; + this.untMisIntracee = data.untMisIntracee; + } +} + +export class CtbNcIntraceer extends EntityBase { + codNcIntracee?: string | null; + famiglia?: string | null; + numProt?: string | null; + sezione?: number | null; + type: "ctb_nc_intraceer"; + + constructor(data: CtbNcIntraceer) { + super(data); + this.codNcIntracee = data.codNcIntracee; + this.famiglia = data.famiglia; + this.numProt = data.numProt; + this.sezione = data.sezione; + } +} + +export class CtbParr extends EntityBase { + annoPart?: number | null; + cambioDiviCont?: number | null; + cambioDiviScad?: number | null; + chiudiScad?: string | null; + codAnag?: string | null; + codCcau?: string | null; + codCcon?: string | null; + codDiviCont?: string | null; + ctbScad?: CtbScad[] | null; + dataCmov?: Date | null; + dataDoc?: Date | null; + desAgg?: string | null; + idRiga?: number | null; + impAvere?: number | null; + impDare?: number | null; + numCmov?: number | null; + numDoc?: number | null; + serDoc?: string | null; + tipoAnag?: string | null; + tipoPartita?: number | null; + type: "ctb_parr"; + + constructor(data: CtbParr) { + super(data); + this.annoPart = data.annoPart; + this.cambioDiviCont = data.cambioDiviCont; + this.cambioDiviScad = data.cambioDiviScad; + this.chiudiScad = data.chiudiScad; + this.codAnag = data.codAnag; + this.codCcau = data.codCcau; + this.codCcon = data.codCcon; + this.codDiviCont = data.codDiviCont; + this.ctbScad = data.ctbScad; + this.dataCmov = data.dataCmov; + this.dataDoc = data.dataDoc; + this.desAgg = data.desAgg; + this.idRiga = data.idRiga; + this.impAvere = data.impAvere; + this.impDare = data.impDare; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.tipoAnag = data.tipoAnag; + this.tipoPartita = data.tipoPartita; + } +} + +export class CtbPart extends EntityBase { + acconto?: number | null; + annoPart?: number | null; + averePart?: number | null; + avereScad?: number | null; + cambio?: number | null; + cambioDiviCont?: number | null; + codAbi?: string | null; + codAnag?: string | null; + codBanc?: string | null; + codCab?: string | null; + codDivi?: string | null; + codDiviCont?: string | null; + codJcom?: string | null; + codPaga?: string | null; + codVage?: string | null; + ctbParr?: CtbParr[] | null; + ctbScad?: CtbScad[] | null; + darePart?: number | null; + dareScad?: number | null; + dataDoc?: Date | null; + flagIncagliato?: string | null; + flagVerificata?: string | null; + generaScad?: string | null; + iban?: string | null; + nettoMerce?: number | null; + numDoc?: number | null; + numDocForn?: string | null; + recuperoCrediti?: string | null; + serDoc?: string | null; + tipoAnag?: string | null; + tipoPartita?: number | null; + totImponib?: number | null; + totIva?: number | null; + totProvvig?: number | null; + type: "ctb_part"; + + constructor(data: CtbPart) { + super(data); + this.acconto = data.acconto; + this.annoPart = data.annoPart; + this.averePart = data.averePart; + this.avereScad = data.avereScad; + this.cambio = data.cambio; + this.cambioDiviCont = data.cambioDiviCont; + this.codAbi = data.codAbi; + this.codAnag = data.codAnag; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.codDivi = data.codDivi; + this.codDiviCont = data.codDiviCont; + this.codJcom = data.codJcom; + this.codPaga = data.codPaga; + this.codVage = data.codVage; + this.ctbParr = data.ctbParr; + this.ctbScad = data.ctbScad; + this.darePart = data.darePart; + this.dareScad = data.dareScad; + this.dataDoc = data.dataDoc; + this.flagIncagliato = data.flagIncagliato; + this.flagVerificata = data.flagVerificata; + this.generaScad = data.generaScad; + this.iban = data.iban; + this.nettoMerce = data.nettoMerce; + this.numDoc = data.numDoc; + this.numDocForn = data.numDocForn; + this.recuperoCrediti = data.recuperoCrediti; + this.serDoc = data.serDoc; + this.tipoAnag = data.tipoAnag; + this.tipoPartita = data.tipoPartita; + this.totImponib = data.totImponib; + this.totIva = data.totIva; + this.totProvvig = data.totProvvig; + } +} + +export class CtbPlafondIva extends EntityBase { + anno?: number | null; + codAnag?: string | null; + dataRicevuta?: Date | null; + descrizioneMerce?: string | null; + dogana?: number | null; + flagAcquisti?: number | null; + flagDichIntegrata?: number | null; + flagDichIntegrativa?: number | null; + flagImportazioni?: number | null; + idPlafondIva?: number | null; + importo?: number | null; + numDich?: number | null; + numProt?: string | null; + numProtClieT?: string | null; + numProtDichRif?: string | null; + numProtRif?: string | null; + saldo?: number | null; + tipoAnag?: string | null; + type: "ctb_plafond_iva"; + + constructor(data: CtbPlafondIva) { + super(data); + this.anno = data.anno; + this.codAnag = data.codAnag; + this.dataRicevuta = data.dataRicevuta; + this.descrizioneMerce = data.descrizioneMerce; + this.dogana = data.dogana; + this.flagAcquisti = data.flagAcquisti; + this.flagDichIntegrata = data.flagDichIntegrata; + this.flagDichIntegrativa = data.flagDichIntegrativa; + this.flagImportazioni = data.flagImportazioni; + this.idPlafondIva = data.idPlafondIva; + this.importo = data.importo; + this.numDich = data.numDich; + this.numProt = data.numProt; + this.numProtClieT = data.numProtClieT; + this.numProtDichRif = data.numProtDichRif; + this.numProtRif = data.numProtRif; + this.saldo = data.saldo; + this.tipoAnag = data.tipoAnag; + } +} + +export class CtbPlafondIvaT extends EntityBase { + anno?: number | null; + codFiscIntermediario?: string | null; + dataImpegno?: Date | null; + dataInvio?: Date | null; + flagCessioniIntra?: number | null; + flagCessioniSm?: number | null; + flagDichiarazioneIva?: number | null; + flagEsportazioni?: number | null; + flagOpzAssimilate?: number | null; + flagOpzStraordinarie?: number | null; + idPlafondIva?: number | null; + numProtDich?: string | null; + tipoFornitore?: string | null; + tipoPlafond?: number | null; + type: "ctb_plafond_iva_t"; + + constructor(data: CtbPlafondIvaT) { + super(data); + this.anno = data.anno; + this.codFiscIntermediario = data.codFiscIntermediario; + this.dataImpegno = data.dataImpegno; + this.dataInvio = data.dataInvio; + this.flagCessioniIntra = data.flagCessioniIntra; + this.flagCessioniSm = data.flagCessioniSm; + this.flagDichiarazioneIva = data.flagDichiarazioneIva; + this.flagEsportazioni = data.flagEsportazioni; + this.flagOpzAssimilate = data.flagOpzAssimilate; + this.flagOpzStraordinarie = data.flagOpzStraordinarie; + this.idPlafondIva = data.idPlafondIva; + this.numProtDich = data.numProtDich; + this.tipoFornitore = data.tipoFornitore; + this.tipoPlafond = data.tipoPlafond; + } +} + +export class CtbRiclas extends EntityBase { + codCriclas?: string | null; + ctbRiclasConti?: CtbRiclasConti[] | null; + ctbRiclasContiDet?: CtbRiclasContiDet[] | null; + ctbRiclasPdc?: CtbRiclasPdc[] | null; + descrizione?: string | null; + type: "ctb_riclas"; + + constructor(data: CtbRiclas) { + super(data); + this.codCriclas = data.codCriclas; + this.ctbRiclasConti = data.ctbRiclasConti; + this.ctbRiclasContiDet = data.ctbRiclasContiDet; + this.ctbRiclasPdc = data.ctbRiclasPdc; + this.descrizione = data.descrizione; + } +} + +export class CtbRiclasConti extends EntityBase { + codCconRiclas?: string | null; + codCriclas?: string | null; + codGruppo?: string | null; + descrizione?: string | null; + flagTipoRiga?: string | null; + posizione?: number | null; + saldoAnno?: number | null; + saldoAnnoPrec?: number | null; + saldoPeriodo?: number | null; + saldoPeriodoPrec?: number | null; + sezione?: number | null; + type: "ctb_riclas_conti"; + + constructor(data: CtbRiclasConti) { + super(data); + this.codCconRiclas = data.codCconRiclas; + this.codCriclas = data.codCriclas; + this.codGruppo = data.codGruppo; + this.descrizione = data.descrizione; + this.flagTipoRiga = data.flagTipoRiga; + this.posizione = data.posizione; + this.saldoAnno = data.saldoAnno; + this.saldoAnnoPrec = data.saldoAnnoPrec; + this.saldoPeriodo = data.saldoPeriodo; + this.saldoPeriodoPrec = data.saldoPeriodoPrec; + this.sezione = data.sezione; + } +} + +export class CtbRiclasContiDet extends EntityBase { + codCconPdc?: string | null; + codCconRiclas?: string | null; + codCriclas?: string | null; + codGruppo?: string | null; + descrizione?: string | null; + flagTipoRiga?: string | null; + posizione?: number | null; + saldoAnno?: number | null; + saldoAnnoPrec?: number | null; + saldoPeriodo?: number | null; + saldoPeriodoPrec?: number | null; + type: "ctb_riclas_conti_det"; + + constructor(data: CtbRiclasContiDet) { + super(data); + this.codCconPdc = data.codCconPdc; + this.codCconRiclas = data.codCconRiclas; + this.codCriclas = data.codCriclas; + this.codGruppo = data.codGruppo; + this.descrizione = data.descrizione; + this.flagTipoRiga = data.flagTipoRiga; + this.posizione = data.posizione; + this.saldoAnno = data.saldoAnno; + this.saldoAnnoPrec = data.saldoAnnoPrec; + this.saldoPeriodo = data.saldoPeriodo; + this.saldoPeriodoPrec = data.saldoPeriodoPrec; + } +} + +export class CtbRiclasPdc extends EntityBase { + codCcon?: string | null; + codCconRiclasAvere?: string | null; + codCconRiclasDare?: string | null; + codCriclas?: string | null; + segnoAvere?: number | null; + segnoDare?: number | null; + type: "ctb_riclas_pdc"; + + constructor(data: CtbRiclasPdc) { + super(data); + this.codCcon = data.codCcon; + this.codCconRiclasAvere = data.codCconRiclasAvere; + this.codCconRiclasDare = data.codCconRiclasDare; + this.codCriclas = data.codCriclas; + this.segnoAvere = data.segnoAvere; + this.segnoDare = data.segnoDare; + } +} + +export class CtbRitAcc extends EntityBase { + annoComp?: number | null; + cambioDiviCont?: number | null; + cassaPrevidenza?: number | null; + causale?: string | null; + codCausRit?: string | null; + codDiviCont?: string | null; + codForn?: string | null; + ctbMovt?: CtbMovt | null; + ctbRitAccEnasarcoEl?: CtbRitAccEnasarcoEl | null; + dataComp?: Date | null; + dataDoc?: Date | null; + dataPagamento?: Date | null; + dataVersInps?: Date | null; + dataVersamIrpef?: Date | null; + flagStampato?: string | null; + generaScadenze?: string | null; + imponibileInps?: number | null; + imponibileIrpef?: number | null; + importoEnasarco?: number | null; + importoInps?: number | null; + importoIva?: number | null; + importoOnorario?: number | null; + importoPagato?: number | null; + importoRimborso?: number | null; + importoRitAcc?: number | null; + importoVersatoInps?: number | null; + inpsPerc?: number | null; + modVers?: string | null; + modello?: string | null; + numCmovFat?: number | null; + numCmovPaga?: number | null; + numDoc?: number | null; + numQuietanzaIrpef?: string | null; + percCassaPrev?: number | null; + percImponibileInps?: number | null; + percImponibileIrpef?: number | null; + percInps?: number | null; + percInpsPerc?: number | null; + percIrpef?: number | null; + serDoc?: string | null; + type: "ctb_rit_acc"; + + constructor(data: CtbRitAcc) { + super(data); + this.annoComp = data.annoComp; + this.cambioDiviCont = data.cambioDiviCont; + this.cassaPrevidenza = data.cassaPrevidenza; + this.causale = data.causale; + this.codCausRit = data.codCausRit; + this.codDiviCont = data.codDiviCont; + this.codForn = data.codForn; + this.ctbMovt = data.ctbMovt; + this.ctbRitAccEnasarcoEl = data.ctbRitAccEnasarcoEl; + this.dataComp = data.dataComp; + this.dataDoc = data.dataDoc; + this.dataPagamento = data.dataPagamento; + this.dataVersInps = data.dataVersInps; + this.dataVersamIrpef = data.dataVersamIrpef; + this.flagStampato = data.flagStampato; + this.generaScadenze = data.generaScadenze; + this.imponibileInps = data.imponibileInps; + this.imponibileIrpef = data.imponibileIrpef; + this.importoEnasarco = data.importoEnasarco; + this.importoInps = data.importoInps; + this.importoIva = data.importoIva; + this.importoOnorario = data.importoOnorario; + this.importoPagato = data.importoPagato; + this.importoRimborso = data.importoRimborso; + this.importoRitAcc = data.importoRitAcc; + this.importoVersatoInps = data.importoVersatoInps; + this.inpsPerc = data.inpsPerc; + this.modVers = data.modVers; + this.modello = data.modello; + this.numCmovFat = data.numCmovFat; + this.numCmovPaga = data.numCmovPaga; + this.numDoc = data.numDoc; + this.numQuietanzaIrpef = data.numQuietanzaIrpef; + this.percCassaPrev = data.percCassaPrev; + this.percImponibileInps = data.percImponibileInps; + this.percImponibileIrpef = data.percImponibileIrpef; + this.percInps = data.percInps; + this.percInpsPerc = data.percInpsPerc; + this.percIrpef = data.percIrpef; + this.serDoc = data.serDoc; + } +} + +export class CtbRitAccEnasarcoEl extends EntityBase { + annoComp?: number | null; + codAnag?: string | null; + dataDoc?: Date | null; + enasarcoImp?: number | null; + numDoc?: number | null; + provvPag?: number | null; + serDoc?: string | null; + trimComp?: number | null; + type: "ctb_rit_acc_enasarco_el"; + + constructor(data: CtbRitAccEnasarcoEl) { + super(data); + this.annoComp = data.annoComp; + this.codAnag = data.codAnag; + this.dataDoc = data.dataDoc; + this.enasarcoImp = data.enasarcoImp; + this.numDoc = data.numDoc; + this.provvPag = data.provvPag; + this.serDoc = data.serDoc; + this.trimComp = data.trimComp; + } +} + +export class CtbSana extends EntityBase { + anno?: number | null; + avere?: number | null; + cambioDiviCont?: number | null; + codAnag?: string | null; + codCcon?: string | null; + codDiviCont?: string | null; + dare?: number | null; + saldoIniz?: number | null; + type: "ctb_sana"; + + constructor(data: CtbSana) { + super(data); + this.anno = data.anno; + this.avere = data.avere; + this.cambioDiviCont = data.cambioDiviCont; + this.codAnag = data.codAnag; + this.codCcon = data.codCcon; + this.codDiviCont = data.codDiviCont; + this.dare = data.dare; + this.saldoIniz = data.saldoIniz; + } +} + +export class CtbScad extends EntityBase { + annoPart?: number | null; + codAnag?: string | null; + codPaga?: string | null; + crlScadParr?: CrlScadParr[] | null; + ctbParr?: CtbParr[] | null; + dataAntProvv?: Date | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + dataPag?: Date | null; + dataScad?: Date | null; + dataTitolo?: Date | null; + dataUltSoll?: Date | null; + descrizPag?: string | null; + gestione?: string | null; + idRiga?: number | null; + idTitolo?: number | null; + id_riga_mov?: number | null; + impAvere?: number | null; + impDare?: number | null; + intercode?: string | null; + is_insoluto?: boolean | null; + note?: string | null; + numCmov?: number | null; + numDoc?: number | null; + numOrd?: number | null; + pk_relazione?: number | null; + riaperta?: boolean | null; + serDoc?: string | null; + tipoAnag?: string | null; + tipoPartita?: number | null; + type: "ctb_scad"; + ultSoll?: number | null; + + constructor(data: CtbScad) { + super(data); + this.annoPart = data.annoPart; + this.codAnag = data.codAnag; + this.codPaga = data.codPaga; + this.crlScadParr = data.crlScadParr; + this.ctbParr = data.ctbParr; + this.dataAntProvv = data.dataAntProvv; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.dataPag = data.dataPag; + this.dataScad = data.dataScad; + this.dataTitolo = data.dataTitolo; + this.dataUltSoll = data.dataUltSoll; + this.descrizPag = data.descrizPag; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.idTitolo = data.idTitolo; + this.id_riga_mov = data.id_riga_mov; + this.impAvere = data.impAvere; + this.impDare = data.impDare; + this.intercode = data.intercode; + this.is_insoluto = data.is_insoluto; + this.note = data.note; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.pk_relazione = data.pk_relazione; + this.riaperta = data.riaperta; + this.serDoc = data.serDoc; + this.tipoAnag = data.tipoAnag; + this.tipoPartita = data.tipoPartita; + this.ultSoll = data.ultSoll; + } +} + +export class CtbScon extends EntityBase { + anno?: number | null; + avere?: number | null; + cambioDiviCont?: number | null; + codCcon?: string | null; + codDiviCont?: string | null; + dare?: number | null; + saldoIniz?: number | null; + type: "ctb_scon"; + + constructor(data: CtbScon) { + super(data); + this.anno = data.anno; + this.avere = data.avere; + this.cambioDiviCont = data.cambioDiviCont; + this.codCcon = data.codCcon; + this.codDiviCont = data.codDiviCont; + this.dare = data.dare; + this.saldoIniz = data.saldoIniz; + } +} + +export class CtbSctg extends EntityBase { + codCcat?: string | null; + codCsct?: string | null; + descrizione?: string | null; + type: "ctb_sctg"; + + constructor(data: CtbSctg) { + super(data); + this.codCcat = data.codCcat; + this.codCsct = data.codCsct; + this.descrizione = data.descrizione; + } +} + +export class CtbSolr extends EntityBase { + codLingua?: string | null; + flagIncagliaScad?: string | null; + footer?: string | null; + footerPro?: string | null; + lettera?: string | null; + letteraPro?: string | null; + numSoll?: number | null; + titoliScad?: string | null; + type: "ctb_solr"; + + constructor(data: CtbSolr) { + super(data); + this.codLingua = data.codLingua; + this.flagIncagliaScad = data.flagIncagliaScad; + this.footer = data.footer; + this.footerPro = data.footerPro; + this.lettera = data.lettera; + this.letteraPro = data.letteraPro; + this.numSoll = data.numSoll; + this.titoliScad = data.titoliScad; + } +} + +export class CtbSolt extends EntityBase { + ctbSolr?: CtbSolr[] | null; + ggRitardo?: number | null; + numSoll?: number | null; + type: "ctb_solt"; + + constructor(data: CtbSolt) { + super(data); + this.ctbSolr = data.ctbSolr; + this.ggRitardo = data.ggRitardo; + this.numSoll = data.numSoll; + } +} + +export class CtbTipoAzienda extends EntityBase { + descrizione?: string | null; + tipoAzienda?: string | null; + type: "ctb_tipo_azienda"; + + constructor(data: CtbTipoAzienda) { + super(data); + this.descrizione = data.descrizione; + this.tipoAzienda = data.tipoAzienda; + } +} + +export class CtbTipoRiep extends EntityBase { + considPartita?: string | null; + tipoAnag?: string | null; + tipoRiep?: string | null; + type: "ctb_tipo_riep"; + + constructor(data: CtbTipoRiep) { + super(data); + this.considPartita = data.considPartita; + this.tipoAnag = data.tipoAnag; + this.tipoRiep = data.tipoRiep; + } +} + +export class CtbTitoli extends EntityBase { + codAbi?: string | null; + codAnag?: string | null; + codBanc?: string | null; + codCab?: string | null; + codPaga?: string | null; + codVage?: string | null; + ctbScad?: CtbScad[] | null; + ctbTitoliDt?: CtbTitoliDt[] | null; + dataRicezione?: Date | null; + dataTitolo?: Date | null; + descrizione?: string | null; + flagbloccaIncasso?: string | null; + idTitolo?: number | null; + importoEvaso?: number | null; + importoTitolo?: number | null; + note?: string | null; + numCmov?: number | null; + type: "ctb_titoli"; + + constructor(data: CtbTitoli) { + super(data); + this.codAbi = data.codAbi; + this.codAnag = data.codAnag; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.codPaga = data.codPaga; + this.codVage = data.codVage; + this.ctbScad = data.ctbScad; + this.ctbTitoliDt = data.ctbTitoliDt; + this.dataRicezione = data.dataRicezione; + this.dataTitolo = data.dataTitolo; + this.descrizione = data.descrizione; + this.flagbloccaIncasso = data.flagbloccaIncasso; + this.idTitolo = data.idTitolo; + this.importoEvaso = data.importoEvaso; + this.importoTitolo = data.importoTitolo; + this.note = data.note; + this.numCmov = data.numCmov; + } +} + +export class CtbTitoliDt extends EntityBase { + codAnag?: string | null; + dataOrd?: Date | null; + dataTitolo?: Date | null; + gestione?: string | null; + idTitolo?: number | null; + importo?: number | null; + importoEvaso?: number | null; + numOrd?: number | null; + type: "ctb_titoli_dt"; + + constructor(data: CtbTitoliDt) { + super(data); + this.codAnag = data.codAnag; + this.dataOrd = data.dataOrd; + this.dataTitolo = data.dataTitolo; + this.gestione = data.gestione; + this.idTitolo = data.idTitolo; + this.importo = data.importo; + this.importoEvaso = data.importoEvaso; + this.numOrd = data.numOrd; + } +} + +export class CtbVarbeni extends EntityBase { + cambioDiviCont?: number | null; + codAgbe?: string | null; + codBene?: string | null; + codDiviCont?: string | null; + dataVar?: Date | null; + descrizioneVar?: string | null; + flagAmm1a?: string | null; + flagStamReg?: string | null; + idRiga?: number | null; + numCmov?: number | null; + numVariazione?: number | null; + residuoVendVar?: number | null; + rivalutazione?: string | null; + type: "ctb_varbeni"; + valoreVar?: number | null; + valoreVendVar?: number | null; + varFondoAnt?: number | null; + varFondoOrd?: number | null; + + constructor(data: CtbVarbeni) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codAgbe = data.codAgbe; + this.codBene = data.codBene; + this.codDiviCont = data.codDiviCont; + this.dataVar = data.dataVar; + this.descrizioneVar = data.descrizioneVar; + this.flagAmm1a = data.flagAmm1a; + this.flagStamReg = data.flagStamReg; + this.idRiga = data.idRiga; + this.numCmov = data.numCmov; + this.numVariazione = data.numVariazione; + this.residuoVendVar = data.residuoVendVar; + this.rivalutazione = data.rivalutazione; + this.valoreVar = data.valoreVar; + this.valoreVendVar = data.valoreVendVar; + this.varFondoAnt = data.varFondoAnt; + this.varFondoOrd = data.varFondoOrd; + } +} + +export class CtbVarbeniRival extends EntityBase { + rivalutazione?: string | null; + type: "ctb_varbeni_rival"; + + constructor(data: CtbVarbeniRival) { + super(data); + this.rivalutazione = data.rivalutazione; + } +} + +export class Curva { + curvaRow?: CurvaRow[] | null; + dataOrd?: Date | null; + dataReg?: Date | null; + gestione?: string | null; + numOrd?: number | null; + pesoMedio?: number | null; + qtaInProd?: number | null; + + constructor(data: Curva) { + this.curvaRow = data.curvaRow; + this.dataOrd = data.dataOrd; + this.dataReg = data.dataReg; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.pesoMedio = data.pesoMedio; + this.qtaInProd = data.qtaInProd; + } +} + +export class CurvaRow { + codMart?: string | null; + curvaRowDett?: CurvaRowDett[] | null; + dataChiusura?: Date | null; + flagTipoStep?: string | null; + numFase?: number | null; + rapConv?: number | null; + rigaOrd?: number | null; + untMis?: string | null; + + constructor(data: CurvaRow) { + this.codMart = data.codMart; + this.curvaRowDett = data.curvaRowDett; + this.dataChiusura = data.dataChiusura; + this.flagTipoStep = data.flagTipoStep; + this.numFase = data.numFase; + this.rapConv = data.rapConv; + this.rigaOrd = data.rigaOrd; + this.untMis = data.untMis; + } +} + +export class CurvaRowDett { + partitaMag?: string | null; + qta?: number | null; + + constructor(data: CurvaRowDett) { + this.partitaMag = data.partitaMag; + this.qta = data.qta; + } +} + +export class CustomEmailDTO { + detail?: CustomEmailRowDTO[] | null; + emailMittente?: string | null; + gestName?: string | null; + + constructor(data: CustomEmailDTO) { + this.detail = data.detail; + this.emailMittente = data.emailMittente; + this.gestName = data.gestName; + } +} + +export class CustomEmailRowDTO { + citta?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codvdes?: string | null; + dataDoc?: Date | null; + descrTipoDoc?: string | null; + emailDestinatario?: string | null; + numDoc?: number | null; + persRif?: string | null; + ragSoc?: string | null; + serDoc?: string | null; + totDoc?: number | null; + + constructor(data: CustomEmailRowDTO) { + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codvdes = data.codvdes; + this.dataDoc = data.dataDoc; + this.descrTipoDoc = data.descrTipoDoc; + this.emailDestinatario = data.emailDestinatario; + this.numDoc = data.numDoc; + this.persRif = data.persRif; + this.ragSoc = data.ragSoc; + this.serDoc = data.serDoc; + this.totDoc = data.totDoc; + } +} + +export class CustomerAddressDTO { + IDGestionale_Address?: string | null; + address_1?: string | null; + address_2?: string | null; + city?: string | null; + company?: string | null; + country_id?: string | null; + default?: string | null; + firstname?: string | null; + lastname?: string | null; + postcode?: string | null; + zone_id?: string | null; + + constructor(data: CustomerAddressDTO) { + this.IDGestionale_Address = data.IDGestionale_Address; + this.address_1 = data.address_1; + this.address_2 = data.address_2; + this.city = data.city; + this.company = data.company; + this.country_id = data.country_id; + this.default = data.default; + this.firstname = data.firstname; + this.lastname = data.lastname; + this.postcode = data.postcode; + this.zone_id = data.zone_id; + } +} + +export class CustomerDTOCustomField { + "1"?: string | null; + "2"?: string | null; + "3"?: string | null; + + constructor(data: CustomerDTOCustomField) { + this["1"] = data["1"]; + this["2"] = data["2"]; + this["3"] = data["3"]; + } +} + +export class CustomerInsertDTO { + address?: CustomerAddressDTO[] | null; + approved?: string | null; + confirm?: string | null; + custom_field?: CustomerDTOCustomField | null; + customer_group_id?: string | null; + email?: string | null; + fax?: string | null; + firstname?: string | null; + lastname?: string | null; + newsletter?: string | null; + password?: string | null; + safe?: string | null; + status?: string | null; + telephone?: string | null; + + constructor(data: CustomerInsertDTO) { + this.address = data.address; + this.approved = data.approved; + this.confirm = data.confirm; + this.custom_field = data.custom_field; + this.customer_group_id = data.customer_group_id; + this.email = data.email; + this.fax = data.fax; + this.firstname = data.firstname; + this.lastname = data.lastname; + this.newsletter = data.newsletter; + this.password = data.password; + this.safe = data.safe; + this.status = data.status; + this.telephone = data.telephone; + } +} + +export class CustomerPriceListDTO { + codAnag?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codVdes?: string | null; + codVlis?: string | null; + dataPrezzo?: string | null; + + constructor(data: CustomerPriceListDTO) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codVdes = data.codVdes; + this.codVlis = data.codVlis; + this.dataPrezzo = data.dataPrezzo; + } +} + +export class CustomerUpdateDTO { + address?: CustomerAddressDTO[] | null; + custom_field?: CustomerDTOCustomField | null; + email?: string | null; + fax?: string | null; + firstname?: string | null; + lastname?: string | null; + status?: string | null; + telephone?: string | null; + + constructor(data: CustomerUpdateDTO) { + this.address = data.address; + this.custom_field = data.custom_field; + this.email = data.email; + this.fax = data.fax; + this.firstname = data.firstname; + this.lastname = data.lastname; + this.status = data.status; + this.telephone = data.telephone; + } +} + +export class DASAcciseDTO { + codAnag?: string | null; + codDtip?: string | null; + consignorExciseNumber?: string | null; + dataDoc?: Date | null; + driverName?: string | null; + driverSurname?: string | null; + identityOfTransportUnits?: string | null; + identityOfTransportUnitsTrailer?: string | null; + invoceNumber?: number | null; + items?: DASAcciseDetailDTO[] | null; + journeyTime?: number | null; + numDoc?: number | null; + serDoc?: string | null; + transportArrangement?: number | null; + transportModeCode?: number | null; + transportUnitCode?: number | null; + transportUnitCodeTrailer?: number | null; + + constructor(data: DASAcciseDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.consignorExciseNumber = data.consignorExciseNumber; + this.dataDoc = data.dataDoc; + this.driverName = data.driverName; + this.driverSurname = data.driverSurname; + this.identityOfTransportUnits = data.identityOfTransportUnits; + this.identityOfTransportUnitsTrailer = data.identityOfTransportUnitsTrailer; + this.invoceNumber = data.invoceNumber; + this.items = data.items; + this.journeyTime = data.journeyTime; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.transportArrangement = data.transportArrangement; + this.transportModeCode = data.transportModeCode; + this.transportUnitCode = data.transportUnitCode; + this.transportUnitCodeTrailer = data.transportUnitCodeTrailer; + } +} + +export class DASAcciseDetailDTO { + alcoholicStrength?: number | null; + cPAProductCategory?: string | null; + cnCode?: number | null; + commercialDescription?: string | null; + density?: number | null; + goodIterationNumber?: number | null; + grossWeight?: number | null; + kindOfPackages?: string | null; + language?: string | null; + netWeight?: number | null; + numberOfPackages?: number | null; + quantity?: number | null; + volume?: number | null; + + constructor(data: DASAcciseDetailDTO) { + this.alcoholicStrength = data.alcoholicStrength; + this.cPAProductCategory = data.cPAProductCategory; + this.cnCode = data.cnCode; + this.commercialDescription = data.commercialDescription; + this.density = data.density; + this.goodIterationNumber = data.goodIterationNumber; + this.grossWeight = data.grossWeight; + this.kindOfPackages = data.kindOfPackages; + this.language = data.language; + this.netWeight = data.netWeight; + this.numberOfPackages = data.numberOfPackages; + this.quantity = data.quantity; + this.volume = data.volume; + } +} + +export class DMtcolEl extends EntityBase { + type: "d_mtcol_el"; + + constructor(data: DMtcolEl) { + super(data); + } +} + +export class DataDocFromCollo { + dataDocFromCollo?: Date | null; + numCnfForDate?: number | null; + qtaColForDate?: number | null; + + constructor(data: DataDocFromCollo) { + this.dataDocFromCollo = data.dataDocFromCollo; + this.numCnfForDate = data.numCnfForDate; + this.qtaColForDate = data.qtaColForDate; + } +} + +export class DataSource { + applicationName?: string | null; + closed?: boolean | null; + connection?: MultiDBTransactionConnection | null; + dbName?: string | null; + profile?: string | null; + sessionID?: number | null; + typeDB?: DB_TYPE | null; + + constructor(data: DataSource) { + this.applicationName = data.applicationName; + this.closed = data.closed; + this.connection = data.connection; + this.dbName = data.dbName; + this.profile = data.profile; + this.sessionID = data.sessionID; + this.typeDB = data.typeDB; + } +} + +export class DataTableFilterMetaData { + matchMode?: FilterMatchMode | null; + value?: string | null; + + constructor(data: DataTableFilterMetaData) { + this.matchMode = data.matchMode; + this.value = data.value; + } +} + +export class DataTableOperatorFilterMetaData { + constraints?: DataTableFilterMetaData[] | null; + operator?: FilterOperator | null; + + constructor(data: DataTableOperatorFilterMetaData) { + this.constraints = data.constraints; + this.operator = data.operator; + } +} + +export class DatabaseEngineInfoDTO { + databaseInfoList?: DatabaseInfoDTO[] | null; + productEdition?: string | null; + productLevel?: string | null; + productVersion?: string | null; + productVersionName?: string | null; + + constructor(data: DatabaseEngineInfoDTO) { + this.databaseInfoList = data.databaseInfoList; + this.productEdition = data.productEdition; + this.productLevel = data.productLevel; + this.productVersion = data.productVersion; + this.productVersionName = data.productVersionName; + } +} + +export class DatabaseFile { + dataSpaceId?: number | null; + fileGuid?: string | null; + fileId?: number | null; + growth?: number | null; + maxSize?: number | null; + mediaReadOnly?: boolean | null; + name?: string | null; + nameReversed?: boolean | null; + percentGrowth?: boolean | null; + physicalName?: string | null; + readOnly?: boolean | null; + size?: number | null; + state?: number | null; + stateDesc?: string | null; + type?: number | null; + typeDesc?: string | null; + + constructor(data: DatabaseFile) { + this.dataSpaceId = data.dataSpaceId; + this.fileGuid = data.fileGuid; + this.fileId = data.fileId; + this.growth = data.growth; + this.maxSize = data.maxSize; + this.mediaReadOnly = data.mediaReadOnly; + this.name = data.name; + this.nameReversed = data.nameReversed; + this.percentGrowth = data.percentGrowth; + this.physicalName = data.physicalName; + this.readOnly = data.readOnly; + this.size = data.size; + this.state = data.state; + this.stateDesc = data.stateDesc; + this.type = data.type; + this.typeDesc = data.typeDesc; + } +} + +export class DatabaseForeignKey { + columnName?: string | null; + tableName?: string | null; + + constructor(data: DatabaseForeignKey) { + this.columnName = data.columnName; + this.tableName = data.tableName; + } +} + +export class DatabaseInfoDTO { + logicalName?: string | null; + maxSizeMb?: number | null; + name?: string | null; + sizeMb?: number | null; + + constructor(data: DatabaseInfoDTO) { + this.logicalName = data.logicalName; + this.maxSizeMb = data.maxSizeMb; + this.name = data.name; + this.sizeMb = data.sizeMb; + } +} + +export interface DatabaseMetaData extends Wrapper { + catalogAtStart?: boolean | null; + catalogSeparator?: string | null; + catalogTerm?: string | null; + catalogs?: ResultSet | null; + clientInfoProperties?: ResultSet | null; + connection?: Connection | null; + databaseMajorVersion?: number | null; + databaseMinorVersion?: number | null; + databaseProductName?: string | null; + databaseProductVersion?: string | null; + defaultTransactionIsolation?: number | null; + driverMajorVersion?: number | null; + driverMinorVersion?: number | null; + driverName?: string | null; + driverVersion?: string | null; + extraNameCharacters?: string | null; + identifierQuoteString?: string | null; + jdbcmajorVersion?: number | null; + jdbcminorVersion?: number | null; + maxBinaryLiteralLength?: number | null; + maxCatalogNameLength?: number | null; + maxCharLiteralLength?: number | null; + maxColumnNameLength?: number | null; + maxColumnsInGroupBy?: number | null; + maxColumnsInIndex?: number | null; + maxColumnsInOrderBy?: number | null; + maxColumnsInSelect?: number | null; + maxColumnsInTable?: number | null; + maxConnections?: number | null; + maxCursorNameLength?: number | null; + maxIndexLength?: number | null; + maxLogicalLobSize?: number | null; + maxProcedureNameLength?: number | null; + maxRowSize?: number | null; + maxSchemaNameLength?: number | null; + maxStatementLength?: number | null; + maxStatements?: number | null; + maxTableNameLength?: number | null; + maxTablesInSelect?: number | null; + maxUserNameLength?: number | null; + numericFunctions?: string | null; + procedureTerm?: string | null; + readOnly?: boolean | null; + resultSetHoldability?: number | null; + rowIdLifetime?: RowIdLifetime | null; + schemaTerm?: string | null; + schemas?: ResultSet | null; + searchStringEscape?: string | null; + sqlkeywords?: string | null; + sqlstateType?: number | null; + stringFunctions?: string | null; + systemFunctions?: string | null; + tableTypes?: ResultSet | null; + timeDateFunctions?: string | null; + typeInfo?: ResultSet | null; + url?: string | null; + userName?: string | null; +} + +export class DatabaseTableView implements Cloneable { + columns?: DatabaseTableColumn[] | null; + creationDate?: Date | null; + tableName?: string | null; + + constructor(data: DatabaseTableView) { + this.columns = data.columns; + this.creationDate = data.creationDate; + this.tableName = data.tableName; + } +} + +export class DatabaseTable extends DatabaseTableView { + type?: DatabaseObjectTypeEnum | null; + + constructor(data: DatabaseTable) { + super(data); + this.type = data.type; + } +} + +export class DatabaseTableColumn { + characterMaximumLength?: number | null; + characterOctetLength?: number | null; + characterSetCatalog?: string | null; + characterSetName?: string | null; + characterSetSchema?: string | null; + columnDefault?: string | null; + columnName?: string | null; + dataType?: DatabaseTableColumnDataType | null; + datetimePrecision?: number | null; + foreignKeys?: DatabaseForeignKey[] | null; + identity?: boolean | null; + nullable?: boolean | null; + numericPrecision?: number | null; + numericPrecisionRadix?: number | null; + numericScale?: number | null; + ordinalPosition?: number | null; + primaryKey?: boolean | null; + + constructor(data: DatabaseTableColumn) { + this.characterMaximumLength = data.characterMaximumLength; + this.characterOctetLength = data.characterOctetLength; + this.characterSetCatalog = data.characterSetCatalog; + this.characterSetName = data.characterSetName; + this.characterSetSchema = data.characterSetSchema; + this.columnDefault = data.columnDefault; + this.columnName = data.columnName; + this.dataType = data.dataType; + this.datetimePrecision = data.datetimePrecision; + this.foreignKeys = data.foreignKeys; + this.identity = data.identity; + this.nullable = data.nullable; + this.numericPrecision = data.numericPrecision; + this.numericPrecisionRadix = data.numericPrecisionRadix; + this.numericScale = data.numericScale; + this.ordinalPosition = data.ordinalPosition; + this.primaryKey = data.primaryKey; + } +} + +export class DatabaseView extends DatabaseTableView { + type?: DatabaseObjectTypeEnum | null; + + constructor(data: DatabaseView) { + super(data); + this.type = data.type; + } +} + +export class DatiAutomezzoPuddy { + codAuto?: string | null; + codVvet?: string | null; + dataGiornata?: Date | null; + descrizione?: string | null; + importo?: number | null; + kmFinali?: number | null; + kmIniziali?: number | null; + qtaCarb?: number | null; + + constructor(data: DatiAutomezzoPuddy) { + this.codAuto = data.codAuto; + this.codVvet = data.codVvet; + this.dataGiornata = data.dataGiornata; + this.descrizione = data.descrizione; + this.importo = data.importo; + this.kmFinali = data.kmFinali; + this.kmIniziali = data.kmIniziali; + this.qtaCarb = data.qtaCarb; + } +} + +export class DatiAzienda { + cap?: string | null; + citta?: string | null; + codFiscale?: string | null; + indirizzo?: string | null; + nazione?: string | null; + nomeDitta?: string | null; + partIva?: string | null; + prov?: string | null; + + constructor(data: DatiAzienda) { + this.cap = data.cap; + this.citta = data.citta; + this.codFiscale = data.codFiscale; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.nomeDitta = data.nomeDitta; + this.partIva = data.partIva; + this.prov = data.prov; + } +} + +export class DatiBodyFattura { + causaleCittaDes?: string | null; + causaleContab?: string | null; + causaleDesMod?: string | null; + cig?: string | null; + codAnagDocumento?: string | null; + codDivi?: string | null; + codDtipDocumento?: string | null; + codJcom?: string | null; + codVvet?: string | null; + cup?: string | null; + dataContratto?: Date | null; + dataDocumento?: Date | null; + dataInizTrasp?: Date | null; + divisa?: string | null; + gestioneDocumento?: string | null; + idDocumento?: string | null; + mezzoVettore?: string | null; + nazioneVettore?: string | null; + noteCommessa?: string | null; + numAutorizzazioneVettore?: string | null; + numeroColli?: string | null; + numeroDocumento?: number | null; + partitaIvaVettore?: string | null; + peso?: string | null; + ragioneSocialeVettore?: string | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + serieDocumento?: string | null; + tipoDocumento?: string | null; + tipoEmissione?: string | null; + totaleDaPagare?: number | null; + totaleDocumento?: number | null; + + constructor(data: DatiBodyFattura) { + this.causaleCittaDes = data.causaleCittaDes; + this.causaleContab = data.causaleContab; + this.causaleDesMod = data.causaleDesMod; + this.cig = data.cig; + this.codAnagDocumento = data.codAnagDocumento; + this.codDivi = data.codDivi; + this.codDtipDocumento = data.codDtipDocumento; + this.codJcom = data.codJcom; + this.codVvet = data.codVvet; + this.cup = data.cup; + this.dataContratto = data.dataContratto; + this.dataDocumento = data.dataDocumento; + this.dataInizTrasp = data.dataInizTrasp; + this.divisa = data.divisa; + this.gestioneDocumento = data.gestioneDocumento; + this.idDocumento = data.idDocumento; + this.mezzoVettore = data.mezzoVettore; + this.nazioneVettore = data.nazioneVettore; + this.noteCommessa = data.noteCommessa; + this.numAutorizzazioneVettore = data.numAutorizzazioneVettore; + this.numeroColli = data.numeroColli; + this.numeroDocumento = data.numeroDocumento; + this.partitaIvaVettore = data.partitaIvaVettore; + this.peso = data.peso; + this.ragioneSocialeVettore = data.ragioneSocialeVettore; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.serieDocumento = data.serieDocumento; + this.tipoDocumento = data.tipoDocumento; + this.tipoEmissione = data.tipoEmissione; + this.totaleDaPagare = data.totaleDaPagare; + this.totaleDocumento = data.totaleDocumento; + } +} + +export class DatiClientiDTO { + codVdes?: string | null; + datiConsegne?: DatiConsegneDTO[] | null; + sospesiCliente?: SospesiClienteDTO[] | null; + + constructor(data: DatiClientiDTO) { + this.codVdes = data.codVdes; + this.datiConsegne = data.datiConsegne; + this.sospesiCliente = data.sospesiCliente; + } +} + +export class DatiCollo { + dataCollo?: Date | null; + gestione?: string | null; + numCollo?: number | null; + serCollo?: string | null; + + constructor(data: DatiCollo) { + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.numCollo = data.numCollo; + this.serCollo = data.serCollo; + } +} + +export class DatiConsegneDTO { + citta?: string | null; + cliente?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + codVvet?: string | null; + dataDoc?: Date | null; + datiPdf?: DatiPdfDTO | null; + descPaga?: string | null; + dettaglioRighe?: DettaglioRigheDTO[] | null; + flagFirmato?: boolean | null; + fullName?: string | null; + ggDiff?: number | null; + ggPrimaRata?: number | null; + impIncasso?: number | null; + indirizzo?: string | null; + note?: string | null; + numColli?: string | null; + numDoc?: number | null; + peso?: string | null; + reportName?: string | null; + serDoc?: string | null; + sospeso?: boolean | null; + statoImporto?: StatoImporto | null; + totDoc?: number | null; + userName?: string | null; + + constructor(data: DatiConsegneDTO) { + this.citta = data.citta; + this.cliente = data.cliente; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.dataDoc = data.dataDoc; + this.datiPdf = data.datiPdf; + this.descPaga = data.descPaga; + this.dettaglioRighe = data.dettaglioRighe; + this.flagFirmato = data.flagFirmato; + this.fullName = data.fullName; + this.ggDiff = data.ggDiff; + this.ggPrimaRata = data.ggPrimaRata; + this.impIncasso = data.impIncasso; + this.indirizzo = data.indirizzo; + this.note = data.note; + this.numColli = data.numColli; + this.numDoc = data.numDoc; + this.peso = data.peso; + this.reportName = data.reportName; + this.serDoc = data.serDoc; + this.sospeso = data.sospeso; + this.statoImporto = data.statoImporto; + this.totDoc = data.totDoc; + this.userName = data.userName; + } +} + +export class DatiDistintaPuddy { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + impPaga?: number | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: DatiDistintaPuddy) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.impPaga = data.impPaga; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DatiDistintaPuddyEurofood { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + flagElaborato?: string | null; + impPaga?: number | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: DatiDistintaPuddyEurofood) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.flagElaborato = data.flagElaborato; + this.impPaga = data.impPaga; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DatiFiltroDTO { + codAlis?: string | null; + codAnag?: string | null; + codVdes?: string | null; + dataCons?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + pickMultiordine?: boolean | null; + + constructor(data: DatiFiltroDTO) { + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.dataCons = data.dataCons; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.pickMultiordine = data.pickMultiordine; + } +} + +export class DatiGg { + dataMrp?: Date | null; + disponibilita?: number | null; + disponibilitaImmediata?: number | null; + fabbisogno?: number | null; + giacenza?: number | null; + qta_arrivi?: number | null; + qta_impegni?: number | null; + qta_impegni_prox?: number | null; + stato?: number | null; + + constructor(data: DatiGg) { + this.dataMrp = data.dataMrp; + this.disponibilita = data.disponibilita; + this.disponibilitaImmediata = data.disponibilitaImmediata; + this.fabbisogno = data.fabbisogno; + this.giacenza = data.giacenza; + this.qta_arrivi = data.qta_arrivi; + this.qta_impegni = data.qta_impegni; + this.qta_impegni_prox = data.qta_impegni_prox; + this.stato = data.stato; + } +} + +export class DatiHeaderFattura { + cap?: string | null; + capDest?: string | null; + citta?: string | null; + cittaDest?: string | null; + codFiscale?: string | null; + cognome?: string | null; + cuuPa?: string | null; + eMailPec?: string | null; + flagPersonaFG?: string | null; + flagStabileOrg?: string | null; + formatoTrasmissione?: string | null; + gestione?: string | null; + indirizzo?: string | null; + indirizzoDest?: string | null; + nazione?: string | null; + nazioneDest?: string | null; + nome?: string | null; + numCmov?: number | null; + numDoc?: number | null; + partitaIva?: string | null; + partitaIvaDest?: string | null; + prov?: string | null; + provDest?: string | null; + ragSocDest?: string | null; + ragioneSociale?: string | null; + regFisc?: string | null; + + constructor(data: DatiHeaderFattura) { + this.cap = data.cap; + this.capDest = data.capDest; + this.citta = data.citta; + this.cittaDest = data.cittaDest; + this.codFiscale = data.codFiscale; + this.cognome = data.cognome; + this.cuuPa = data.cuuPa; + this.eMailPec = data.eMailPec; + this.flagPersonaFG = data.flagPersonaFG; + this.flagStabileOrg = data.flagStabileOrg; + this.formatoTrasmissione = data.formatoTrasmissione; + this.gestione = data.gestione; + this.indirizzo = data.indirizzo; + this.indirizzoDest = data.indirizzoDest; + this.nazione = data.nazione; + this.nazioneDest = data.nazioneDest; + this.nome = data.nome; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.partitaIva = data.partitaIva; + this.partitaIvaDest = data.partitaIvaDest; + this.prov = data.prov; + this.provDest = data.provDest; + this.ragSocDest = data.ragSocDest; + this.ragioneSociale = data.ragioneSociale; + this.regFisc = data.regFisc; + } +} + +export class DatiMovimento { + aggContab?: string | null; + codAliq?: string | null; + codAliqOmg?: string | null; + codAnag?: string | null; + codAuto?: string | null; + codFornTD?: string | null; + codIvaOmaggi?: string | null; + codMart?: string | null; + codMdepDoc?: string | null; + codPromo?: string | null; + codVdes?: string | null; + codVvet?: string | null; + dataReg?: Date | null; + dataScadPart?: Date | null; + partitaMag?: string | null; + qta?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + sommaSconti?: number | null; + tipoPromo?: string | null; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: DatiMovimento) { + this.aggContab = data.aggContab; + this.codAliq = data.codAliq; + this.codAliqOmg = data.codAliqOmg; + this.codAnag = data.codAnag; + this.codAuto = data.codAuto; + this.codFornTD = data.codFornTD; + this.codIvaOmaggi = data.codIvaOmaggi; + this.codMart = data.codMart; + this.codMdepDoc = data.codMdepDoc; + this.codPromo = data.codPromo; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.dataReg = data.dataReg; + this.dataScadPart = data.dataScadPart; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.sommaSconti = data.sommaSconti; + this.tipoPromo = data.tipoPromo; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class DatiPagamentoDTO { + abi?: string | null; + bic?: string | null; + cab?: string | null; + codPaga?: string | null; + codPagaFe?: string | null; + dataScad?: Date | null; + descrizione?: string | null; + iban?: string | null; + importo?: number | null; + + constructor(data: DatiPagamentoDTO) { + this.abi = data.abi; + this.bic = data.bic; + this.cab = data.cab; + this.codPaga = data.codPaga; + this.codPagaFe = data.codPagaFe; + this.dataScad = data.dataScad; + this.descrizione = data.descrizione; + this.iban = data.iban; + this.importo = data.importo; + } +} + +export class DatiPartitaMagDTO { + codAnag?: string | null; + codJfas?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + dataScad?: Date | null; + gestione?: string | null; + numDoc?: number | null; + numOrd?: number | null; + parmSuggestCode?: string | null; + partitaMag?: string | null; + posizione?: string | null; + + constructor(data: DatiPartitaMagDTO) { + this.codAnag = data.codAnag; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.gestione = data.gestione; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.parmSuggestCode = data.parmSuggestCode; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + } +} + +export class DatiPdfDTO { + flagConservato?: boolean | null; + flagEsportato?: boolean | null; + flagFirmato?: boolean | null; + versioneFirmata?: number | null; + versioneOriginale?: number | null; + + constructor(data: DatiPdfDTO) { + this.flagConservato = data.flagConservato; + this.flagEsportato = data.flagEsportato; + this.flagFirmato = data.flagFirmato; + this.versioneFirmata = data.versioneFirmata; + this.versioneOriginale = data.versioneOriginale; + } +} + +export class DatiRiepilogoDTO { + codAliqSplit?: string | null; + codDtipCcau?: string | null; + descrizioneEstesa?: string | null; + imponibile?: number | null; + imposta?: number | null; + natura?: string | null; + percAliq?: number | null; + percDetr?: number | null; + periodoDetr?: string | null; + spese?: number | null; + + constructor(data: DatiRiepilogoDTO) { + this.codAliqSplit = data.codAliqSplit; + this.codDtipCcau = data.codDtipCcau; + this.descrizioneEstesa = data.descrizioneEstesa; + this.imponibile = data.imponibile; + this.imposta = data.imposta; + this.natura = data.natura; + this.percAliq = data.percAliq; + this.percDetr = data.percDetr; + this.periodoDetr = data.periodoDetr; + this.spese = data.spese; + } +} + +export class DatiSoggettoInvoceDTO { + cap?: string | null; + capitaleSoc?: number | null; + citta?: string | null; + codFiscale?: string | null; + eMail?: string | null; + eMailPec?: string | null; + flagPersonaFG?: string | null; + flagRappFiscale?: string | null; + flagStabileOrg?: string | null; + flagiscrizioneREA?: string | null; + indirizzo?: string | null; + nazione?: string | null; + numFax?: string | null; + numTel?: string | null; + numeroREA?: string | null; + partIva?: string | null; + persFisicaCognome?: string | null; + persFisicaNome?: string | null; + prov?: string | null; + ragioneSociale?: string | null; + rappFiscaleNazione?: string | null; + rappFiscalePartIva?: string | null; + rappFiscaleRagioneSociale?: string | null; + regimeFiscale?: string | null; + soggettoEmittente?: string | null; + stabileOrgCAP?: string | null; + stabileOrgComune?: string | null; + stabileOrgIndirizzo?: string | null; + stabileOrgNazione?: string | null; + stabileOrgProvincia?: string | null; + statoLiquidazione?: string | null; + + constructor(data: DatiSoggettoInvoceDTO) { + this.cap = data.cap; + this.capitaleSoc = data.capitaleSoc; + this.citta = data.citta; + this.codFiscale = data.codFiscale; + this.eMail = data.eMail; + this.eMailPec = data.eMailPec; + this.flagPersonaFG = data.flagPersonaFG; + this.flagRappFiscale = data.flagRappFiscale; + this.flagStabileOrg = data.flagStabileOrg; + this.flagiscrizioneREA = data.flagiscrizioneREA; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.numFax = data.numFax; + this.numTel = data.numTel; + this.numeroREA = data.numeroREA; + this.partIva = data.partIva; + this.persFisicaCognome = data.persFisicaCognome; + this.persFisicaNome = data.persFisicaNome; + this.prov = data.prov; + this.ragioneSociale = data.ragioneSociale; + this.rappFiscaleNazione = data.rappFiscaleNazione; + this.rappFiscalePartIva = data.rappFiscalePartIva; + this.rappFiscaleRagioneSociale = data.rappFiscaleRagioneSociale; + this.regimeFiscale = data.regimeFiscale; + this.soggettoEmittente = data.soggettoEmittente; + this.stabileOrgCAP = data.stabileOrgCAP; + this.stabileOrgComune = data.stabileOrgComune; + this.stabileOrgIndirizzo = data.stabileOrgIndirizzo; + this.stabileOrgNazione = data.stabileOrgNazione; + this.stabileOrgProvincia = data.stabileOrgProvincia; + this.statoLiquidazione = data.statoLiquidazione; + } +} + +export class DatiTrasportoDTO { + colli?: number | null; + pedane?: number | null; + pesoKg?: number | null; + pesoNetto?: number | null; + sfuso?: number | null; + + constructor(data: DatiTrasportoDTO) { + this.colli = data.colli; + this.pedane = data.pedane; + this.pesoKg = data.pesoKg; + this.pesoNetto = data.pesoNetto; + this.sfuso = data.sfuso; + } +} + +export class DbObjectDTO { + + constructor(data: DbObjectDTO) { + } +} + +export class DeleteOrdiniFabbDTO { + dataFab?: Date | null; + numFab?: number | null; + rigaOrd?: RigaOrd[] | null; + + constructor(data: DeleteOrdiniFabbDTO) { + this.dataFab = data.dataFab; + this.numFab = data.numFab; + this.rigaOrd = data.rigaOrd; + } +} + +export class DeleteUDCRowRequestDTO { + mtbColrToDelete?: MtbColr | null; + + constructor(data: DeleteUDCRowRequestDTO) { + this.mtbColrToDelete = data.mtbColrToDelete; + } +} + +export class DeleteUDSRowRequestDTO { + mtbColrToDelete?: MtbColr | null; + + constructor(data: DeleteUDSRowRequestDTO) { + this.mtbColrToDelete = data.mtbColrToDelete; + } +} + +export class DeleteULRequestDTO { + mtbColt?: MtbColt | null; + + constructor(data: DeleteULRequestDTO) { + this.mtbColt = data.mtbColt; + } +} + +export class DescrizioneTipiAttivitaDTO { + activityTypeDescription?: string | null; + activityTypeId?: string | null; + + constructor(data: DescrizioneTipiAttivitaDTO) { + this.activityTypeDescription = data.activityTypeDescription; + this.activityTypeId = data.activityTypeId; + } +} + +export class DestinatariDTO implements Serializable { + cap?: string | null; + citta?: string | null; + cod_sco_cli?: string | null; + cod_vdes?: string | null; + cod_vlis?: string | null; + cod_vzon?: string | null; + destinatario?: string | null; + e_mail?: string | null; + indirizzo?: string | null; + prov?: string | null; + + constructor(data: DestinatariDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.cod_sco_cli = data.cod_sco_cli; + this.cod_vdes = data.cod_vdes; + this.cod_vlis = data.cod_vlis; + this.cod_vzon = data.cod_vzon; + this.destinatario = data.destinatario; + this.e_mail = data.e_mail; + this.indirizzo = data.indirizzo; + this.prov = data.prov; + } +} + +export class DettCostoIn { + ComponentTypes?: DettCostoInComponentTypes[] | null; + DateCheckPurchases?: Date | null; + ValidateDate?: Date | null; + dateCheckPurchases?: Date | null; + validateDate?: Date | null; + + constructor(data: DettCostoIn) { + this.ComponentTypes = data.ComponentTypes; + this.DateCheckPurchases = data.DateCheckPurchases; + this.ValidateDate = data.ValidateDate; + this.dateCheckPurchases = data.dateCheckPurchases; + this.validateDate = data.validateDate; + } +} + +export class DettCostoInComponentTypes { + Code?: string | null; + Components?: DettCostoInComponents[] | null; + code?: string | null; + dettCostoComponentsLit?: DettCostoInComponents[] | null; + + constructor(data: DettCostoInComponentTypes) { + this.Code = data.Code; + this.Components = data.Components; + this.code = data.code; + this.dettCostoComponentsLit = data.dettCostoComponentsLit; + } +} + +export class DettCostoInComponents { + Code?: string | null; + Distinct_Expand?: string | null; + Flag_Ignora_Pri?: string | null; + Qta?: number | null; + _Distinct_Expand?: string | null; + _Flag_Ignora_Pri?: string | null; + code?: string | null; + distinctExpand?: string | null; + qta?: number | null; + + constructor(data: DettCostoInComponents) { + this.Code = data.Code; + this.Distinct_Expand = data.Distinct_Expand; + this.Flag_Ignora_Pri = data.Flag_Ignora_Pri; + this.Qta = data.Qta; + this._Distinct_Expand = data._Distinct_Expand; + this._Flag_Ignora_Pri = data._Flag_Ignora_Pri; + this.code = data.code; + this.distinctExpand = data.distinctExpand; + this.qta = data.qta; + } +} + +export class DettCostoOut { + ComponentTypes?: DettCostoOutComponentTypes[] | null; + Errors?: DettCostoOutErrors[] | null; + + constructor(data: DettCostoOut) { + this.ComponentTypes = data.ComponentTypes; + this.Errors = data.Errors; + } +} + +export class DettCostoOutComponentTypes { + Code?: string | null; + Components?: DettCostoOutComponents[] | null; + TotalPrice?: number | null; + TotalWeight?: number | null; + + constructor(data: DettCostoOutComponentTypes) { + this.Code = data.Code; + this.Components = data.Components; + this.TotalPrice = data.TotalPrice; + this.TotalWeight = data.TotalWeight; + } +} + +export class DettCostoOutComponents { + Code?: string | null; + Price?: number | null; + Weight?: number | null; + + constructor(data: DettCostoOutComponents) { + this.Code = data.Code; + this.Price = data.Price; + this.Weight = data.Weight; + } +} + +export class DettCostoOutComponentsError { + Code?: string | null; + LastDate?: Date | null; + ParentCode?: string | null; + PriceLastDate?: number | null; + + constructor(data: DettCostoOutComponentsError) { + this.Code = data.Code; + this.LastDate = data.LastDate; + this.ParentCode = data.ParentCode; + this.PriceLastDate = data.PriceLastDate; + } +} + +export class DettCostoOutErrorType { + Components?: DettCostoOutComponentsError[] | null; + ErrorCode?: string | null; + + constructor(data: DettCostoOutErrorType) { + this.Components = data.Components; + this.ErrorCode = data.ErrorCode; + } +} + +export class DettCostoOutErrors { + ErrorType?: DettCostoOutErrorType[] | null; + errorType?: DettCostoOutErrorType[] | null; + + constructor(data: DettCostoOutErrors) { + this.ErrorType = data.ErrorType; + this.errorType = data.errorType; + } +} + +export class Dettaglio { + causale?: string | null; + cod_mdep?: string | null; + data_mrp?: Date | null; + data_ord?: Date | null; + flag_sospeso?: string | null; + gestione?: string | null; + is_ord_trasf?: string | null; + num_ord?: number | null; + partita_mag?: string | null; + qta?: number | null; + qta_progressiva?: number | null; + stato_partita?: string | null; + + constructor(data: Dettaglio) { + this.causale = data.causale; + this.cod_mdep = data.cod_mdep; + this.data_mrp = data.data_mrp; + this.data_ord = data.data_ord; + this.flag_sospeso = data.flag_sospeso; + this.gestione = data.gestione; + this.is_ord_trasf = data.is_ord_trasf; + this.num_ord = data.num_ord; + this.partita_mag = data.partita_mag; + this.qta = data.qta; + this.qta_progressiva = data.qta_progressiva; + this.stato_partita = data.stato_partita; + } +} + +export class DettaglioCostiDTO { + codJcom?: string | null; + codMart?: string | null; + codProd?: string | null; + dataOrd?: Date | null; + descrizione?: string | null; + descrizioneCommessa?: string | null; + descrizioneProd?: string | null; + gruppo?: string | null; + numOrd?: number | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + qtaDoc?: number | null; + qtaProd?: number | null; + untArt?: string | null; + untMis?: string | null; + valDoc?: number | null; + + constructor(data: DettaglioCostiDTO) { + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.descrizioneCommessa = data.descrizioneCommessa; + this.descrizioneProd = data.descrizioneProd; + this.gruppo = data.gruppo; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.qtaDoc = data.qtaDoc; + this.qtaProd = data.qtaProd; + this.untArt = data.untArt; + this.untMis = data.untMis; + this.valDoc = data.valDoc; + } +} + +export class DettaglioLineaDTO { + codAliq?: string | null; + codAnag?: string | null; + codMart?: string | null; + dataFineComp?: Date | null; + dataInizComp?: Date | null; + descrizione?: string | null; + descrizioneKit?: string | null; + flagMarcaDaBollo?: string | null; + importoRiga?: number | null; + natura?: string | null; + numRiga?: number | null; + percentualeAliquota?: number | null; + qta?: number | null; + rifDataOrd?: Date | null; + rifNumOrd?: string | null; + rifNumeroCtArt?: number | null; + rifNumeroDest?: number | null; + rifNumeroPzArt?: number | null; + rifTestoCtArt?: string | null; + rifTestoDest?: string | null; + rifTestoLotto?: string | null; + rifTestoNumDocCli?: string | null; + rifTestoPzArt?: string | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + tipoCessione?: string | null; + tipoCodiceClie?: string | null; + tipoCodiceEan?: string | null; + tipoCodiceForn?: string | null; + tipoDatoCtArt?: string | null; + tipoDatoDest?: string | null; + tipoDatoLotto?: string | null; + tipoDatoNumDocCli?: string | null; + tipoDatoPzArt?: string | null; + untMis?: string | null; + valUnt?: number | null; + valoreCodiceClie?: string | null; + valoreCodiceEan?: string | null; + valoreCodiceForn?: string | null; + + constructor(data: DettaglioLineaDTO) { + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.dataFineComp = data.dataFineComp; + this.dataInizComp = data.dataInizComp; + this.descrizione = data.descrizione; + this.descrizioneKit = data.descrizioneKit; + this.flagMarcaDaBollo = data.flagMarcaDaBollo; + this.importoRiga = data.importoRiga; + this.natura = data.natura; + this.numRiga = data.numRiga; + this.percentualeAliquota = data.percentualeAliquota; + this.qta = data.qta; + this.rifDataOrd = data.rifDataOrd; + this.rifNumOrd = data.rifNumOrd; + this.rifNumeroCtArt = data.rifNumeroCtArt; + this.rifNumeroDest = data.rifNumeroDest; + this.rifNumeroPzArt = data.rifNumeroPzArt; + this.rifTestoCtArt = data.rifTestoCtArt; + this.rifTestoDest = data.rifTestoDest; + this.rifTestoLotto = data.rifTestoLotto; + this.rifTestoNumDocCli = data.rifTestoNumDocCli; + this.rifTestoPzArt = data.rifTestoPzArt; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.tipoCessione = data.tipoCessione; + this.tipoCodiceClie = data.tipoCodiceClie; + this.tipoCodiceEan = data.tipoCodiceEan; + this.tipoCodiceForn = data.tipoCodiceForn; + this.tipoDatoCtArt = data.tipoDatoCtArt; + this.tipoDatoDest = data.tipoDatoDest; + this.tipoDatoLotto = data.tipoDatoLotto; + this.tipoDatoNumDocCli = data.tipoDatoNumDocCli; + this.tipoDatoPzArt = data.tipoDatoPzArt; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + this.valoreCodiceClie = data.valoreCodiceClie; + this.valoreCodiceEan = data.valoreCodiceEan; + this.valoreCodiceForn = data.valoreCodiceForn; + } +} + +export class DettaglioProd { + codAnag?: string | null; + codAnagProv?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codMdepProv?: string | null; + codProd?: string | null; + codVdes?: string | null; + codVdesProv?: string | null; + dataOrd?: Date | null; + dataOrdProv?: Date | null; + gestione?: string | null; + gestioneProv?: string | null; + idRiga?: number | null; + idStep?: number | null; + numOrd?: number | null; + numOrdProv?: number | null; + parentActivityID?: string | null; + qtaInProd?: number | null; + qtaProd?: number | null; + rapConvProd?: number | null; + serie?: string | null; + serieProv?: string | null; + tipoStalla?: string | null; + tipoStallaProv?: string | null; + untMisMagaz?: string | null; + untMisProd?: string | null; + + constructor(data: DettaglioProd) { + this.codAnag = data.codAnag; + this.codAnagProv = data.codAnagProv; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codMdepProv = data.codMdepProv; + this.codProd = data.codProd; + this.codVdes = data.codVdes; + this.codVdesProv = data.codVdesProv; + this.dataOrd = data.dataOrd; + this.dataOrdProv = data.dataOrdProv; + this.gestione = data.gestione; + this.gestioneProv = data.gestioneProv; + this.idRiga = data.idRiga; + this.idStep = data.idStep; + this.numOrd = data.numOrd; + this.numOrdProv = data.numOrdProv; + this.parentActivityID = data.parentActivityID; + this.qtaInProd = data.qtaInProd; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.serie = data.serie; + this.serieProv = data.serieProv; + this.tipoStalla = data.tipoStalla; + this.tipoStallaProv = data.tipoStallaProv; + this.untMisMagaz = data.untMisMagaz; + this.untMisProd = data.untMisProd; + } +} + +export class DettaglioRigheDTO { + descrizione?: string | null; + numDoc?: number | null; + qtaDoc?: number | null; + untMis?: string | null; + + constructor(data: DettaglioRigheDTO) { + this.descrizione = data.descrizione; + this.numDoc = data.numDoc; + this.qtaDoc = data.qtaDoc; + this.untMis = data.untMis; + } +} + +export class DettaglioScaricoDTO { + codJcom?: string | null; + codJfas?: string | null; + codJfasLotto?: string | null; + codProd?: string | null; + idLotto?: number | null; + numCnf?: number | null; + partitaMag?: string | null; + rapConvProd?: number | null; + untMisProd?: string | null; + + constructor(data: DettaglioScaricoDTO) { + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJfasLotto = data.codJfasLotto; + this.codProd = data.codProd; + this.idLotto = data.idLotto; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.rapConvProd = data.rapConvProd; + this.untMisProd = data.untMisProd; + } +} + +export class DeviceTokenDTO { + deleteOldTopics?: boolean | null; + deviceTokens?: string[] | null; + topics?: string[] | null; + userDeviceToken?: WtbUserDeviceToken | null; + + constructor(data: DeviceTokenDTO) { + this.deleteOldTopics = data.deleteOldTopics; + this.deviceTokens = data.deviceTokens; + this.topics = data.topics; + this.userDeviceToken = data.userDeviceToken; + } +} + +export class DialogPackageDTO { + + constructor(data: DialogPackageDTO) { + } +} + +export class DialogoDTO { + BARCODE_SCONTR?: string | null; + CAUSALE?: string | null; + CODICE?: string | null; + COD_CASSA?: string | null; + COD_FIDELITY?: string | null; + COD_KIT?: string | null; + COD_MDEP?: string | null; + COD_PROMO?: string | null; + DATA_DOC?: string | null; + DESCRIZIONE?: string | null; + EAN?: string | null; + IDX?: string | null; + ID_SCONTR?: string | null; + IMPORTO?: string | null; + NUM_ORD?: string | null; + OPERATORE?: string | null; + PERC_ALIQ?: string | null; + PRZ_UNT_IVA?: string | null; + QTA_DOC?: string | null; + REPARTO?: string | null; + TIPO_RIGA?: string | null; + VAL_SCONTO?: string | null; + + constructor(data: DialogoDTO) { + this.BARCODE_SCONTR = data.BARCODE_SCONTR; + this.CAUSALE = data.CAUSALE; + this.CODICE = data.CODICE; + this.COD_CASSA = data.COD_CASSA; + this.COD_FIDELITY = data.COD_FIDELITY; + this.COD_KIT = data.COD_KIT; + this.COD_MDEP = data.COD_MDEP; + this.COD_PROMO = data.COD_PROMO; + this.DATA_DOC = data.DATA_DOC; + this.DESCRIZIONE = data.DESCRIZIONE; + this.EAN = data.EAN; + this.IDX = data.IDX; + this.ID_SCONTR = data.ID_SCONTR; + this.IMPORTO = data.IMPORTO; + this.NUM_ORD = data.NUM_ORD; + this.OPERATORE = data.OPERATORE; + this.PERC_ALIQ = data.PERC_ALIQ; + this.PRZ_UNT_IVA = data.PRZ_UNT_IVA; + this.QTA_DOC = data.QTA_DOC; + this.REPARTO = data.REPARTO; + this.TIPO_RIGA = data.TIPO_RIGA; + this.VAL_SCONTO = data.VAL_SCONTO; + } +} + +export class DialogoJsonDTO { + cliente?: DialogoJsonDTOAnagraficaDTO | null; + codMdep?: string | null; + compilatoDa?: string | null; + dataOrd?: Date | null; + fattura?: boolean | null; + fornitore?: DialogoJsonDTOAnagraficaDTO | null; + gestione?: string | null; + listino?: string | null; + pagamento?: PagamentoDTO | null; + regalo?: boolean | null; + rifOrd?: string | null; + righe?: RowDTO[] | null; + spese?: SpeseDTO | null; + + constructor(data: DialogoJsonDTO) { + this.cliente = data.cliente; + this.codMdep = data.codMdep; + this.compilatoDa = data.compilatoDa; + this.dataOrd = data.dataOrd; + this.fattura = data.fattura; + this.fornitore = data.fornitore; + this.gestione = data.gestione; + this.listino = data.listino; + this.pagamento = data.pagamento; + this.regalo = data.regalo; + this.rifOrd = data.rifOrd; + this.righe = data.righe; + this.spese = data.spese; + } +} + +export class DialogoJsonDTOAnagraficaDTO { + codAnag?: string | null; + codFiscale?: string | null; + codSdi?: string | null; + cognome?: string | null; + datiFatturazione?: DialogoJsonDTOIndirizzoDTO | null; + datiSpedizione?: DialogoJsonDTOIndirizzoDTO | null; + email?: string | null; + id?: string | null; + nome?: string | null; + partIva?: string | null; + sesso?: string | null; + + constructor(data: DialogoJsonDTOAnagraficaDTO) { + this.codAnag = data.codAnag; + this.codFiscale = data.codFiscale; + this.codSdi = data.codSdi; + this.cognome = data.cognome; + this.datiFatturazione = data.datiFatturazione; + this.datiSpedizione = data.datiSpedizione; + this.email = data.email; + this.id = data.id; + this.nome = data.nome; + this.partIva = data.partIva; + this.sesso = data.sesso; + } +} + +export class DialogoJsonDTOIndirizzoDTO { + cap?: string | null; + citta?: string | null; + codVdes?: string | null; + fax?: string | null; + indirizzo?: string | null; + nazione?: string | null; + prov?: string | null; + pudoId?: string | null; + ragSoc?: string | null; + telefono?: string | null; + + constructor(data: DialogoJsonDTOIndirizzoDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.codVdes = data.codVdes; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.prov = data.prov; + this.pudoId = data.pudoId; + this.ragSoc = data.ragSoc; + this.telefono = data.telefono; + } +} + +export class DisponibileDTO implements Serializable { + cod_col?: string | null; + cod_tagl?: string | null; + qta_disp?: number | null; + + constructor(data: DisponibileDTO) { + this.cod_col = data.cod_col; + this.cod_tagl = data.cod_tagl; + this.qta_disp = data.qta_disp; + } +} + +export class DisponibilitaPartitaDTO { + codMart?: string | null; + partitaMag?: string | null; + qta?: number | null; + + constructor(data: DisponibilitaPartitaDTO) { + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + } +} + +export class DistintaIncassiPrevPuddyDTO { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + impPaga?: number | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: DistintaIncassiPrevPuddyDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.impPaga = data.impPaga; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DocAutomaticoDaOrd { + actionType?: string | null; + activityID?: string | null; + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: DocAutomaticoDaOrd) { + this.actionType = data.actionType; + this.activityID = data.activityID; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DocCompDTO { + annoComp?: number | null; + codAnag?: string | null; + codCcon?: string | null; + codCconAcq?: string | null; + dataDoc?: Date | null; + imposta?: number | null; + numCmov?: number | null; + numDoc?: number | null; + serDoc?: string | null; + tipoAnag?: string | null; + + constructor(data: DocCompDTO) { + this.annoComp = data.annoComp; + this.codAnag = data.codAnag; + this.codCcon = data.codCcon; + this.codCconAcq = data.codCconAcq; + this.dataDoc = data.dataDoc; + this.imposta = data.imposta; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.tipoAnag = data.tipoAnag; + } +} + +export class DocDaInventarioDTO { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + serDoc?: string | null; + whereCondInv?: string | null; + + constructor(data: DocDaInventarioDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.serDoc = data.serDoc; + this.whereCondInv = data.whereCondInv; + } +} + +export class DocDaRientroProd { + codAnag?: string | null; + codDtipCar?: string | null; + codDtipRientro?: string | null; + codDtipScar?: string | null; + codMdep?: string | null; + dataDoc?: Date | null; + elencoProd?: ElencoProdFinLav[] | null; + numDocRientro?: number | null; + + constructor(data: DocDaRientroProd) { + this.codAnag = data.codAnag; + this.codDtipCar = data.codDtipCar; + this.codDtipRientro = data.codDtipRientro; + this.codDtipScar = data.codDtipScar; + this.codMdep = data.codMdep; + this.dataDoc = data.dataDoc; + this.elencoProd = data.elencoProd; + this.numDocRientro = data.numDocRientro; + } +} + +export class DocDaScontrini { + codAnag?: string | null; + codCassa?: string | null; + codDtip?: string | null; + codMdep?: string | null; + codVdes?: string | null; + corrispettivo?: string | null; + corrispettivoRiepilogativo?: string | null; + dataDoc?: Date | null; + numDoc?: number | null; + profileDbScontrini?: string | null; + whereCond?: string | null; + + constructor(data: DocDaScontrini) { + this.codAnag = data.codAnag; + this.codCassa = data.codCassa; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.corrispettivo = data.corrispettivo; + this.corrispettivoRiepilogativo = data.corrispettivoRiepilogativo; + this.dataDoc = data.dataDoc; + this.numDoc = data.numDoc; + this.profileDbScontrini = data.profileDbScontrini; + this.whereCond = data.whereCond; + } +} + +export class DocFilterDTO { + codMart?: string | null; + dataFine?: Date | null; + dataIniz?: Date | null; + + constructor(data: DocFilterDTO) { + this.codMart = data.codMart; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + } +} + +export class DocFromPickingDTO { + codAnag?: string | null; + codVdes?: string | null; + colli?: DatiCollo[] | null; + dataDoc?: Date | null; + noteDoc?: string | null; + numDoc?: number | null; + pedane?: Pedane[] | null; + tipoLista?: string | null; + + constructor(data: DocFromPickingDTO) { + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.colli = data.colli; + this.dataDoc = data.dataDoc; + this.noteDoc = data.noteDoc; + this.numDoc = data.numDoc; + this.pedane = data.pedane; + this.tipoLista = data.tipoLista; + } +} + +export class DocInterniSetupDTO { + fornitori?: FornitoreDTO[] | null; + gruppiArt?: GruppiArticoloDTO[] | null; + tipiDoc?: TipiDocDTO[] | null; + + constructor(data: DocInterniSetupDTO) { + this.fornitori = data.fornitori; + this.gruppiArt = data.gruppiArt; + this.tipiDoc = data.tipiDoc; + } +} + +export class DocTraspEBCDTO { + "ADD PREN SU MERCAREON/SMARTBAY"?: string | null; + "ADDEBITO PRENOTAZIONE SU TESI"?: string | null; + "ARR."?: string | null; + ASSICURAZIONE?: string | null; + "CODICE CLIENTE"?: string | null; + "COMMISSIONE CONTRASSEGNO"?: string | null; + "CONTR."?: string | null; + "DATA DOCUMENTO"?: Date | null; + "DATA SPEDIZIONE"?: Date | null; + "DESTINATARIO/MITTENTE"?: string | null; + "DIRITTO FISSO"?: string | null; + "GESTIONE EPAL"?: string | null; + "IMPORTO DOCUMENTO"?: string | null; + LOCALITA?: string | null; + "LOCALITA DEST."?: string | null; + "N.BANCALI"?: string | null; + "N.COLLI"?: string | null; + "N.DOCUMENTO"?: number | null; + NOLO?: string | null; + "NS.RIFERIMENTO"?: string | null; + PART?: string | null; + PESO?: string | null; + "PREAVVISO TELEFONICO"?: string | null; + "RAGIONE SOCIALE MITTENTE"?: string | null; + "RIF.MITTENTE"?: string | null; + "RIFERIMENTO OP LOGISTICA"?: string | null; + "RIPREZZAMENTO FUORI PESO"?: string | null; + "RIPREZZAMENTO FUORI SAGOMA"?: string | null; + "SCARICO COOPERATIVE GDO"?: string | null; + "SERVIZIO NON STOP"?: string | null; + "SOSTA ALLO SCARICO"?: string | null; + "SUPPLEMENTO ADR"?: string | null; + "SUPPLEMENTO CARBURANTE"?: string | null; + "SUPPLEMENTO P/ASS"?: string | null; + TP?: string | null; + TR?: string | null; + VOLUME?: string | null; + "ZONA DISAGIATA"?: string | null; + addPrenSuMercareonSmartbay?: string | null; + addebitoPrenotazioneSuTesi?: string | null; + + constructor(data: DocTraspEBCDTO) { + this["ADD PREN SU MERCAREON/SMARTBAY"] = data["ADD PREN SU MERCAREON/SMARTBAY"]; + this["ADDEBITO PRENOTAZIONE SU TESI"] = data["ADDEBITO PRENOTAZIONE SU TESI"]; + this["ARR."] = data["ARR."]; + this.ASSICURAZIONE = data.ASSICURAZIONE; + this["CODICE CLIENTE"] = data["CODICE CLIENTE"]; + this["COMMISSIONE CONTRASSEGNO"] = data["COMMISSIONE CONTRASSEGNO"]; + this["CONTR."] = data["CONTR."]; + this["DATA DOCUMENTO"] = data["DATA DOCUMENTO"]; + this["DATA SPEDIZIONE"] = data["DATA SPEDIZIONE"]; + this["DESTINATARIO/MITTENTE"] = data["DESTINATARIO/MITTENTE"]; + this["DIRITTO FISSO"] = data["DIRITTO FISSO"]; + this["GESTIONE EPAL"] = data["GESTIONE EPAL"]; + this["IMPORTO DOCUMENTO"] = data["IMPORTO DOCUMENTO"]; + this.LOCALITA = data.LOCALITA; + this["LOCALITA DEST."] = data["LOCALITA DEST."]; + this["N.BANCALI"] = data["N.BANCALI"]; + this["N.COLLI"] = data["N.COLLI"]; + this["N.DOCUMENTO"] = data["N.DOCUMENTO"]; + this.NOLO = data.NOLO; + this["NS.RIFERIMENTO"] = data["NS.RIFERIMENTO"]; + this.PART = data.PART; + this.PESO = data.PESO; + this["PREAVVISO TELEFONICO"] = data["PREAVVISO TELEFONICO"]; + this["RAGIONE SOCIALE MITTENTE"] = data["RAGIONE SOCIALE MITTENTE"]; + this["RIF.MITTENTE"] = data["RIF.MITTENTE"]; + this["RIFERIMENTO OP LOGISTICA"] = data["RIFERIMENTO OP LOGISTICA"]; + this["RIPREZZAMENTO FUORI PESO"] = data["RIPREZZAMENTO FUORI PESO"]; + this["RIPREZZAMENTO FUORI SAGOMA"] = data["RIPREZZAMENTO FUORI SAGOMA"]; + this["SCARICO COOPERATIVE GDO"] = data["SCARICO COOPERATIVE GDO"]; + this["SERVIZIO NON STOP"] = data["SERVIZIO NON STOP"]; + this["SOSTA ALLO SCARICO"] = data["SOSTA ALLO SCARICO"]; + this["SUPPLEMENTO ADR"] = data["SUPPLEMENTO ADR"]; + this["SUPPLEMENTO CARBURANTE"] = data["SUPPLEMENTO CARBURANTE"]; + this["SUPPLEMENTO P/ASS"] = data["SUPPLEMENTO P/ASS"]; + this.TP = data.TP; + this.TR = data.TR; + this.VOLUME = data.VOLUME; + this["ZONA DISAGIATA"] = data["ZONA DISAGIATA"]; + this.addPrenSuMercareonSmartbay = data.addPrenSuMercareonSmartbay; + this.addebitoPrenotazioneSuTesi = data.addebitoPrenotazioneSuTesi; + } +} + +export class DocTraspImportDTO { + checkSerDoc?: string | null; + citta?: string | null; + colli?: number | null; + dataDoc?: Date | null; + dataSped?: Date | null; + idRiga?: number | null; + nolo?: number | null; + numDoc?: number | null; + pallet?: number | null; + partIVA?: string | null; + peso?: number | null; + ragSoc?: string | null; + rifDoc?: string | null; + serDoc?: string | null; + tassato?: number | null; + tipoCalc?: string | null; + untMis?: string | null; + + constructor(data: DocTraspImportDTO) { + this.checkSerDoc = data.checkSerDoc; + this.citta = data.citta; + this.colli = data.colli; + this.dataDoc = data.dataDoc; + this.dataSped = data.dataSped; + this.idRiga = data.idRiga; + this.nolo = data.nolo; + this.numDoc = data.numDoc; + this.pallet = data.pallet; + this.partIVA = data.partIVA; + this.peso = data.peso; + this.ragSoc = data.ragSoc; + this.rifDoc = data.rifDoc; + this.serDoc = data.serDoc; + this.tassato = data.tassato; + this.tipoCalc = data.tipoCalc; + this.untMis = data.untMis; + } +} + +export class DocTraspStefDTO { + "Categoria tariffaria"?: string | null; + "Condizioni di Servizio"?: string | null; + "Condizioni di Vendita"?: string | null; + "Data riferimento linea fattura"?: string | null; + Nolo?: number | null; + "Numero DDT"?: string | null; + "Numero Pallet"?: number | null; + "Prima Quantita (Colli per il Trasporto)"?: number | null; + "Scarico - Localita"?: string | null; + "Scarico - Paese"?: string | null; + "Scarico - Provincia (Italia) - Dipartimento (Altri paesi)"?: string | null; + "Scarico - Ragione Sociale"?: string | null; + "Seconda Quantita (Peso per Il Trasporto)"?: number | null; + "Totale importi linea"?: number | null; + + constructor(data: DocTraspStefDTO) { + this["Categoria tariffaria"] = data["Categoria tariffaria"]; + this["Condizioni di Servizio"] = data["Condizioni di Servizio"]; + this["Condizioni di Vendita"] = data["Condizioni di Vendita"]; + this["Data riferimento linea fattura"] = data["Data riferimento linea fattura"]; + this.Nolo = data.Nolo; + this["Numero DDT"] = data["Numero DDT"]; + this["Numero Pallet"] = data["Numero Pallet"]; + this["Prima Quantita (Colli per il Trasporto)"] = data["Prima Quantita (Colli per il Trasporto)"]; + this["Scarico - Localita"] = data["Scarico - Localita"]; + this["Scarico - Paese"] = data["Scarico - Paese"]; + this["Scarico - Provincia (Italia) - Dipartimento (Altri paesi)"] = data["Scarico - Provincia (Italia) - Dipartimento (Altri paesi)"]; + this["Scarico - Ragione Sociale"] = data["Scarico - Ragione Sociale"]; + this["Seconda Quantita (Peso per Il Trasporto)"] = data["Seconda Quantita (Peso per Il Trasporto)"]; + this["Totale importi linea"] = data["Totale importi linea"]; + } +} + +export class DocumentArtDTO { + barcode?: string[] | null; + codMart?: string | null; + descrizione?: string | null; + flagQtaCnfFissa?: boolean | null; + flagTracciabilita?: boolean | null; + giacenza?: number | null; + plu?: boolean | null; + przVendIva?: number | null; + qtaCnf?: number | null; + untMis?: string | null; + untMisDigitale?: boolean | null; + + constructor(data: DocumentArtDTO) { + this.barcode = data.barcode; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagTracciabilita = data.flagTracciabilita; + this.giacenza = data.giacenza; + this.plu = data.plu; + this.przVendIva = data.przVendIva; + this.qtaCnf = data.qtaCnf; + this.untMis = data.untMis; + this.untMisDigitale = data.untMisDigitale; + } +} + +export class DocumentiDialogoDTO { + BAR_CODE_IMB?: string | null; + BAR_CODE_PROD?: string | null; + CAUSALE_TRASP?: string | null; + COD_ALIQ?: string | null; + COD_ART_CLIE?: string | null; + COD_ART_DIST?: string | null; + COD_ART_FORN?: string | null; + COD_COL_CLIE?: string | null; + COD_COL_FORN?: string | null; + COD_DEPOSITO?: string | null; + COD_DEST?: string | null; + COD_DTIP?: string | null; + COD_KIT?: string | null; + COD_TAGL_CLIE?: string | null; + COD_TAGL_FORN?: string | null; + COD_VVET?: string | null; + COD_VVET2?: string | null; + COSTO_UNT?: number | null; + C_FISC_CLIE?: string | null; + DATA_DOC?: Date | null; + DATA_DOC_VAL?: Date | null; + DATA_ORD?: Date | null; + DATA_REG?: Date | null; + DATA_SCAD?: Date | null; + DESCR_ART?: string | null; + FLAG_VEN_RES?: number | null; + LOTTO?: string | null; + NUM_CNF?: number | null; + NUM_DOC?: number | null; + NUM_DOC_FORN?: string | null; + NUM_DOC_VAL?: number | null; + NUM_ORD?: number | null; + PERC_IVA?: number | null; + PERC_ONERI?: number | null; + PERC_PREMI?: number | null; + PERC_SCO1?: number | null; + PERC_SCO2?: number | null; + PERC_SCO3?: number | null; + PERC_SCO4?: number | null; + PERC_SCO_FINANZIARIO?: number | null; + PERC_SCO_HEADER?: number | null; + PROMOZIONE?: string | null; + PRZ_VEND?: number | null; + P_IVA_CEDI?: string | null; + P_IVA_CLIE?: string | null; + P_IVA_DIST?: string | null; + P_IVA_FORN?: string | null; + QTA_CNF?: number | null; + QTA_VEND?: number | null; + RIF_ORD?: string | null; + RIGA_DOC?: number | null; + RIGA_ORD?: number | null; + SER_DOC?: string | null; + SER_DOC_VAL?: string | null; + SER_ORD?: string | null; + UNT_MIS?: string | null; + VAL_ONERI?: number | null; + VAL_PREMI?: number | null; + + constructor(data: DocumentiDialogoDTO) { + this.BAR_CODE_IMB = data.BAR_CODE_IMB; + this.BAR_CODE_PROD = data.BAR_CODE_PROD; + this.CAUSALE_TRASP = data.CAUSALE_TRASP; + this.COD_ALIQ = data.COD_ALIQ; + this.COD_ART_CLIE = data.COD_ART_CLIE; + this.COD_ART_DIST = data.COD_ART_DIST; + this.COD_ART_FORN = data.COD_ART_FORN; + this.COD_COL_CLIE = data.COD_COL_CLIE; + this.COD_COL_FORN = data.COD_COL_FORN; + this.COD_DEPOSITO = data.COD_DEPOSITO; + this.COD_DEST = data.COD_DEST; + this.COD_DTIP = data.COD_DTIP; + this.COD_KIT = data.COD_KIT; + this.COD_TAGL_CLIE = data.COD_TAGL_CLIE; + this.COD_TAGL_FORN = data.COD_TAGL_FORN; + this.COD_VVET = data.COD_VVET; + this.COD_VVET2 = data.COD_VVET2; + this.COSTO_UNT = data.COSTO_UNT; + this.C_FISC_CLIE = data.C_FISC_CLIE; + this.DATA_DOC = data.DATA_DOC; + this.DATA_DOC_VAL = data.DATA_DOC_VAL; + this.DATA_ORD = data.DATA_ORD; + this.DATA_REG = data.DATA_REG; + this.DATA_SCAD = data.DATA_SCAD; + this.DESCR_ART = data.DESCR_ART; + this.FLAG_VEN_RES = data.FLAG_VEN_RES; + this.LOTTO = data.LOTTO; + this.NUM_CNF = data.NUM_CNF; + this.NUM_DOC = data.NUM_DOC; + this.NUM_DOC_FORN = data.NUM_DOC_FORN; + this.NUM_DOC_VAL = data.NUM_DOC_VAL; + this.NUM_ORD = data.NUM_ORD; + this.PERC_IVA = data.PERC_IVA; + this.PERC_ONERI = data.PERC_ONERI; + this.PERC_PREMI = data.PERC_PREMI; + this.PERC_SCO1 = data.PERC_SCO1; + this.PERC_SCO2 = data.PERC_SCO2; + this.PERC_SCO3 = data.PERC_SCO3; + this.PERC_SCO4 = data.PERC_SCO4; + this.PERC_SCO_FINANZIARIO = data.PERC_SCO_FINANZIARIO; + this.PERC_SCO_HEADER = data.PERC_SCO_HEADER; + this.PROMOZIONE = data.PROMOZIONE; + this.PRZ_VEND = data.PRZ_VEND; + this.P_IVA_CEDI = data.P_IVA_CEDI; + this.P_IVA_CLIE = data.P_IVA_CLIE; + this.P_IVA_DIST = data.P_IVA_DIST; + this.P_IVA_FORN = data.P_IVA_FORN; + this.QTA_CNF = data.QTA_CNF; + this.QTA_VEND = data.QTA_VEND; + this.RIF_ORD = data.RIF_ORD; + this.RIGA_DOC = data.RIGA_DOC; + this.RIGA_ORD = data.RIGA_ORD; + this.SER_DOC = data.SER_DOC; + this.SER_DOC_VAL = data.SER_DOC_VAL; + this.SER_ORD = data.SER_ORD; + this.UNT_MIS = data.UNT_MIS; + this.VAL_ONERI = data.VAL_ONERI; + this.VAL_PREMI = data.VAL_PREMI; + } +} + +export class DocumentiDialogoDTOExport extends DocumentiDialogoDTO implements IExportFormat { + DATA_DOC?: string | null; + DATA_DOC_VAL?: string | null; + DATA_ORD?: string | null; + DATA_REG?: string | null; + DATA_SCAD?: string | null; + + constructor(data: DocumentiDialogoDTOExport) { + super(data); + } +} + +export class DocumentiDialogoDTOImport extends DocumentiDialogoDTO implements IImportFormat { + + constructor(data: DocumentiDialogoDTOImport) { + super(data); + } +} + +export class DocumentiProdDaFabbDTO { + chiudiCommessa?: string | null; + codJcom?: string | null; + dataOrd?: Date | null; + generaScarico?: string | null; + gestione?: string | null; + matricola?: string | null; + numOrd?: number | null; + qtaDaProd?: number | null; + + constructor(data: DocumentiProdDaFabbDTO) { + this.chiudiCommessa = data.chiudiCommessa; + this.codJcom = data.codJcom; + this.dataOrd = data.dataOrd; + this.generaScarico = data.generaScarico; + this.gestione = data.gestione; + this.matricola = data.matricola; + this.numOrd = data.numOrd; + this.qtaDaProd = data.qtaDaProd; + } +} + +export class Documento { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + listino?: string | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: Documento) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.listino = data.listino; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DocumentoEuritmo { + righe?: EuritmoRiga[] | null; + testata?: EuritmoTestata | null; + + constructor(data: DocumentoEuritmo) { + this.righe = data.righe; + this.testata = data.testata; + } +} + +export class DownloadFileDto { + fileName?: string | null; + url?: string | null; + + constructor(data: DownloadFileDto) { + this.fileName = data.fileName; + this.url = data.url; + } +} + +export class DrlDocAttached extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + idAttach?: string | null; + numDoc?: number | null; + serDoc?: string | null; + type: "drl_doc_attached"; + + constructor(data: DrlDocAttached) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.idAttach = data.idAttach; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DrlDocXmlEmail extends EntityBase { + idEmail?: number | null; + progSdi?: string | null; + type: "drl_doc_xml_email"; + + constructor(data: DrlDocXmlEmail) { + super(data); + this.idEmail = data.idEmail; + this.progSdi = data.progSdi; + } +} + +export class DrlOrdAttached extends EntityBase { + dataOrd?: Date | null; + gestione?: string | null; + idAttach?: string | null; + numOrd?: number | null; + type: "drl_ord_attached"; + + constructor(data: DrlOrdAttached) { + super(data); + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.idAttach = data.idAttach; + this.numOrd = data.numOrd; + } +} + +export class DrlTipiNoteDoc extends EntityBase { + codDtip?: string | null; + idNote?: number | null; + idRiga?: number | null; + type: "drl_tipi_note_doc"; + + constructor(data: DrlTipiNoteDoc) { + super(data); + this.codDtip = data.codDtip; + this.idNote = data.idNote; + this.idRiga = data.idRiga; + } +} + +export class DtbDocOrdR extends EntityBase { + codAliq?: string | null; + codAlis?: string | null; + codAnag?: string | null; + codArtFor?: string | null; + codCol?: string | null; + codJcom?: string | null; + codKit?: string | null; + codMart?: string | null; + codMdep?: string | null; + codPromo?: string | null; + codTagl?: string | null; + codTcolUl?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + dataOrd?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagIsKit?: string | null; + flagPrzIva?: string | null; + gestione?: string | null; + importoRiga?: number | null; + listino?: string | null; + mtbAart?: MtbAart | null; + mtbPartitaMag?: MtbPartitaMag | null; + note?: string | null; + numCnf?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + percOneri?: number | null; + percPromo?: number | null; + pesoLordo?: number | null; + qta?: number | null; + qtaCnf?: number | null; + rapConv?: number | null; + rigaKit?: number | null; + rigaOrd?: number | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + tipoIva?: string | null; + type: "dtb_docr" | "wdtb_docr" | "dtb_ordr" | "wdtb_ordr"; + untMis?: string | null; + valOneri?: number | null; + valPromo?: number | null; + valUnt?: number | null; + valUntIva?: number | null; + + constructor(data: DtbDocOrdR) { + super(data); + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codArtFor = data.codArtFor; + this.codCol = data.codCol; + this.codJcom = data.codJcom; + this.codKit = data.codKit; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codPromo = data.codPromo; + this.codTagl = data.codTagl; + this.codTcolUl = data.codTcolUl; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagIsKit = data.flagIsKit; + this.flagPrzIva = data.flagPrzIva; + this.gestione = data.gestione; + this.importoRiga = data.importoRiga; + this.listino = data.listino; + this.mtbAart = data.mtbAart; + this.mtbPartitaMag = data.mtbPartitaMag; + this.note = data.note; + this.numCnf = data.numCnf; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.pesoLordo = data.pesoLordo; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + this.rapConv = data.rapConv; + this.rigaKit = data.rigaKit; + this.rigaOrd = data.rigaOrd; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.tipoIva = data.tipoIva; + this.untMis = data.untMis; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + this.valUnt = data.valUnt; + this.valUntIva = data.valUntIva; + } +} + +export class DtbBaseDocR extends DtbDocOrdR { + codDtip?: string | null; + dataDoc?: Date | null; + idRiga?: number | null; + numDoc?: number | null; + serDoc?: string | null; + type: "dtb_docr" | "wdtb_docr"; + + constructor(data: DtbBaseDocR) { + super(data); + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.idRiga = data.idRiga; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class DtbDocOrdT extends EntityBase { + acconto?: number | null; + aspettoBeni?: string | null; + causaleTrasp?: string | null; + codAbi?: string | null; + codAnag?: string | null; + codAuto?: string | null; + codBanc?: string | null; + codCab?: string | null; + codDivi?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codPaga?: string | null; + codProd?: string | null; + codVage?: string | null; + codVdes?: string | null; + codVvet?: string | null; + codVvet2?: string | null; + codVzon?: string | null; + compilatoDa?: string | null; + dataInizTrasp?: Date | null; + dataOrd?: Date | null; + descrizionePaga?: string | null; + explodeKit?: string | null; + flagPrzIva?: string | null; + flagPrzScontati?: string | null; + gestione?: string | null; + listino?: string | null; + mezzo?: string | null; + nettoMerce?: number | null; + numColli?: string | null; + numOrd?: number | null; + peso?: string | null; + porto?: string | null; + qtaProd?: number | null; + rapConvProd?: number | null; + rifOrd?: string | null; + rows?: DtbDocOrdR[] | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + termCons?: string | null; + tipoAnag?: string | null; + totImponib?: number | null; + totIva?: number | null; + totMerce?: number | null; + totOmaggi?: number | null; + totProvvig?: number | null; + type: "dtb_ordt" | "wdtb_ordt" | "dtb_doct" | "wdtb_doct"; + untMisProd?: string | null; + + constructor(data: DtbDocOrdT) { + super(data); + this.acconto = data.acconto; + this.aspettoBeni = data.aspettoBeni; + this.causaleTrasp = data.causaleTrasp; + this.codAbi = data.codAbi; + this.codAnag = data.codAnag; + this.codAuto = data.codAuto; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.codDivi = data.codDivi; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codPaga = data.codPaga; + this.codProd = data.codProd; + this.codVage = data.codVage; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.codVvet2 = data.codVvet2; + this.codVzon = data.codVzon; + this.compilatoDa = data.compilatoDa; + this.dataInizTrasp = data.dataInizTrasp; + this.dataOrd = data.dataOrd; + this.descrizionePaga = data.descrizionePaga; + this.explodeKit = data.explodeKit; + this.flagPrzIva = data.flagPrzIva; + this.flagPrzScontati = data.flagPrzScontati; + this.gestione = data.gestione; + this.listino = data.listino; + this.mezzo = data.mezzo; + this.nettoMerce = data.nettoMerce; + this.numColli = data.numColli; + this.numOrd = data.numOrd; + this.peso = data.peso; + this.porto = data.porto; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.rifOrd = data.rifOrd; + this.rows = data.rows; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.termCons = data.termCons; + this.tipoAnag = data.tipoAnag; + this.totImponib = data.totImponib; + this.totIva = data.totIva; + this.totMerce = data.totMerce; + this.totOmaggi = data.totOmaggi; + this.totProvvig = data.totProvvig; + this.untMisProd = data.untMisProd; + } +} + +export class DtbBaseDocT extends DtbDocOrdT { + annotazioni?: string | null; + cambio?: number | null; + codDtip?: string | null; + codDtipVal?: string | null; + dataDoc?: Date | null; + dataDocVal?: Date | null; + dataIns?: Date | null; + dataReg?: Date | null; + numCmov?: number | null; + numDoc?: number | null; + numDocForn?: string | null; + numDocVal?: number | null; + oraInizTrasp?: string | null; + previstaFat?: string | null; + serDoc?: string | null; + serDocVal?: string | null; + type: "dtb_doct" | "wdtb_doct"; + userName?: string | null; + + constructor(data: DtbBaseDocT) { + super(data); + this.annotazioni = data.annotazioni; + this.cambio = data.cambio; + this.codDtip = data.codDtip; + this.codDtipVal = data.codDtipVal; + this.dataDoc = data.dataDoc; + this.dataDocVal = data.dataDocVal; + this.dataIns = data.dataIns; + this.dataReg = data.dataReg; + this.numCmov = data.numCmov; + this.numDoc = data.numDoc; + this.numDocForn = data.numDocForn; + this.numDocVal = data.numDocVal; + this.oraInizTrasp = data.oraInizTrasp; + this.previstaFat = data.previstaFat; + this.serDoc = data.serDoc; + this.serDocVal = data.serDocVal; + this.userName = data.userName; + } +} + +export class DtbDocCarat extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + nomeCarat?: string | null; + numDoc?: number | null; + serDoc?: string | null; + type: "dtb_doc_carat"; + valoreCarat?: string | null; + + constructor(data: DtbDocCarat) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.nomeCarat = data.nomeCarat; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.valoreCarat = data.valoreCarat; + } +} + +export class DtbDocImb extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + codTcol?: string | null; + dataDoc?: Date | null; + id?: number | null; + numDoc?: number | null; + numImbCons?: number | null; + numImbResi?: number | null; + serDoc?: string | null; + tipoReso?: number | null; + type: "dtb_doc_imb"; + + constructor(data: DtbDocImb) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codTcol = data.codTcol; + this.dataDoc = data.dataDoc; + this.id = data.id; + this.numDoc = data.numDoc; + this.numImbCons = data.numImbCons; + this.numImbResi = data.numImbResi; + this.serDoc = data.serDoc; + this.tipoReso = data.tipoReso; + } +} + +export class DtbDocLogImport extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + dataImport?: Date | null; + descrizione?: string | null; + flagTipoLog?: string | null; + gestione?: string | null; + idRiga?: number | null; + numDoc?: number | null; + serDoc?: string | null; + serie?: string | null; + totDoc?: number | null; + totDocInt?: number | null; + totDocNew?: number | null; + totDocRet?: number | null; + totQtaDoc?: number | null; + totQtaOmg?: number | null; + totQtaResi?: number | null; + type: "dtb_doc_log_import"; + + constructor(data: DtbDocLogImport) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.dataImport = data.dataImport; + this.descrizione = data.descrizione; + this.flagTipoLog = data.flagTipoLog; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.serie = data.serie; + this.totDoc = data.totDoc; + this.totDocInt = data.totDocInt; + this.totDocNew = data.totDocNew; + this.totDocRet = data.totDocRet; + this.totQtaDoc = data.totQtaDoc; + this.totQtaOmg = data.totQtaOmg; + this.totQtaResi = data.totQtaResi; + } +} + +export class DtbDocPdf extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + dataStampa?: Date | null; + filecontent?: string | null; + filename?: string | null; + filesize?: number | null; + mailDestInvio?: string | null; + numDoc?: number | null; + progSdi?: string | null; + serDoc?: string | null; + type: "dtb_doc_pdf"; + ultDataInvio?: Date | null; + ultUtenteInvio?: string | null; + utente?: string | null; + versione?: number | null; + + constructor(data: DtbDocPdf) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.dataStampa = data.dataStampa; + this.filecontent = data.filecontent; + this.filename = data.filename; + this.filesize = data.filesize; + this.mailDestInvio = data.mailDestInvio; + this.numDoc = data.numDoc; + this.progSdi = data.progSdi; + this.serDoc = data.serDoc; + this.ultDataInvio = data.ultDataInvio; + this.ultUtenteInvio = data.ultUtenteInvio; + this.utente = data.utente; + this.versione = data.versione; + } +} + +export class DtbDocXml extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataCreazione?: Date | null; + dataDoc?: Date | null; + dataInvioApp?: Date | null; + dataInvioSdi?: Date | null; + dataRispostaSdi?: Date | null; + dtbDocPdf?: DtbDocPdf | null; + fileContentPdf?: string | null; + fileNamePdf?: string | null; + fileSize?: number | null; + fileSize1?: number | null; + fileSize2?: number | null; + filecontent?: string | null; + filename?: string | null; + marcaDaBollo?: number | null; + msgErrore?: string | null; + numDoc?: number | null; + pdfEsito?: string | null; + progArchivio?: string | null; + progSdi?: string | null; + serDoc?: string | null; + stato?: string | null; + type: "dtb_doc_xml"; + versione?: number | null; + xmlEsito?: string | null; + + constructor(data: DtbDocXml) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataCreazione = data.dataCreazione; + this.dataDoc = data.dataDoc; + this.dataInvioApp = data.dataInvioApp; + this.dataInvioSdi = data.dataInvioSdi; + this.dataRispostaSdi = data.dataRispostaSdi; + this.dtbDocPdf = data.dtbDocPdf; + this.fileContentPdf = data.fileContentPdf; + this.fileNamePdf = data.fileNamePdf; + this.fileSize = data.fileSize; + this.fileSize1 = data.fileSize1; + this.fileSize2 = data.fileSize2; + this.filecontent = data.filecontent; + this.filename = data.filename; + this.marcaDaBollo = data.marcaDaBollo; + this.msgErrore = data.msgErrore; + this.numDoc = data.numDoc; + this.pdfEsito = data.pdfEsito; + this.progArchivio = data.progArchivio; + this.progSdi = data.progSdi; + this.serDoc = data.serDoc; + this.stato = data.stato; + this.versione = data.versione; + this.xmlEsito = data.xmlEsito; + } +} + +export class DtbDocr extends DtbBaseDocR implements EquatableEntityInterface { + activityIdRow?: string | null; + applicationName?: string | null; + cambio?: number | null; + codAnagComp?: string | null; + codCcon?: string | null; + codDivi?: string | null; + codDtipBolla?: string | null; + codDtipComp?: string | null; + codFornTd?: string | null; + codJfas?: string | null; + codMtip?: string | null; + codTcolUi?: string | null; + codVage?: string | null; + corrispettivo?: boolean | null; + costoUnt?: number | null; + dataDocBolla?: Date | null; + dataDocComp?: Date | null; + dataFineComp?: Date | null; + dataInizComp?: Date | null; + dataInsRow?: Date | null; + dataInsTestata?: Date | null; + dataReg?: Date | null; + data_scad?: Date | null; + docAp?: boolean | null; + dtbDocrBolla?: DtbDocr | null; + excludedColumns?: string[] | null; + flagEvasoForzato?: string | null; + flagPrzScontati?: string | null; + flagSezione?: FlagSezione | null; + flagTd?: string | null; + flag_is_kit?: string | null; + fuori_assortimento?: boolean | null; + generaMovCont?: string | null; + idContratto?: number | null; + idRigaBolla?: number | null; + matricola?: string | null; + numDocBolla?: number | null; + numDocComp?: number | null; + parent?: any | null; + percGest?: number | null; + percIspe?: number | null; + percProv?: number | null; + percProv2?: number | null; + perc_aliq?: number | null; + pesoNetto?: number | null; + posizione?: string | null; + qtaDoc?: number | null; + qtaDoc2?: number | null; + qtaDoc3?: number | null; + queryTimeoutSeconds?: number | null; + reso?: string | null; + righeKit?: DtbDocOrdR[] | null; + sconto4?: number | null; + serDocBolla?: string | null; + serDocComp?: string | null; + setDatiLisv?: boolean | null; + tableName?: string | null; + tipoEmissione?: string | null; + transactionGroupId?: number | null; + type: "dtb_docr"; + untDoc?: string | null; + untDoc2?: string | null; + untDoc3?: string | null; + untMisDTO?: UntMisDTO | null; + valGest?: number | null; + valIspe?: number | null; + valProv?: number | null; + valProv2?: number | null; + ventilazione?: boolean | null; + + constructor(data: DtbDocr) { + super(data); + this.activityIdRow = data.activityIdRow; + this.applicationName = data.applicationName; + this.cambio = data.cambio; + this.codAnagComp = data.codAnagComp; + this.codCcon = data.codCcon; + this.codDivi = data.codDivi; + this.codDtipBolla = data.codDtipBolla; + this.codDtipComp = data.codDtipComp; + this.codFornTd = data.codFornTd; + this.codJfas = data.codJfas; + this.codMtip = data.codMtip; + this.codTcolUi = data.codTcolUi; + this.codVage = data.codVage; + this.corrispettivo = data.corrispettivo; + this.costoUnt = data.costoUnt; + this.dataDocBolla = data.dataDocBolla; + this.dataDocComp = data.dataDocComp; + this.dataFineComp = data.dataFineComp; + this.dataInizComp = data.dataInizComp; + this.dataInsRow = data.dataInsRow; + this.dataInsTestata = data.dataInsTestata; + this.dataReg = data.dataReg; + this.data_scad = data.data_scad; + this.docAp = data.docAp; + this.dtbDocrBolla = data.dtbDocrBolla; + this.excludedColumns = data.excludedColumns; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagPrzScontati = data.flagPrzScontati; + this.flagSezione = data.flagSezione; + this.flagTd = data.flagTd; + this.flag_is_kit = data.flag_is_kit; + this.fuori_assortimento = data.fuori_assortimento; + this.generaMovCont = data.generaMovCont; + this.idContratto = data.idContratto; + this.idRigaBolla = data.idRigaBolla; + this.matricola = data.matricola; + this.numDocBolla = data.numDocBolla; + this.numDocComp = data.numDocComp; + this.parent = data.parent; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percProv = data.percProv; + this.percProv2 = data.percProv2; + this.perc_aliq = data.perc_aliq; + this.pesoNetto = data.pesoNetto; + this.posizione = data.posizione; + this.qtaDoc = data.qtaDoc; + this.qtaDoc2 = data.qtaDoc2; + this.qtaDoc3 = data.qtaDoc3; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.reso = data.reso; + this.righeKit = data.righeKit; + this.sconto4 = data.sconto4; + this.serDocBolla = data.serDocBolla; + this.serDocComp = data.serDocComp; + this.setDatiLisv = data.setDatiLisv; + this.tableName = data.tableName; + this.tipoEmissione = data.tipoEmissione; + this.transactionGroupId = data.transactionGroupId; + this.untDoc = data.untDoc; + this.untDoc2 = data.untDoc2; + this.untDoc3 = data.untDoc3; + this.untMisDTO = data.untMisDTO; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valProv = data.valProv; + this.valProv2 = data.valProv2; + this.ventilazione = data.ventilazione; + } +} + +export class DtbDocs extends EntityBase { + cambio?: string | null; + codAliq?: string | null; + codAnag?: string | null; + codAnagComp?: string | null; + codDivi?: string | null; + codDtip?: string | null; + codDtipComp?: string | null; + codJcom?: string | null; + codProd?: string | null; + codSpes?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + dataDocComp?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + gestione?: string | null; + importo?: number | null; + importoIva?: number | null; + noteRiga?: string | null; + numDoc?: number | null; + numDocComp?: number | null; + numOrd?: number | null; + percSco?: number | null; + qta?: number | null; + qtaProd?: string | null; + riga?: number | null; + rigaOrd?: number | null; + serDoc?: string | null; + serDocComp?: string | null; + type: "dtb_docs"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: DtbDocs) { + super(data); + this.cambio = data.cambio; + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codAnagComp = data.codAnagComp; + this.codDivi = data.codDivi; + this.codDtip = data.codDtip; + this.codDtipComp = data.codDtipComp; + this.codJcom = data.codJcom; + this.codProd = data.codProd; + this.codSpes = data.codSpes; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.dataDocComp = data.dataDocComp; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.gestione = data.gestione; + this.importo = data.importo; + this.importoIva = data.importoIva; + this.noteRiga = data.noteRiga; + this.numDoc = data.numDoc; + this.numDocComp = data.numDocComp; + this.numOrd = data.numOrd; + this.percSco = data.percSco; + this.qta = data.qta; + this.qtaProd = data.qtaProd; + this.riga = data.riga; + this.rigaOrd = data.rigaOrd; + this.serDoc = data.serDoc; + this.serDocComp = data.serDocComp; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class DtbDoct extends DtbBaseDocT implements EquatableEntityInterface { + activityId?: string | null; + applicationName?: string | null; + arlSchaccDoc?: ArlSchaccDoc[] | null; + checkNumDoc?: boolean | null; + chkArtListino?: string | null; + codBancAzi?: string | null; + codFornTd?: string | null; + codFornTrasp?: string | null; + codLingua?: string | null; + codVage2?: string | null; + conducente?: string | null; + controllatoDa?: string | null; + costi?: CostiDTO[] | null; + ctbMovi?: CtbMovi[] | null; + ctbMovt?: CtbMovt | null; + ctbScad?: CtbScad[] | null; + dataChkDoc?: Date | null; + dataCmov?: Date | null; + dataCons?: Date | null; + dataRifScad?: Date | null; + dataUltMod?: Date | null; + drlDocAttached?: DrlDocAttached[] | null; + dtbDocCarat?: DtbDocCarat[] | null; + dtbDocImb?: DtbDocImb[] | null; + dtbDocr?: DtbDocr[] | null; + dtbDocs?: DtbDocs[] | null; + dtbDoctBolle?: DtbDoct[] | null; + dtbInum?: DtbInum | null; + dtbTipi?: DtbTipi | null; + excludedColumns?: string[] | null; + flagCheckPlafond?: string | null; + generaMovCont?: string | null; + iban?: string | null; + idLotto?: number | null; + idViaggio?: string | null; + incoterms?: string | null; + jrlSchmacDoc?: JrlSchmacDoc[] | null; + kmPercorsi?: number | null; + modificatoDa?: string | null; + mrn?: string | null; + mtbColt?: MtbColt[] | null; + nolo?: number | null; + nolo2?: number | null; + ntbDoct?: NtbDoct[] | null; + numCmovAutofattura?: number | null; + numVettura?: string | null; + parent?: any | null; + partitaMag?: string | null; + pesoNettoKg?: number | null; + postiPallet?: number | null; + queryTimeoutSeconds?: number | null; + reso?: string | null; + rows?: DtbDocr[] | null; + setDataDecorrenza2DataRic?: string | null; + statoConsegna?: number | null; + tableName?: string | null; + targa?: string | null; + targaRim?: string | null; + tempMedia?: number | null; + tipoTrasporto?: string | null; + tipo_emissione?: string | null; + totSpese?: number | null; + transactionGroupId?: number | null; + type: "dtb_doct"; + updProgMaga?: boolean | null; + vtbClie?: VtbClie | null; + + constructor(data: DtbDoct) { + super(data); + this.activityId = data.activityId; + this.applicationName = data.applicationName; + this.arlSchaccDoc = data.arlSchaccDoc; + this.checkNumDoc = data.checkNumDoc; + this.chkArtListino = data.chkArtListino; + this.codBancAzi = data.codBancAzi; + this.codFornTd = data.codFornTd; + this.codFornTrasp = data.codFornTrasp; + this.codLingua = data.codLingua; + this.codVage2 = data.codVage2; + this.conducente = data.conducente; + this.controllatoDa = data.controllatoDa; + this.costi = data.costi; + this.ctbMovi = data.ctbMovi; + this.ctbMovt = data.ctbMovt; + this.ctbScad = data.ctbScad; + this.dataChkDoc = data.dataChkDoc; + this.dataCmov = data.dataCmov; + this.dataCons = data.dataCons; + this.dataRifScad = data.dataRifScad; + this.dataUltMod = data.dataUltMod; + this.drlDocAttached = data.drlDocAttached; + this.dtbDocCarat = data.dtbDocCarat; + this.dtbDocImb = data.dtbDocImb; + this.dtbDocr = data.dtbDocr; + this.dtbDocs = data.dtbDocs; + this.dtbDoctBolle = data.dtbDoctBolle; + this.dtbInum = data.dtbInum; + this.dtbTipi = data.dtbTipi; + this.excludedColumns = data.excludedColumns; + this.flagCheckPlafond = data.flagCheckPlafond; + this.generaMovCont = data.generaMovCont; + this.iban = data.iban; + this.idLotto = data.idLotto; + this.idViaggio = data.idViaggio; + this.incoterms = data.incoterms; + this.jrlSchmacDoc = data.jrlSchmacDoc; + this.kmPercorsi = data.kmPercorsi; + this.modificatoDa = data.modificatoDa; + this.mrn = data.mrn; + this.mtbColt = data.mtbColt; + this.nolo = data.nolo; + this.nolo2 = data.nolo2; + this.ntbDoct = data.ntbDoct; + this.numCmovAutofattura = data.numCmovAutofattura; + this.numVettura = data.numVettura; + this.parent = data.parent; + this.partitaMag = data.partitaMag; + this.pesoNettoKg = data.pesoNettoKg; + this.postiPallet = data.postiPallet; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.reso = data.reso; + this.setDataDecorrenza2DataRic = data.setDataDecorrenza2DataRic; + this.statoConsegna = data.statoConsegna; + this.tableName = data.tableName; + this.targa = data.targa; + this.targaRim = data.targaRim; + this.tempMedia = data.tempMedia; + this.tipoTrasporto = data.tipoTrasporto; + this.tipo_emissione = data.tipo_emissione; + this.totSpese = data.totSpese; + this.transactionGroupId = data.transactionGroupId; + this.updProgMaga = data.updProgMaga; + this.vtbClie = data.vtbClie; + } +} + +export class DtbDoctCambioTipoDoc extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + codDtipNew?: string | null; + dataChk?: Date | null; + dataCmov?: Date | null; + dataDoc?: Date | null; + id?: number | null; + idAllegato?: string | null; + numDoc?: number | null; + numDocForn?: string | null; + ordinamento?: number | null; + serDoc?: string | null; + type: "dtb_doct_cambio_tipo_doc"; + userName?: string | null; + + constructor(data: DtbDoctCambioTipoDoc) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codDtipNew = data.codDtipNew; + this.dataChk = data.dataChk; + this.dataCmov = data.dataCmov; + this.dataDoc = data.dataDoc; + this.id = data.id; + this.idAllegato = data.idAllegato; + this.numDoc = data.numDoc; + this.numDocForn = data.numDocForn; + this.ordinamento = data.ordinamento; + this.serDoc = data.serDoc; + this.userName = data.userName; + } +} + +export class DtbDocuLog extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + dateTimeLog?: Date | null; + docType?: string | null; + flagErrore?: boolean | null; + flagType?: string | null; + formatFile?: string | null; + idRiga?: number | null; + note?: string | null; + numDoc?: number | null; + serDoc?: string | null; + type: "dtb_docu_log"; + userName?: string | null; + + constructor(data: DtbDocuLog) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.dateTimeLog = data.dateTimeLog; + this.docType = data.docType; + this.flagErrore = data.flagErrore; + this.flagType = data.flagType; + this.formatFile = data.formatFile; + this.idRiga = data.idRiga; + this.note = data.note; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.userName = data.userName; + } +} + +export class DtbFatturePassive extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + dtbFatturePassiveDdt?: DtbFatturePassiveDdt[] | null; + dtbFatturePassiveIva?: DtbFatturePassiveIva[] | null; + dtbFatturePassiveScad?: DtbFatturePassiveScad[] | null; + iban?: string | null; + idAttach?: string | null; + identificativoSdi?: string | null; + numDoc?: string | null; + partIva?: string | null; + totDoc?: number | null; + type: "dtb_fatture_passive"; + + constructor(data: DtbFatturePassive) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.dtbFatturePassiveDdt = data.dtbFatturePassiveDdt; + this.dtbFatturePassiveIva = data.dtbFatturePassiveIva; + this.dtbFatturePassiveScad = data.dtbFatturePassiveScad; + this.iban = data.iban; + this.idAttach = data.idAttach; + this.identificativoSdi = data.identificativoSdi; + this.numDoc = data.numDoc; + this.partIva = data.partIva; + this.totDoc = data.totDoc; + } +} + +export class DtbFatturePassiveDdt extends EntityBase { + data?: Date | null; + id?: number | null; + idAttach?: string | null; + numero?: string | null; + type: "dtb_fatture_passive_ddt"; + + constructor(data: DtbFatturePassiveDdt) { + super(data); + this.data = data.data; + this.id = data.id; + this.idAttach = data.idAttach; + this.numero = data.numero; + } +} + +export class DtbFatturePassiveIva extends EntityBase { + esigibilita?: string | null; + id?: number | null; + idAttach?: string | null; + imponibile?: number | null; + imposta?: number | null; + natura?: string | null; + percIva?: number | null; + type: "dtb_fatture_passive_iva"; + + constructor(data: DtbFatturePassiveIva) { + super(data); + this.esigibilita = data.esigibilita; + this.id = data.id; + this.idAttach = data.idAttach; + this.imponibile = data.imponibile; + this.imposta = data.imposta; + this.natura = data.natura; + this.percIva = data.percIva; + } +} + +export class DtbFatturePassiveScad extends EntityBase { + codPagaFe?: string | null; + dataScad?: Date | null; + idAttach?: string | null; + idRiga?: number | null; + importo?: number | null; + type: "dtb_fatture_passive_scad"; + + constructor(data: DtbFatturePassiveScad) { + super(data); + this.codPagaFe = data.codPagaFe; + this.dataScad = data.dataScad; + this.idAttach = data.idAttach; + this.idRiga = data.idRiga; + this.importo = data.importo; + } +} + +export class DtbGrupArt extends EntityBase { + codDgrpArt?: string | null; + descrizione?: string | null; + dtbGrupArtLingua?: DtbGrupArtLingua[] | null; + flagSegnalazione?: string | null; + type: "dtb_grup_art"; + + constructor(data: DtbGrupArt) { + super(data); + this.codDgrpArt = data.codDgrpArt; + this.descrizione = data.descrizione; + this.dtbGrupArtLingua = data.dtbGrupArtLingua; + this.flagSegnalazione = data.flagSegnalazione; + } +} + +export class DtbGrupArtLingua extends EntityBase { + codDgrpArt?: string | null; + codLingua?: string | null; + descrizioneLingua?: string | null; + type: "dtb_grup_art_lingua"; + + constructor(data: DtbGrupArtLingua) { + super(data); + this.codDgrpArt = data.codDgrpArt; + this.codLingua = data.codLingua; + this.descrizioneLingua = data.descrizioneLingua; + } +} + +export class DtbIntraceeNatura extends EntityBase { + codAlfanumerico?: string | null; + codNumerico?: string | null; + natura?: string | null; + type: "dtb_intracee_natura"; + + constructor(data: DtbIntraceeNatura) { + super(data); + this.codAlfanumerico = data.codAlfanumerico; + this.codNumerico = data.codNumerico; + this.natura = data.natura; + } +} + +export class DtbInum extends EntityBase { + anno?: number | null; + codIreg?: string | null; + numDoc?: number | null; + numIreg?: number | null; + serDoc?: string | null; + type: "dtb_inum"; + + constructor(data: DtbInum) { + super(data); + this.anno = data.anno; + this.codIreg = data.codIreg; + this.numDoc = data.numDoc; + this.numIreg = data.numIreg; + this.serDoc = data.serDoc; + } +} + +export class DtbModStampa extends EntityBase { + descrizione?: string | null; + flagAttivo?: string | null; + modStampa?: string | null; + note?: string | null; + reportId?: number | null; + type: "dtb_mod_stampa"; + + constructor(data: DtbModStampa) { + super(data); + this.descrizione = data.descrizione; + this.flagAttivo = data.flagAttivo; + this.modStampa = data.modStampa; + this.note = data.note; + this.reportId = data.reportId; + } +} + +export class DtbNoteDoc extends EntityBase { + dataFine?: Date | null; + dataIniz?: Date | null; + drlTipiNoteDoc?: DrlTipiNoteDoc[] | null; + id?: number | null; + note?: string | null; + type: "dtb_note_doc"; + + constructor(data: DtbNoteDoc) { + super(data); + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.drlTipiNoteDoc = data.drlTipiNoteDoc; + this.id = data.id; + this.note = data.note; + } +} + +export class DtbOann extends EntityBase { + codOann?: string | null; + descrizione?: string | null; + flagInclStat?: string | null; + type: "dtb_oann"; + + constructor(data: DtbOann) { + super(data); + this.codOann = data.codOann; + this.descrizione = data.descrizione; + this.flagInclStat = data.flagInclStat; + } +} + +export class DtbOrdCommonR extends DtbDocOrdR { + dataCons?: Date | null; + gruppoCons?: string | null; + idArt?: number | null; + type: "dtb_ordr" | "wdtb_ordr"; + + constructor(data: DtbOrdCommonR) { + super(data); + this.dataCons = data.dataCons; + this.gruppoCons = data.gruppoCons; + this.idArt = data.idArt; + } +} + +export class DtbOrdCq extends EntityBase { + controllo?: string | null; + dataConf?: Date | null; + dataOrd?: Date | null; + dtbOrdCqr?: DtbOrdCqr[] | null; + flagConf?: string | null; + gestione?: string | null; + idRiga?: number | null; + note?: string | null; + numFase?: number | null; + numOrd?: number | null; + numRip?: number | null; + tipoValore?: TipoValore | null; + tipologia?: string | null; + type: "dtb_ord_cq"; + valoreRif?: string | null; + + constructor(data: DtbOrdCq) { + super(data); + this.controllo = data.controllo; + this.dataConf = data.dataConf; + this.dataOrd = data.dataOrd; + this.dtbOrdCqr = data.dtbOrdCqr; + this.flagConf = data.flagConf; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.note = data.note; + this.numFase = data.numFase; + this.numOrd = data.numOrd; + this.numRip = data.numRip; + this.tipoValore = data.tipoValore; + this.tipologia = data.tipologia; + this.valoreRif = data.valoreRif; + } +} + +export class DtbOrdCqr extends EntityBase { + dataOrd?: Date | null; + dataRil?: Date | null; + gestione?: string | null; + idRiga?: number | null; + note?: string | null; + numOrd?: number | null; + numRip?: number | null; + rilevatore?: string | null; + type: "dtb_ord_cqr"; + valoreRil?: string | null; + + constructor(data: DtbOrdCqr) { + super(data); + this.dataOrd = data.dataOrd; + this.dataRil = data.dataRil; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.note = data.note; + this.numOrd = data.numOrd; + this.numRip = data.numRip; + this.rilevatore = data.rilevatore; + this.valoreRil = data.valoreRil; + } +} + +export class DtbOrdL extends EntityBase { + codMart?: string | null; + dataOrd?: Date | null; + descrizione?: string | null; + gestione?: string | null; + idRiga?: number | null; + numOrd?: number | null; + type: "dtb_ordl"; + + constructor(data: DtbOrdL) { + super(data); + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.numOrd = data.numOrd; + } +} + +export class DtbOrdLogImport extends EntityBase { + dataImport?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + flagTipoLog?: string | null; + flagTipoOrd?: string | null; + gestione?: string | null; + idRiga?: number | null; + numOrd?: number | null; + serie?: string | null; + totOrd?: number | null; + totOrdNew?: number | null; + totQtaOrd?: number | null; + totQuaOmg?: number | null; + totQuaResi?: number | null; + type: "dtb_ord_log_import"; + + constructor(data: DtbOrdLogImport) { + super(data); + this.dataImport = data.dataImport; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.flagTipoLog = data.flagTipoLog; + this.flagTipoOrd = data.flagTipoOrd; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.numOrd = data.numOrd; + this.serie = data.serie; + this.totOrd = data.totOrd; + this.totOrdNew = data.totOrdNew; + this.totQtaOrd = data.totQtaOrd; + this.totQuaOmg = data.totQuaOmg; + this.totQuaResi = data.totQuaResi; + } +} + +export class DtbOrdMacc extends EntityBase { + activityId?: string | null; + codCmac?: string | null; + dataMov?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + evento?: string | null; + gestione?: string | null; + idRiga?: number | null; + numFase?: number | null; + numOrd?: number | null; + qtaMov?: number | null; + type: "dtb_ord_macc"; + + constructor(data: DtbOrdMacc) { + super(data); + this.activityId = data.activityId; + this.codCmac = data.codCmac; + this.dataMov = data.dataMov; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.evento = data.evento; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.numFase = data.numFase; + this.numOrd = data.numOrd; + this.qtaMov = data.qtaMov; + } +} + +export class DtbOrdMaccEventi extends EntityBase { + evento?: string | null; + tipologia?: string | null; + type: "dtb_ord_macc_eventi"; + + constructor(data: DtbOrdMaccEventi) { + super(data); + this.evento = data.evento; + this.tipologia = data.tipologia; + } +} + +export class DtbOrdPdf extends EntityBase { + dataOrd?: Date | null; + dataStampa?: Date | null; + filecontent?: string | null; + filename?: string | null; + filesize?: number | null; + gestione?: string | null; + mailDestInvio?: string | null; + numOrd?: number | null; + type: "dtb_ord_pdf"; + ultDataInvio?: Date | null; + ultUtenteInvio?: string | null; + utente?: string | null; + versione?: number | null; + + constructor(data: DtbOrdPdf) { + super(data); + this.dataOrd = data.dataOrd; + this.dataStampa = data.dataStampa; + this.filecontent = data.filecontent; + this.filename = data.filename; + this.filesize = data.filesize; + this.gestione = data.gestione; + this.mailDestInvio = data.mailDestInvio; + this.numOrd = data.numOrd; + this.ultDataInvio = data.ultDataInvio; + this.ultUtenteInvio = data.ultUtenteInvio; + this.utente = data.utente; + this.versione = data.versione; + } +} + +export class DtbOrdSteps extends EntityBase { + activityId?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codProdPri?: string | null; + dataDoc?: string | null; + dataFine?: Date | null; + dataIniz?: Date | null; + dataOrd?: Date | null; + descrizioneAttivita?: string | null; + flagStepAttivo?: string | null; + flagTipoTempo?: string | null; + gestione?: string | null; + hrNum?: number | null; + hrTime?: number | null; + idRiga?: number | null; + idRigaDoc?: string | null; + idStep?: number | null; + note?: string | null; + numDoc?: string | null; + numFase?: number | null; + numOrd?: number | null; + qtaAllocata?: number | null; + qtaDisp?: number | null; + qtaDispImmessa?: number | null; + qtaImmesse?: number | null; + qtaInProd?: number | null; + qtaLav?: number | null; + qtaProd?: number | null; + qtaScartate?: number | null; + qtaTrasferite?: number | null; + rapConvLav?: number | null; + serDoc?: string | null; + type: "dtb_ord_steps"; + untMisLav?: string | null; + + constructor(data: DtbOrdSteps) { + super(data); + this.activityId = data.activityId; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codProdPri = data.codProdPri; + this.dataDoc = data.dataDoc; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.dataOrd = data.dataOrd; + this.descrizioneAttivita = data.descrizioneAttivita; + this.flagStepAttivo = data.flagStepAttivo; + this.flagTipoTempo = data.flagTipoTempo; + this.gestione = data.gestione; + this.hrNum = data.hrNum; + this.hrTime = data.hrTime; + this.idRiga = data.idRiga; + this.idRigaDoc = data.idRigaDoc; + this.idStep = data.idStep; + this.note = data.note; + this.numDoc = data.numDoc; + this.numFase = data.numFase; + this.numOrd = data.numOrd; + this.qtaAllocata = data.qtaAllocata; + this.qtaDisp = data.qtaDisp; + this.qtaDispImmessa = data.qtaDispImmessa; + this.qtaImmesse = data.qtaImmesse; + this.qtaInProd = data.qtaInProd; + this.qtaLav = data.qtaLav; + this.qtaProd = data.qtaProd; + this.qtaScartate = data.qtaScartate; + this.qtaTrasferite = data.qtaTrasferite; + this.rapConvLav = data.rapConvLav; + this.serDoc = data.serDoc; + this.untMisLav = data.untMisLav; + } +} + +export class DtbOrdr extends DtbOrdCommonR implements EquatableEntityInterface { + applicationName?: string | null; + cambio?: number | null; + codAsso?: string | null; + codDivi?: string | null; + codFornTd?: string | null; + codJcomTestata?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codMcon?: string | null; + codMtip?: string | null; + codOann?: string | null; + codTcolUi?: string | null; + codVage?: string | null; + dataConsAnag?: Date | null; + dataFineComp?: Date | null; + dataInizComp?: Date | null; + dataInizProd?: Date | null; + dataOrdRif?: Date | null; + distinta?: JtbDistMate[] | null; + excludedColumns?: string[] | null; + flagEvaso?: FlagEvaso | null; + flagEvasoForzato?: string | null; + flagPrzScontati?: string | null; + flagTd?: string | null; + flag_is_kit?: string | null; + flag_prz_iva?: string | null; + gestioneRif?: string | null; + gestisciStralciOrdV?: string | null; + ggCons?: number | null; + idContratto?: number | null; + idViaggio?: string | null; + idViaggioTestata?: string | null; + jtbComt?: JtbComt | null; + matricola?: string | null; + numCnfEvasa?: number | null; + numFase?: number | null; + numOrdRif?: number | null; + ordLav?: DtbOrdt[] | null; + parent?: any | null; + percAliq?: number | null; + percGest?: number | null; + percIspe?: number | null; + percProv?: number | null; + percProv2?: number | null; + posRiga?: number | null; + qtaAcc?: number | null; + qtaCol?: number | null; + qtaEvasa?: number | null; + qtaOrd?: number | null; + qtaOrd2?: number | null; + qtaOrd3?: number | null; + queryTimeoutSeconds?: number | null; + rigaOrdRif?: number | null; + righeKit?: DtbDocOrdR[] | null; + stbActivityList?: StbActivity[] | null; + systemNote?: string | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "dtb_ordr"; + untMisDTO?: UntMisDTO | null; + untOrd?: string | null; + untOrd2?: string | null; + untOrd3?: string | null; + valGest?: number | null; + valIspe?: number | null; + valProv?: number | null; + valProv2?: number | null; + + constructor(data: DtbOrdr) { + super(data); + this.applicationName = data.applicationName; + this.cambio = data.cambio; + this.codAsso = data.codAsso; + this.codDivi = data.codDivi; + this.codFornTd = data.codFornTd; + this.codJcomTestata = data.codJcomTestata; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codMcon = data.codMcon; + this.codMtip = data.codMtip; + this.codOann = data.codOann; + this.codTcolUi = data.codTcolUi; + this.codVage = data.codVage; + this.dataConsAnag = data.dataConsAnag; + this.dataFineComp = data.dataFineComp; + this.dataInizComp = data.dataInizComp; + this.dataInizProd = data.dataInizProd; + this.dataOrdRif = data.dataOrdRif; + this.distinta = data.distinta; + this.excludedColumns = data.excludedColumns; + this.flagEvaso = data.flagEvaso; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagPrzScontati = data.flagPrzScontati; + this.flagTd = data.flagTd; + this.flag_is_kit = data.flag_is_kit; + this.flag_prz_iva = data.flag_prz_iva; + this.gestioneRif = data.gestioneRif; + this.gestisciStralciOrdV = data.gestisciStralciOrdV; + this.ggCons = data.ggCons; + this.idContratto = data.idContratto; + this.idViaggio = data.idViaggio; + this.idViaggioTestata = data.idViaggioTestata; + this.jtbComt = data.jtbComt; + this.matricola = data.matricola; + this.numCnfEvasa = data.numCnfEvasa; + this.numFase = data.numFase; + this.numOrdRif = data.numOrdRif; + this.ordLav = data.ordLav; + this.parent = data.parent; + this.percAliq = data.percAliq; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percProv = data.percProv; + this.percProv2 = data.percProv2; + this.posRiga = data.posRiga; + this.qtaAcc = data.qtaAcc; + this.qtaCol = data.qtaCol; + this.qtaEvasa = data.qtaEvasa; + this.qtaOrd = data.qtaOrd; + this.qtaOrd2 = data.qtaOrd2; + this.qtaOrd3 = data.qtaOrd3; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rigaOrdRif = data.rigaOrdRif; + this.righeKit = data.righeKit; + this.stbActivityList = data.stbActivityList; + this.systemNote = data.systemNote; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.untMisDTO = data.untMisDTO; + this.untOrd = data.untOrd; + this.untOrd2 = data.untOrd2; + this.untOrd3 = data.untOrd3; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valProv = data.valProv; + this.valProv2 = data.valProv2; + } +} + +export class DtbOrdrPianProd extends EntityBase { + codAnag?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codMart?: string | null; + codMdep?: string | null; + codProd?: string | null; + codSl?: string | null; + codTcol?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + dataEsportazione?: Date | null; + dataOrd?: Date | null; + dataPiano?: Date | null; + dtbOrdrPianProdDet?: DtbOrdrPianProdDet[] | null; + dtbOrdt?: DtbOrdt | null; + flagModificato?: boolean | null; + gestione?: string | null; + id?: number | null; + luogoLavoro?: string | null; + magaz?: boolean | null; + nPersone?: number | null; + note?: string | null; + numOrd?: number | null; + partitaMag?: string | null; + prodTeorica?: number | null; + qtaOrd?: number | null; + type: "dtb_ordr_pian_prod"; + + constructor(data: DtbOrdrPianProd) { + super(data); + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.codSl = data.codSl; + this.codTcol = data.codTcol; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.dataEsportazione = data.dataEsportazione; + this.dataOrd = data.dataOrd; + this.dataPiano = data.dataPiano; + this.dtbOrdrPianProdDet = data.dtbOrdrPianProdDet; + this.dtbOrdt = data.dtbOrdt; + this.flagModificato = data.flagModificato; + this.gestione = data.gestione; + this.id = data.id; + this.luogoLavoro = data.luogoLavoro; + this.magaz = data.magaz; + this.nPersone = data.nPersone; + this.note = data.note; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.prodTeorica = data.prodTeorica; + this.qtaOrd = data.qtaOrd; + } +} + +export class DtbOrdrPianProdDet extends EntityBase { + codMart?: string | null; + id?: number | null; + partitaMag?: string | null; + type: "dtb_ordr_pian_prod_det"; + + constructor(data: DtbOrdrPianProdDet) { + super(data); + this.codMart = data.codMart; + this.id = data.id; + this.partitaMag = data.partitaMag; + } +} + +export class DtbOrds extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codAliq?: string | null; + codAnag?: string | null; + codDivi?: string | null; + codProd?: string | null; + codSpes?: string | null; + codVdes?: string | null; + dataOrd?: Date | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + gestione?: string | null; + idRiga?: number | null; + importo?: number | null; + importoIva?: number | null; + numFase?: number | null; + numOrd?: number | null; + parent?: any | null; + qta?: number | null; + qtaProd?: string | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "dtb_ords"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: DtbOrds) { + super(data); + this.applicationName = data.applicationName; + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codProd = data.codProd; + this.codSpes = data.codSpes; + this.codVdes = data.codVdes; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.importo = data.importo; + this.importoIva = data.importoIva; + this.numFase = data.numFase; + this.numOrd = data.numOrd; + this.parent = data.parent; + this.qta = data.qta; + this.qtaProd = data.qtaProd; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class DtbOrdt extends DtbDocOrdT implements EquatableEntityInterface { + activityId?: string | null; + activityTypeId?: string | null; + applicationName?: string | null; + arlSchaccOrd?: ArlSchaccOrd[] | null; + cambio?: number | null; + codBancAzi?: string | null; + codDgrpArt?: string | null; + codEtic?: string | null; + codFornTd?: string | null; + codJflav?: string | null; + codLingua?: string | null; + codTcolUi?: string | null; + codTcolUl?: string | null; + codVage2?: string | null; + colliPedana?: number | null; + controllatoDa?: string | null; + dataConferma?: Date | null; + dataConsProd?: Date | null; + dataConsProdMax?: Date | null; + dataConsRich?: Date | null; + dataEsportazione?: Date | null; + dataInizProd?: Date | null; + dataInsOrd?: Date | null; + dataOrdRif?: Date | null; + dataRicezione?: Date | null; + dataRifScad?: Date | null; + dataUltMod?: Date | null; + descrEstesaProd?: string | null; + descrizioneProd?: string | null; + drlOrdAttached?: DrlOrdAttached[] | null; + dtbOrdCq?: DtbOrdCq[] | null; + dtbOrdCqr?: DtbOrdCqr[] | null; + dtbOrdL?: DtbOrdL[] | null; + dtbOrdMacc?: DtbOrdMacc[] | null; + dtbOrdSteps?: DtbOrdSteps[] | null; + dtbOrdr?: DtbOrdr[] | null; + dtbOrds?: DtbOrds[] | null; + dtbOrdtProd?: DtbOrdt | null; + dtbOrdtTraf?: DtbOrdt | null; + eanFidelity?: string | null; + excludedColumns?: string[] | null; + flagAnnulla?: string | null; + flagBudget?: boolean | null; + flagEscRoyal?: string | null; + flagEvasoForzato?: string | null; + flagEvasoProd?: string | null; + flagScollegaPartitaMag?: boolean | null; + flagSospeso?: string | null; + flagTd?: string | null; + flagTipologia?: string | null; + generaOrdLavDaProd?: boolean | null; + gestioneRif?: string | null; + gestisciOrdLavTx?: string | null; + gestisciStralciOrdV?: string | null; + gtbAnag?: GtbAnag | null; + idViaggioTestata?: string | null; + incoterms?: string | null; + itemId?: string | null; + jrlDisOrd?: JrlDisOrd[] | null; + jtbComt?: JtbComt | null; + jtbLott?: JtbLott | null; + livello?: number | null; + modificatoDa?: string | null; + nolo?: number | null; + nolo2?: number | null; + note?: string | null; + noteConferma?: string | null; + noteExport?: string | null; + noteIncoterms?: string | null; + numCnfProd?: number | null; + numCons?: string | null; + numFase?: number | null; + numOrdProvv?: number | null; + numOrdRif?: number | null; + ordLavTx?: DtbOrdt | null; + ordTrasf?: boolean | null; + ordiniV?: DtbOrdt[] | null; + parent?: any | null; + partitaMag?: string | null; + partitaMagToDelete?: MtbPartitaMag | null; + percEsclStat?: number | null; + personaRif?: string | null; + postiPallet?: number | null; + qtaEvasaProd?: number | null; + qtaPrenotataRep?: number | null; + queryTimeoutSeconds?: number | null; + rfid?: string | null; + rifDataOrd?: Date | null; + rifNumOrd?: string | null; + rifPartitaMag?: MtbPartitaMag | null; + rigaOrdRif?: number | null; + rows?: DtbOrdr[] | null; + serie?: string | null; + stbActivity?: StbActivity | null; + tableName?: string | null; + targa?: string | null; + totFasi?: number | null; + transactionGroupId?: number | null; + type: "dtb_ordt"; + userName?: string | null; + vtbClie?: VtbClie | null; + vtbDest?: VtbDest | null; + + constructor(data: DtbOrdt) { + super(data); + this.activityId = data.activityId; + this.activityTypeId = data.activityTypeId; + this.applicationName = data.applicationName; + this.arlSchaccOrd = data.arlSchaccOrd; + this.cambio = data.cambio; + this.codBancAzi = data.codBancAzi; + this.codDgrpArt = data.codDgrpArt; + this.codEtic = data.codEtic; + this.codFornTd = data.codFornTd; + this.codJflav = data.codJflav; + this.codLingua = data.codLingua; + this.codTcolUi = data.codTcolUi; + this.codTcolUl = data.codTcolUl; + this.codVage2 = data.codVage2; + this.colliPedana = data.colliPedana; + this.controllatoDa = data.controllatoDa; + this.dataConferma = data.dataConferma; + this.dataConsProd = data.dataConsProd; + this.dataConsProdMax = data.dataConsProdMax; + this.dataConsRich = data.dataConsRich; + this.dataEsportazione = data.dataEsportazione; + this.dataInizProd = data.dataInizProd; + this.dataInsOrd = data.dataInsOrd; + this.dataOrdRif = data.dataOrdRif; + this.dataRicezione = data.dataRicezione; + this.dataRifScad = data.dataRifScad; + this.dataUltMod = data.dataUltMod; + this.descrEstesaProd = data.descrEstesaProd; + this.descrizioneProd = data.descrizioneProd; + this.drlOrdAttached = data.drlOrdAttached; + this.dtbOrdCq = data.dtbOrdCq; + this.dtbOrdCqr = data.dtbOrdCqr; + this.dtbOrdL = data.dtbOrdL; + this.dtbOrdMacc = data.dtbOrdMacc; + this.dtbOrdSteps = data.dtbOrdSteps; + this.dtbOrdr = data.dtbOrdr; + this.dtbOrds = data.dtbOrds; + this.dtbOrdtProd = data.dtbOrdtProd; + this.dtbOrdtTraf = data.dtbOrdtTraf; + this.eanFidelity = data.eanFidelity; + this.excludedColumns = data.excludedColumns; + this.flagAnnulla = data.flagAnnulla; + this.flagBudget = data.flagBudget; + this.flagEscRoyal = data.flagEscRoyal; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagEvasoProd = data.flagEvasoProd; + this.flagScollegaPartitaMag = data.flagScollegaPartitaMag; + this.flagSospeso = data.flagSospeso; + this.flagTd = data.flagTd; + this.flagTipologia = data.flagTipologia; + this.generaOrdLavDaProd = data.generaOrdLavDaProd; + this.gestioneRif = data.gestioneRif; + this.gestisciOrdLavTx = data.gestisciOrdLavTx; + this.gestisciStralciOrdV = data.gestisciStralciOrdV; + this.gtbAnag = data.gtbAnag; + this.idViaggioTestata = data.idViaggioTestata; + this.incoterms = data.incoterms; + this.itemId = data.itemId; + this.jrlDisOrd = data.jrlDisOrd; + this.jtbComt = data.jtbComt; + this.jtbLott = data.jtbLott; + this.livello = data.livello; + this.modificatoDa = data.modificatoDa; + this.nolo = data.nolo; + this.nolo2 = data.nolo2; + this.note = data.note; + this.noteConferma = data.noteConferma; + this.noteExport = data.noteExport; + this.noteIncoterms = data.noteIncoterms; + this.numCnfProd = data.numCnfProd; + this.numCons = data.numCons; + this.numFase = data.numFase; + this.numOrdProvv = data.numOrdProvv; + this.numOrdRif = data.numOrdRif; + this.ordLavTx = data.ordLavTx; + this.ordTrasf = data.ordTrasf; + this.ordiniV = data.ordiniV; + this.parent = data.parent; + this.partitaMag = data.partitaMag; + this.partitaMagToDelete = data.partitaMagToDelete; + this.percEsclStat = data.percEsclStat; + this.personaRif = data.personaRif; + this.postiPallet = data.postiPallet; + this.qtaEvasaProd = data.qtaEvasaProd; + this.qtaPrenotataRep = data.qtaPrenotataRep; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rfid = data.rfid; + this.rifDataOrd = data.rifDataOrd; + this.rifNumOrd = data.rifNumOrd; + this.rifPartitaMag = data.rifPartitaMag; + this.rigaOrdRif = data.rigaOrdRif; + this.serie = data.serie; + this.stbActivity = data.stbActivity; + this.tableName = data.tableName; + this.targa = data.targa; + this.totFasi = data.totFasi; + this.transactionGroupId = data.transactionGroupId; + this.userName = data.userName; + this.vtbClie = data.vtbClie; + this.vtbDest = data.vtbDest; + } +} + +export class DtbOrdtPianProd extends EntityBase { + dataPiano?: Date | null; + dtbOrdrPianProd?: DtbOrdrPianProd[] | null; + oreLavoroCamp?: number | null; + oreLavoroSede?: number | null; + type: "dtb_ordt_pian_prod"; + + constructor(data: DtbOrdtPianProd) { + super(data); + this.dataPiano = data.dataPiano; + this.dtbOrdrPianProd = data.dtbOrdrPianProd; + this.oreLavoroCamp = data.oreLavoroCamp; + this.oreLavoroSede = data.oreLavoroSede; + } +} + +export class DtbTipi extends EntityBase { + aggiornaList?: string | null; + aspettoBeni?: string | null; + causaleTrasp?: string | null; + codCcau?: string | null; + codCcauAnt?: string | null; + codCcauCoan?: string | null; + codCcauDocAp?: string | null; + codCconAnt?: string | null; + codCconCassa?: string | null; + codCconDocAp?: string | null; + codDtip?: string | null; + codIreg?: string | null; + contropDefault?: string | null; + dareAvere?: string | null; + dataFineBanner?: Date | null; + dataInizBanner?: Date | null; + desSuMod?: string | null; + desSuModEstero?: string | null; + descrizione?: string | null; + drlTipiNoteDoc?: DrlTipiNoteDoc[] | null; + dtbTipiAnag?: DtbTipiAnag[] | null; + dtbTipiCarat?: DtbTipiCarat[] | null; + flagAcconto?: string | null; + flagAnalisiCostiCom?: string | null; + flagArchiviaPdf?: boolean | null; + flagAttivo?: string | null; + flagCalcPesoIntra?: string | null; + flagCheckPeso?: string | null; + flagChkArtNeg?: string | null; + flagChkTracciabilita?: boolean | null; + flagConsConsumi?: boolean | null; + flagContAnalit?: string | null; + flagContoVendita?: string | null; + flagCosto?: string | null; + flagDestObb?: string | null; + flagDocTd?: string | null; + flagGestioneSpeciale?: boolean | null; + flagGiornaleMag?: string | null; + flagInclStat?: string | null; + flagPrzIva?: string | null; + flagRaggRigheColli?: boolean | null; + flagSendSdi?: string | null; + flagSerDepo?: string | null; + flagSfrido?: string | null; + flagTipoReso?: string | null; + flagTrasf?: string | null; + flagVisualPrz?: string | null; + gestione?: string | null; + ggUtili?: number | null; + modStamp?: string | null; + numCopie?: number | null; + numIreg?: number | null; + oggettoMail?: string | null; + pathBanner?: string | null; + previstaFat?: string | null; + segnoQtaCar?: number | null; + segnoQtaScar?: number | null; + segnoValCar?: number | null; + segnoValScar?: number | null; + serie?: string | null; + testoMail?: string | null; + tipoAnag?: string | null; + tipoEmissione?: string | null; + tipoNumeraz?: string | null; + tipoRiep?: string | null; + type: "dtb_tipi"; + wtbJreptSetup?: WtbJreptSetup | null; + + constructor(data: DtbTipi) { + super(data); + this.aggiornaList = data.aggiornaList; + this.aspettoBeni = data.aspettoBeni; + this.causaleTrasp = data.causaleTrasp; + this.codCcau = data.codCcau; + this.codCcauAnt = data.codCcauAnt; + this.codCcauCoan = data.codCcauCoan; + this.codCcauDocAp = data.codCcauDocAp; + this.codCconAnt = data.codCconAnt; + this.codCconCassa = data.codCconCassa; + this.codCconDocAp = data.codCconDocAp; + this.codDtip = data.codDtip; + this.codIreg = data.codIreg; + this.contropDefault = data.contropDefault; + this.dareAvere = data.dareAvere; + this.dataFineBanner = data.dataFineBanner; + this.dataInizBanner = data.dataInizBanner; + this.desSuMod = data.desSuMod; + this.desSuModEstero = data.desSuModEstero; + this.descrizione = data.descrizione; + this.drlTipiNoteDoc = data.drlTipiNoteDoc; + this.dtbTipiAnag = data.dtbTipiAnag; + this.dtbTipiCarat = data.dtbTipiCarat; + this.flagAcconto = data.flagAcconto; + this.flagAnalisiCostiCom = data.flagAnalisiCostiCom; + this.flagArchiviaPdf = data.flagArchiviaPdf; + this.flagAttivo = data.flagAttivo; + this.flagCalcPesoIntra = data.flagCalcPesoIntra; + this.flagCheckPeso = data.flagCheckPeso; + this.flagChkArtNeg = data.flagChkArtNeg; + this.flagChkTracciabilita = data.flagChkTracciabilita; + this.flagConsConsumi = data.flagConsConsumi; + this.flagContAnalit = data.flagContAnalit; + this.flagContoVendita = data.flagContoVendita; + this.flagCosto = data.flagCosto; + this.flagDestObb = data.flagDestObb; + this.flagDocTd = data.flagDocTd; + this.flagGestioneSpeciale = data.flagGestioneSpeciale; + this.flagGiornaleMag = data.flagGiornaleMag; + this.flagInclStat = data.flagInclStat; + this.flagPrzIva = data.flagPrzIva; + this.flagRaggRigheColli = data.flagRaggRigheColli; + this.flagSendSdi = data.flagSendSdi; + this.flagSerDepo = data.flagSerDepo; + this.flagSfrido = data.flagSfrido; + this.flagTipoReso = data.flagTipoReso; + this.flagTrasf = data.flagTrasf; + this.flagVisualPrz = data.flagVisualPrz; + this.gestione = data.gestione; + this.ggUtili = data.ggUtili; + this.modStamp = data.modStamp; + this.numCopie = data.numCopie; + this.numIreg = data.numIreg; + this.oggettoMail = data.oggettoMail; + this.pathBanner = data.pathBanner; + this.previstaFat = data.previstaFat; + this.segnoQtaCar = data.segnoQtaCar; + this.segnoQtaScar = data.segnoQtaScar; + this.segnoValCar = data.segnoValCar; + this.segnoValScar = data.segnoValScar; + this.serie = data.serie; + this.testoMail = data.testoMail; + this.tipoAnag = data.tipoAnag; + this.tipoEmissione = data.tipoEmissione; + this.tipoNumeraz = data.tipoNumeraz; + this.tipoRiep = data.tipoRiep; + this.wtbJreptSetup = data.wtbJreptSetup; + } +} + +export class DtbTipiAnag extends EntityBase { + causCar?: string | null; + causCarLav?: string | null; + causCarMp?: string | null; + causCarPf?: string | null; + causCarSfu?: string | null; + causCarSl?: string | null; + causScar?: string | null; + causScarLav?: string | null; + causScarMp?: string | null; + causScarPf?: string | null; + causScarSfu?: string | null; + causScarSl?: string | null; + codAnag?: string | null; + codDtip?: string | null; + interCode?: string | null; + posFisc?: string | null; + type: "dtb_tipi_anag"; + + constructor(data: DtbTipiAnag) { + super(data); + this.causCar = data.causCar; + this.causCarLav = data.causCarLav; + this.causCarMp = data.causCarMp; + this.causCarPf = data.causCarPf; + this.causCarSfu = data.causCarSfu; + this.causCarSl = data.causCarSl; + this.causScar = data.causScar; + this.causScarLav = data.causScarLav; + this.causScarMp = data.causScarMp; + this.causScarPf = data.causScarPf; + this.causScarSfu = data.causScarSfu; + this.causScarSl = data.causScarSl; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.interCode = data.interCode; + this.posFisc = data.posFisc; + } +} + +export class DtbTipiCarat extends EntityBase { + codDtip?: string | null; + descrizioneCarat?: string | null; + nomeCarat?: string | null; + note?: string | null; + type: "dtb_tipi_carat"; + + constructor(data: DtbTipiCarat) { + super(data); + this.codDtip = data.codDtip; + this.descrizioneCarat = data.descrizioneCarat; + this.nomeCarat = data.nomeCarat; + this.note = data.note; + } +} + +export class DtbTipiFe extends EntityBase { + codDtipCcau?: string | null; + descrizione?: string | null; + flagIntegrazione?: boolean | null; + type: "dtb_tipi_fe"; + + constructor(data: DtbTipiFe) { + super(data); + this.codDtipCcau = data.codDtipCcau; + this.descrizione = data.descrizione; + this.flagIntegrazione = data.flagIntegrazione; + } +} + +export class DtbTransazIntracee extends EntityBase { + codTransazIntracee?: string | null; + descrizione?: string | null; + type: "dtb_transaz_intracee"; + + constructor(data: DtbTransazIntracee) { + super(data); + this.codTransazIntracee = data.codTransazIntracee; + this.descrizione = data.descrizione; + } +} + +export class DuplicaListinoDTO { + listino?: VtbListData | null; + newCodDivi?: string | null; + newCodVlis?: string | null; + newDataIniz?: Date | null; + newDescrizione?: string | null; + + constructor(data: DuplicaListinoDTO) { + this.listino = data.listino; + this.newCodDivi = data.newCodDivi; + this.newCodVlis = data.newCodVlis; + this.newDataIniz = data.newDataIniz; + this.newDescrizione = data.newDescrizione; + } +} + +export class DuplicateUDSRequestDTO { + mtbColt?: MtbColt | null; + numOfDuplicates?: number | null; + + constructor(data: DuplicateUDSRequestDTO) { + this.mtbColt = data.mtbColt; + this.numOfDuplicates = data.numOfDuplicates; + } +} + +export class DuplicateUDSResponseDTO { + mtbColtList?: MtbColt[] | null; + + constructor(data: DuplicateUDSResponseDTO) { + this.mtbColtList = data.mtbColtList; + } +} + +export class EcrSatDTO { + + constructor(data: EcrSatDTO) { + } +} + +export class EditUDCRowRequestDTO { + newDataScad?: Date | null; + newNumCnf?: number | null; + newPartitaMag?: string | null; + newQtaCnf?: number | null; + newQtaTot?: number | null; + sourceMtbColr?: MtbColr | null; + + constructor(data: EditUDCRowRequestDTO) { + this.newDataScad = data.newDataScad; + this.newNumCnf = data.newNumCnf; + this.newPartitaMag = data.newPartitaMag; + this.newQtaCnf = data.newQtaCnf; + this.newQtaTot = data.newQtaTot; + this.sourceMtbColr = data.sourceMtbColr; + } +} + +export class EditUDCRowResponseDTO { + savedMtbColr?: MtbColr | null; + + constructor(data: EditUDCRowResponseDTO) { + this.savedMtbColr = data.savedMtbColr; + } +} + +export class EditUDSRowRequestDTO { + newNumCnf?: number | null; + newQtaCnf?: number | null; + newQtaTot?: number | null; + sourceMtbColr?: MtbColr | null; + + constructor(data: EditUDSRowRequestDTO) { + this.newNumCnf = data.newNumCnf; + this.newQtaCnf = data.newQtaCnf; + this.newQtaTot = data.newQtaTot; + this.sourceMtbColr = data.sourceMtbColr; + } +} + +export class EditUDSRowResponseDTO { + savedMtbColr?: MtbColr | null; + + constructor(data: EditUDSRowResponseDTO) { + this.savedMtbColr = data.savedMtbColr; + } +} + +export class ElencoListiniDTO implements Serializable { + cod_vlis?: string | null; + descr?: string | null; + + constructor(data: ElencoListiniDTO) { + this.cod_vlis = data.cod_vlis; + this.descr = data.descr; + } +} + +export class ElencoProdDTO { + codCol?: string | null; + codProd?: string | null; + codTagl?: string | null; + qtaOrd?: number | null; + + constructor(data: ElencoProdDTO) { + this.codCol = data.codCol; + this.codProd = data.codProd; + this.codTagl = data.codTagl; + this.qtaOrd = data.qtaOrd; + } +} + +export class ElencoProdFinLav { + codCol?: string | null; + codMart?: string | null; + codTagl?: string | null; + dataOrdRif?: Date | null; + flagEvasoForzato?: string | null; + gestioneRif?: string | null; + note?: string | null; + numOrdRif?: number | null; + qtaDoc?: number | null; + rigaOrdRif?: number | null; + untMis?: string | null; + + constructor(data: ElencoProdFinLav) { + this.codCol = data.codCol; + this.codMart = data.codMart; + this.codTagl = data.codTagl; + this.dataOrdRif = data.dataOrdRif; + this.flagEvasoForzato = data.flagEvasoForzato; + this.gestioneRif = data.gestioneRif; + this.note = data.note; + this.numOrdRif = data.numOrdRif; + this.qtaDoc = data.qtaDoc; + this.rigaOrdRif = data.rigaOrdRif; + this.untMis = data.untMis; + } +} + +export class EloDTO { + acconto?: number | null; + annotazioni?: string | null; + aspettoBeni?: string | null; + cambio?: number | null; + causaleTrasp?: string | null; + codAbi?: string | null; + codAnag?: string | null; + codAuto?: string | null; + codBanc?: string | null; + codBancAzi?: string | null; + codCab?: string | null; + codDivi?: string | null; + codDtip?: string | null; + codDtipVal?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codNewCli?: string | null; + codPaga?: string | null; + codProd?: string | null; + codVage?: string | null; + codVdes?: string | null; + codVvet?: string | null; + codVvet2?: string | null; + codVzon?: string | null; + compilatoDa?: string | null; + dataDoc?: Date | null; + dataDocVal?: Date | null; + dataInizTrasp?: Date | null; + dataIns?: Date | null; + dataMod?: Date | null; + dataOrd?: Date | null; + dataReg?: Date | null; + dataRifScad?: Date | null; + descrizionePaga?: string | null; + flagElaborato?: string | null; + flagPrzScontati?: string | null; + gestione?: string | null; + idElo?: number | null; + listino?: string | null; + mezzo?: string | null; + modificatoDa?: string | null; + nettoMerce?: number | null; + numCmov?: number | null; + numColli?: string | null; + numDoc?: number | null; + numDocForn?: string | null; + numDocVal?: number | null; + numOrd?: number | null; + oraInizTrasp?: string | null; + partIva?: string | null; + peso?: string | null; + porto?: string | null; + previstaFat?: string | null; + qtaProd?: number | null; + rapConvProd?: number | null; + rifOrd?: string | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + serDoc?: string | null; + serDocVal?: string | null; + termCons?: string | null; + tipoAnag?: string | null; + totImponib?: number | null; + totIva?: number | null; + totMerce?: number | null; + totOmaggi?: number | null; + totProvvig?: number | null; + untMisProd?: string | null; + userName?: string | null; + wdtbDocr?: EloRowsDTO[] | null; + + constructor(data: EloDTO) { + this.acconto = data.acconto; + this.annotazioni = data.annotazioni; + this.aspettoBeni = data.aspettoBeni; + this.cambio = data.cambio; + this.causaleTrasp = data.causaleTrasp; + this.codAbi = data.codAbi; + this.codAnag = data.codAnag; + this.codAuto = data.codAuto; + this.codBanc = data.codBanc; + this.codBancAzi = data.codBancAzi; + this.codCab = data.codCab; + this.codDivi = data.codDivi; + this.codDtip = data.codDtip; + this.codDtipVal = data.codDtipVal; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codNewCli = data.codNewCli; + this.codPaga = data.codPaga; + this.codProd = data.codProd; + this.codVage = data.codVage; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.codVvet2 = data.codVvet2; + this.codVzon = data.codVzon; + this.compilatoDa = data.compilatoDa; + this.dataDoc = data.dataDoc; + this.dataDocVal = data.dataDocVal; + this.dataInizTrasp = data.dataInizTrasp; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.dataOrd = data.dataOrd; + this.dataReg = data.dataReg; + this.dataRifScad = data.dataRifScad; + this.descrizionePaga = data.descrizionePaga; + this.flagElaborato = data.flagElaborato; + this.flagPrzScontati = data.flagPrzScontati; + this.gestione = data.gestione; + this.idElo = data.idElo; + this.listino = data.listino; + this.mezzo = data.mezzo; + this.modificatoDa = data.modificatoDa; + this.nettoMerce = data.nettoMerce; + this.numCmov = data.numCmov; + this.numColli = data.numColli; + this.numDoc = data.numDoc; + this.numDocForn = data.numDocForn; + this.numDocVal = data.numDocVal; + this.numOrd = data.numOrd; + this.oraInizTrasp = data.oraInizTrasp; + this.partIva = data.partIva; + this.peso = data.peso; + this.porto = data.porto; + this.previstaFat = data.previstaFat; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.rifOrd = data.rifOrd; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.serDoc = data.serDoc; + this.serDocVal = data.serDocVal; + this.termCons = data.termCons; + this.tipoAnag = data.tipoAnag; + this.totImponib = data.totImponib; + this.totIva = data.totIva; + this.totMerce = data.totMerce; + this.totOmaggi = data.totOmaggi; + this.totProvvig = data.totProvvig; + this.untMisProd = data.untMisProd; + this.userName = data.userName; + this.wdtbDocr = data.wdtbDocr; + } +} + +export class EloRowsDTO { + codAliq?: string | null; + codAnag?: string | null; + codArtFor?: string | null; + codBarre?: string | null; + codCol?: string | null; + codDivi?: string | null; + codDtip?: string | null; + codDtipComp?: string | null; + codJcom?: string | null; + codKit?: string | null; + codMart?: string | null; + codMdep?: string | null; + codPromo?: string | null; + codTagl?: string | null; + codTcolUl?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + costoUnt?: number | null; + dataDoc?: Date | null; + dataDocComp?: Date | null; + dataOrd?: Date | null; + dataScadPartita?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagElaborato?: string | null; + flagEvasoForzato?: string | null; + flagPrzScontati?: string | null; + gestione?: string | null; + idRiga?: number | null; + importoRiga?: number | null; + listino?: string | null; + numDoc?: number | null; + numDocComp?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + percAliq?: number | null; + percGest?: number | null; + percIspe?: number | null; + percOneri?: number | null; + percPromo?: number | null; + percProv?: number | null; + pesoLordo?: number | null; + qtaCnf?: number | null; + qtaDoc?: number | null; + rapConv?: number | null; + rigaOrd?: number | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + serDoc?: string | null; + serDocComp?: string | null; + tipoIva?: string | null; + untDoc?: string | null; + valGest?: number | null; + valIspe?: number | null; + valOneri?: number | null; + valPromo?: number | null; + valProv?: number | null; + valUnt?: number | null; + valUntIva?: number | null; + + constructor(data: EloRowsDTO) { + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codArtFor = data.codArtFor; + this.codBarre = data.codBarre; + this.codCol = data.codCol; + this.codDivi = data.codDivi; + this.codDtip = data.codDtip; + this.codDtipComp = data.codDtipComp; + this.codJcom = data.codJcom; + this.codKit = data.codKit; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codPromo = data.codPromo; + this.codTagl = data.codTagl; + this.codTcolUl = data.codTcolUl; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.costoUnt = data.costoUnt; + this.dataDoc = data.dataDoc; + this.dataDocComp = data.dataDocComp; + this.dataOrd = data.dataOrd; + this.dataScadPartita = data.dataScadPartita; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagElaborato = data.flagElaborato; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagPrzScontati = data.flagPrzScontati; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.importoRiga = data.importoRiga; + this.listino = data.listino; + this.numDoc = data.numDoc; + this.numDocComp = data.numDocComp; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.percAliq = data.percAliq; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.percProv = data.percProv; + this.pesoLordo = data.pesoLordo; + this.qtaCnf = data.qtaCnf; + this.qtaDoc = data.qtaDoc; + this.rapConv = data.rapConv; + this.rigaOrd = data.rigaOrd; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.serDoc = data.serDoc; + this.serDocComp = data.serDocComp; + this.tipoIva = data.tipoIva; + this.untDoc = data.untDoc; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + this.valProv = data.valProv; + this.valUnt = data.valUnt; + this.valUntIva = data.valUntIva; + } +} + +export class EnableScanArtGrpMercConfigDTO { + codMgrp?: string | null; + codMsgr?: string | null; + + constructor(data: EnableScanArtGrpMercConfigDTO) { + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + } +} + +export class Throwable implements Serializable { + cause?: Throwable | null; + localizedMessage?: string | null; + message?: string | null; + stackTrace?: StackTraceElement[] | null; + suppressed?: Throwable[] | null; + + constructor(data: Throwable) { + this.cause = data.cause; + this.localizedMessage = data.localizedMessage; + this.message = data.message; + this.stackTrace = data.stackTrace; + this.suppressed = data.suppressed; + } +} + +export class Exception extends Throwable { + + constructor(data: Exception) { + super(data); + } +} + +export class EntityException extends Exception { + entityTableName?: string | null; + innerException?: Exception | null; + sqlErrorCode?: number | null; + + constructor(data: EntityException) { + super(data); + this.entityTableName = data.entityTableName; + this.innerException = data.innerException; + this.sqlErrorCode = data.sqlErrorCode; + } +} + +export class EntityFieldDTO { + fieldName?: string | null; + fieldType?: string | null; + isMaster?: boolean | null; + master?: boolean | null; + sqlField?: string | null; + + constructor(data: EntityFieldDTO) { + this.fieldName = data.fieldName; + this.fieldType = data.fieldType; + this.isMaster = data.isMaster; + this.master = data.master; + this.sqlField = data.sqlField; + } +} + +export class EntityHierarchy { + children?: EntityHierarchy[] | null; + clazz?: Class | null; + entityName?: string | null; + equatable?: boolean | null; + fields?: EntityHierarchyField[] | null; + master?: boolean | null; + parentField?: Field | null; + tableName?: string | null; + + constructor(data: EntityHierarchy) { + this.children = data.children; + this.clazz = data.clazz; + this.entityName = data.entityName; + this.equatable = data.equatable; + this.fields = data.fields; + this.master = data.master; + this.parentField = data.parentField; + this.tableName = data.tableName; + } +} + +export class EntityHierarchyField implements Cloneable { + blob?: Blob | null; + clob?: Clob | null; + field?: Field | null; + fieldName?: string | null; + identity?: Identity | null; + importFromParent?: ImportFromParent | null; + objectStorage?: ObjectStorage | null; + primaryKey?: PK | null; + priority?: Priority | null; + sqlField?: SqlField | null; + varBinary?: VarBinary | null; + + constructor(data: EntityHierarchyField) { + this.blob = data.blob; + this.clob = data.clob; + this.field = data.field; + this.fieldName = data.fieldName; + this.identity = data.identity; + this.importFromParent = data.importFromParent; + this.objectStorage = data.objectStorage; + this.primaryKey = data.primaryKey; + this.priority = data.priority; + this.sqlField = data.sqlField; + this.varBinary = data.varBinary; + } +} + +export class EntityPermissionsDTO { + create?: boolean | null; + delete?: boolean | null; + entityName?: string | null; + read?: boolean | null; + update?: boolean | null; + username?: string | null; + + constructor(data: EntityPermissionsDTO) { + this.create = data.create; + this.delete = data.delete; + this.entityName = data.entityName; + this.read = data.read; + this.update = data.update; + this.username = data.username; + } +} + +export class EntityPropertyHolder { + entityHierarchyMap?: EntityHierarchy[] | null; + /** + * @deprecated + */ + objectStorageFieldsMap?: { [index: string]: string[] } | null; + + constructor(data: EntityPropertyHolder) { + this.entityHierarchyMap = data.entityHierarchyMap; + this.objectStorageFieldsMap = data.objectStorageFieldsMap; + } +} + +export class EntityToLogDTO { + entity?: any | null; + logCreatedAt?: Date | null; + logCreatedBy?: string | null; + logCreatedOperation?: string | null; + logCreatedProfile?: string | null; + + constructor(data: EntityToLogDTO) { + this.entity = data.entity; + this.logCreatedAt = data.logCreatedAt; + this.logCreatedBy = data.logCreatedBy; + this.logCreatedOperation = data.logCreatedOperation; + this.logCreatedProfile = data.logCreatedProfile; + } +} + +export interface EquatableEntityInterface { + applicationName?: string | null; + exception?: EntityException | null; + excludedColumns?: string[] | null; + nativeSql?: string | null; + onlyPkMaster?: boolean | null; + operation?: OperationType | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + username?: string | null; +} + +export class EssegrandeIntercodeFornitoriDTO { + codFornAzienda?: string | null; + codIntercode?: string | null; + + constructor(data: EssegrandeIntercodeFornitoriDTO) { + this.codFornAzienda = data.codFornAzienda; + this.codIntercode = data.codIntercode; + } +} + +export class EtichettaCalibriFieldsDTO implements Cloneable { + barcode_ul?: string | null; + calibro?: number | null; + data_collo?: Date | null; + dataorains?: Date | null; + gestione?: string | null; + lotto?: string | null; + nome_ditta?: string | null; + num_collo?: number | null; + num_doc?: number | null; + numcnf?: number | null; + pesomediocnf?: number | null; + prodotto?: string | null; + produttore?: string | null; + qta?: number | null; + row_number?: number | null; + row_total?: number | null; + ser_collo?: string | null; + sscc?: string | null; + unt_mis?: string | null; + + constructor(data: EtichettaCalibriFieldsDTO) { + this.barcode_ul = data.barcode_ul; + this.calibro = data.calibro; + this.data_collo = data.data_collo; + this.dataorains = data.dataorains; + this.gestione = data.gestione; + this.lotto = data.lotto; + this.nome_ditta = data.nome_ditta; + this.num_collo = data.num_collo; + this.num_doc = data.num_doc; + this.numcnf = data.numcnf; + this.pesomediocnf = data.pesomediocnf; + this.prodotto = data.prodotto; + this.produttore = data.produttore; + this.qta = data.qta; + this.row_number = data.row_number; + this.row_total = data.row_total; + this.ser_collo = data.ser_collo; + this.sscc = data.sscc; + this.unt_mis = data.unt_mis; + } +} + +export class EtichettaCalibriParamsDTO { + activityId?: string | null; + barcodeUl?: string | null; + calibro100?: number | null; + calibro60?: number | null; + calibro70?: number | null; + calibro80?: number | null; + calibro90?: number | null; + codAnagProduttore?: string | null; + codJfas?: string | null; + codMart?: string | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + dataVers?: Date | null; + descrizione?: string | null; + gestione?: string | null; + idAttachmentLogo?: string | null; + jbeansource?: string | null; + numCnf?: number | null; + numCollo?: number | null; + numDocProvv?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaCol?: number | null; + ragSoc?: string | null; + ragSocProduttore?: string | null; + serCollo?: string | null; + untMis?: string | null; + + constructor(data: EtichettaCalibriParamsDTO) { + this.activityId = data.activityId; + this.barcodeUl = data.barcodeUl; + this.calibro100 = data.calibro100; + this.calibro60 = data.calibro60; + this.calibro70 = data.calibro70; + this.calibro80 = data.calibro80; + this.calibro90 = data.calibro90; + this.codAnagProduttore = data.codAnagProduttore; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.dataVers = data.dataVers; + this.descrizione = data.descrizione; + this.gestione = data.gestione; + this.idAttachmentLogo = data.idAttachmentLogo; + this.jbeansource = data.jbeansource; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numDocProvv = data.numDocProvv; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.ragSoc = data.ragSoc; + this.ragSocProduttore = data.ragSocProduttore; + this.serCollo = data.serCollo; + this.untMis = data.untMis; + } +} + +export class EtichettaDTO { + cod_mart?: string | null; + data_accettazione?: Date | null; + descrizione?: string | null; + ean?: string | null; + flag_stampa_ean?: string | null; + flag_stampa_prezzo?: string | null; + passaporto?: string | null; + prezzo?: string | null; + ruop?: string | null; + + constructor(data: EtichettaDTO) { + this.cod_mart = data.cod_mart; + this.data_accettazione = data.data_accettazione; + this.descrizione = data.descrizione; + this.ean = data.ean; + this.flag_stampa_ean = data.flag_stampa_ean; + this.flag_stampa_prezzo = data.flag_stampa_prezzo; + this.passaporto = data.passaporto; + this.prezzo = data.prezzo; + this.ruop = data.ruop; + } +} + +export class EtichettaParamsDTO { + cod_art_for?: string | null; + cod_mart?: string | null; + data_accettazione?: string | null; + flag_stampa_ean?: string | null; + flag_stampa_prezzo?: string | null; + num_etich?: string | null; + prezzo?: string | null; + + constructor(data: EtichettaParamsDTO) { + this.cod_art_for = data.cod_art_for; + this.cod_mart = data.cod_mart; + this.data_accettazione = data.data_accettazione; + this.flag_stampa_ean = data.flag_stampa_ean; + this.flag_stampa_prezzo = data.flag_stampa_prezzo; + this.num_etich = data.num_etich; + this.prezzo = data.prezzo; + } +} + +export class EtichettePrestampateDTO { + aziendaLogoB64?: string | null; + barcode?: string | null; + + constructor(data: EtichettePrestampateDTO) { + this.aziendaLogoB64 = data.aziendaLogoB64; + this.barcode = data.barcode; + } +} + +export class EuritmoRiga { + barcode?: string | null; + codBarreImb?: string | null; + codMart?: string | null; + codMartAnag?: string | null; + dataDoc?: Date | null; + dataScad?: Date | null; + descrizione?: string | null; + idRiga?: number | null; + numConf?: number | null; + numDoc?: number | null; + partitaMag?: string | null; + qtaConf?: number | null; + qtaDoc?: number | null; + rigaOrd?: number | null; + sconto5?: number | null; + serDoc?: string | null; + sscc?: string | null; + untDoc?: string | null; + + constructor(data: EuritmoRiga) { + this.barcode = data.barcode; + this.codBarreImb = data.codBarreImb; + this.codMart = data.codMart; + this.codMartAnag = data.codMartAnag; + this.dataDoc = data.dataDoc; + this.dataScad = data.dataScad; + this.descrizione = data.descrizione; + this.idRiga = data.idRiga; + this.numConf = data.numConf; + this.numDoc = data.numDoc; + this.partitaMag = data.partitaMag; + this.qtaConf = data.qtaConf; + this.qtaDoc = data.qtaDoc; + this.rigaOrd = data.rigaOrd; + this.sconto5 = data.sconto5; + this.serDoc = data.serDoc; + this.sscc = data.sscc; + this.untDoc = data.untDoc; + } +} + +export class EuritmoTestata { + cap?: string | null; + capDest?: string | null; + capDp?: string | null; + capitaleSoc?: number | null; + cciaa?: string | null; + citta?: string | null; + cittaDest?: string | null; + cittaDp?: string | null; + codAnag?: string | null; + codDivi?: string | null; + codDtip?: string | null; + codEanDp?: string | null; + dataDoc?: Date | null; + dataInizTrasp?: Date | null; + dataOrd?: Date | null; + desSuMod?: string | null; + eanAzienda?: string | null; + indirizzo?: string | null; + indirizzoDest?: string | null; + indirizzoDp?: string | null; + iscRegImp?: string | null; + nazione?: string | null; + nazioneDest?: string | null; + nazioneDp?: string | null; + nomeDitta?: string | null; + nomeDittaDest?: string | null; + nomeDittaDp?: string | null; + numDoc?: string | null; + numFax?: string | null; + numOrd?: number | null; + numTel?: string | null; + oraInizTrasp?: string | null; + partitaIva?: string | null; + partitaIvaDest?: string | null; + prefissoEan?: string | null; + prov?: string | null; + provDest?: string | null; + provDp?: string | null; + rifOrd?: string | null; + segnoValScar?: number | null; + serDoc?: string | null; + targa?: string | null; + + constructor(data: EuritmoTestata) { + this.cap = data.cap; + this.capDest = data.capDest; + this.capDp = data.capDp; + this.capitaleSoc = data.capitaleSoc; + this.cciaa = data.cciaa; + this.citta = data.citta; + this.cittaDest = data.cittaDest; + this.cittaDp = data.cittaDp; + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codDtip = data.codDtip; + this.codEanDp = data.codEanDp; + this.dataDoc = data.dataDoc; + this.dataInizTrasp = data.dataInizTrasp; + this.dataOrd = data.dataOrd; + this.desSuMod = data.desSuMod; + this.eanAzienda = data.eanAzienda; + this.indirizzo = data.indirizzo; + this.indirizzoDest = data.indirizzoDest; + this.indirizzoDp = data.indirizzoDp; + this.iscRegImp = data.iscRegImp; + this.nazione = data.nazione; + this.nazioneDest = data.nazioneDest; + this.nazioneDp = data.nazioneDp; + this.nomeDitta = data.nomeDitta; + this.nomeDittaDest = data.nomeDittaDest; + this.nomeDittaDp = data.nomeDittaDp; + this.numDoc = data.numDoc; + this.numFax = data.numFax; + this.numOrd = data.numOrd; + this.numTel = data.numTel; + this.oraInizTrasp = data.oraInizTrasp; + this.partitaIva = data.partitaIva; + this.partitaIvaDest = data.partitaIvaDest; + this.prefissoEan = data.prefissoEan; + this.prov = data.prov; + this.provDest = data.provDest; + this.provDp = data.provDp; + this.rifOrd = data.rifOrd; + this.segnoValScar = data.segnoValScar; + this.serDoc = data.serDoc; + this.targa = data.targa; + } +} + +export class ExchangeCampiRaccoltaDTO implements EquatableEntityInterface { + applicationName?: string | null; + capCoop?: string | null; + capProd?: string | null; + cittaCoop?: string | null; + cittaProd?: string | null; + codAnag?: string | null; + codAnagProd?: string | null; + codMartMg?: string | null; + codMartMp?: string | null; + codVdes?: string | null; + codVzon?: string | null; + cooperativa?: string | null; + dataInizProd?: Date | null; + dbName?: string | null; + entityHolder?: EntityPropertyHolder | null; + exception?: EntityException | null; + excludedColumns?: string[] | null; + indirizzoCoop?: string | null; + indirizzoProd?: string | null; + lottoFornitore?: string | null; + nativeSql?: string | null; + newDest?: boolean | null; + newPartita?: boolean | null; + note?: string | null; + onlyPkMaster?: boolean | null; + op?: string | null; + operation?: OperationType | null; + parent?: any | null; + partIvaCoop?: string | null; + partIvaProd?: string | null; + partitaMag?: string | null; + produttore?: string | null; + provCoop?: string | null; + provProd?: string | null; + qtaAttesa?: number | null; + queryTimeoutSeconds?: number | null; + ragSoc?: string | null; + ragSocProd?: string | null; + recalcColumns?: string[] | null; + tableName?: string | null; + transactionGroupId?: number | null; + untMis?: string | null; + username?: string | null; + valUnt?: number | null; + varieta?: string | null; + + constructor(data: ExchangeCampiRaccoltaDTO) { + this.applicationName = data.applicationName; + this.capCoop = data.capCoop; + this.capProd = data.capProd; + this.cittaCoop = data.cittaCoop; + this.cittaProd = data.cittaProd; + this.codAnag = data.codAnag; + this.codAnagProd = data.codAnagProd; + this.codMartMg = data.codMartMg; + this.codMartMp = data.codMartMp; + this.codVdes = data.codVdes; + this.codVzon = data.codVzon; + this.cooperativa = data.cooperativa; + this.dataInizProd = data.dataInizProd; + this.dbName = data.dbName; + this.entityHolder = data.entityHolder; + this.exception = data.exception; + this.excludedColumns = data.excludedColumns; + this.indirizzoCoop = data.indirizzoCoop; + this.indirizzoProd = data.indirizzoProd; + this.lottoFornitore = data.lottoFornitore; + this.nativeSql = data.nativeSql; + this.newDest = data.newDest; + this.newPartita = data.newPartita; + this.note = data.note; + this.onlyPkMaster = data.onlyPkMaster; + this.op = data.op; + this.operation = data.operation; + this.parent = data.parent; + this.partIvaCoop = data.partIvaCoop; + this.partIvaProd = data.partIvaProd; + this.partitaMag = data.partitaMag; + this.produttore = data.produttore; + this.provCoop = data.provCoop; + this.provProd = data.provProd; + this.qtaAttesa = data.qtaAttesa; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.ragSoc = data.ragSoc; + this.ragSocProd = data.ragSocProd; + this.recalcColumns = data.recalcColumns; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.untMis = data.untMis; + this.username = data.username; + this.valUnt = data.valUnt; + this.varieta = data.varieta; + } +} + +export class ExchangeUpdateRowsOrderRequestDTO { + orderedRows?: { [index: string]: number } | null; + + constructor(data: ExchangeUpdateRowsOrderRequestDTO) { + this.orderedRows = data.orderedRows; + } +} + +export class ExplodeDistDTO { + codJfasDist?: string | null; + codJfasRow?: string | null; + codMdep?: string | null; + codProd?: string | null; + dataCons?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + idRigaContrCQ?: number | null; + idRigaStep?: number | null; + numFase?: number | null; + numOrd?: number | null; + qtaProd?: number | null; + rapConv?: number | null; + root?: boolean | null; + sameLav?: boolean | null; + tipoValCosto?: string | null; + untMis?: string | null; + + constructor(data: ExplodeDistDTO) { + this.codJfasDist = data.codJfasDist; + this.codJfasRow = data.codJfasRow; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.dataCons = data.dataCons; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.idRigaContrCQ = data.idRigaContrCQ; + this.idRigaStep = data.idRigaStep; + this.numFase = data.numFase; + this.numOrd = data.numOrd; + this.qtaProd = data.qtaProd; + this.rapConv = data.rapConv; + this.root = data.root; + this.sameLav = data.sameLav; + this.tipoValCosto = data.tipoValCosto; + this.untMis = data.untMis; + } +} + +export class ExportAutomatedOperationDTO extends BaseScheduledOperationDTO { + format?: string | null; + jsonRequest?: string | null; + password?: string | null; + profileDb?: string | null; + type?: string | null; + username?: string | null; + whereCond?: string | null; + + constructor(data: ExportAutomatedOperationDTO) { + super(data); + this.format = data.format; + this.jsonRequest = data.jsonRequest; + this.password = data.password; + this.profileDb = data.profileDb; + this.type = data.type; + this.username = data.username; + this.whereCond = data.whereCond; + } +} + +export class ExportConsumiGiroDTO { + clientiGiro?: number | null; + codAnagAgente?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codVage?: string | null; + contaClienti?: number | null; + descrMgrp?: string | null; + descrMsfa?: string | null; + descrMsgr?: string | null; + descrizione?: string | null; + giacenza?: number | null; + mediaClienti?: number | null; + qtaCnf?: number | null; + qtaGiro?: number | null; + qtaGiroPrec?: number | null; + qtaOrdinata?: number | null; + ragSocAge?: string | null; + untMis?: string | null; + + constructor(data: ExportConsumiGiroDTO) { + this.clientiGiro = data.clientiGiro; + this.codAnagAgente = data.codAnagAgente; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codVage = data.codVage; + this.contaClienti = data.contaClienti; + this.descrMgrp = data.descrMgrp; + this.descrMsfa = data.descrMsfa; + this.descrMsgr = data.descrMsgr; + this.descrizione = data.descrizione; + this.giacenza = data.giacenza; + this.mediaClienti = data.mediaClienti; + this.qtaCnf = data.qtaCnf; + this.qtaGiro = data.qtaGiro; + this.qtaGiroPrec = data.qtaGiroPrec; + this.qtaOrdinata = data.qtaOrdinata; + this.ragSocAge = data.ragSocAge; + this.untMis = data.untMis; + } +} + +export class ExportConsumiGiroRequest { + codVage?: string | null; + dataGiro?: string | null; + userName?: string | null; + + constructor(data: ExportConsumiGiroRequest) { + this.codVage = data.codVage; + this.dataGiro = data.dataGiro; + this.userName = data.userName; + } +} + +export class ExportFpxRequest { + endDate?: string | null; + exportActive?: boolean | null; + exportPassive?: boolean | null; + startDate?: string | null; + whereCondAttive?: string | null; + whereCondPassive?: string | null; + + constructor(data: ExportFpxRequest) { + this.endDate = data.endDate; + this.exportActive = data.exportActive; + this.exportPassive = data.exportPassive; + this.startDate = data.startDate; + this.whereCondAttive = data.whereCondAttive; + this.whereCondPassive = data.whereCondPassive; + } +} + +export class ExportHistoryGroupDTO { + completedRead?: boolean | null; + dataSource?: DataSource | null; + endTime?: Date | null; + groupId?: number | null; + items?: ExportHistoryItemDTO[] | null; + processedItemCount?: number | null; + startTime?: Date | null; + syncronizedItemCount?: number | null; + toProcessQueue?: { [index: string]: string }[] | null; + totalItemCount?: number | null; + + constructor(data: ExportHistoryGroupDTO) { + this.completedRead = data.completedRead; + this.dataSource = data.dataSource; + this.endTime = data.endTime; + this.groupId = data.groupId; + this.items = data.items; + this.processedItemCount = data.processedItemCount; + this.startTime = data.startTime; + this.syncronizedItemCount = data.syncronizedItemCount; + this.toProcessQueue = data.toProcessQueue; + this.totalItemCount = data.totalItemCount; + } +} + +export class ExportHistoryItemDTO { + publication?: PublicationDTO | null; + startDate?: Date | null; + + constructor(data: ExportHistoryItemDTO) { + this.publication = data.publication; + this.startDate = data.startDate; + } +} + +export class ExportHistoryStatusDTO { + estimatedEnd?: Date | null; + processedCount?: number | null; + publicationGroupId?: number | null; + speedPerMinute?: number | null; + startedAt?: Date | null; + totalCount?: number | null; + + constructor(data: ExportHistoryStatusDTO) { + this.estimatedEnd = data.estimatedEnd; + this.processedCount = data.processedCount; + this.publicationGroupId = data.publicationGroupId; + this.speedPerMinute = data.speedPerMinute; + this.startedAt = data.startedAt; + this.totalCount = data.totalCount; + } +} + +export class ExportStefDTO { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + fileNameStef?: string | null; + line?: string | null; + numDoc?: number | null; + serDoc?: string | null; + versione?: number | null; + + constructor(data: ExportStefDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.fileNameStef = data.fileNameStef; + this.line = data.line; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.versione = data.versione; + } +} + +export class ExportTemplate { + csv?: ExportTemplateCsv | null; + fileNameConf?: ExportTemplateFileNameConf | null; + modoInvio?: ExportTemplateModoInvio | null; + nomeUtente?: string | null; + profileDb?: string | null; + query?: string | null; + tipoExport?: string | null; + + constructor(data: ExportTemplate) { + this.csv = data.csv; + this.fileNameConf = data.fileNameConf; + this.modoInvio = data.modoInvio; + this.nomeUtente = data.nomeUtente; + this.profileDb = data.profileDb; + this.query = data.query; + this.tipoExport = data.tipoExport; + } +} + +export class ExportTemplateColumnsMap { + colName?: string | null; + colType?: string | null; + format?: string | null; + + constructor(data: ExportTemplateColumnsMap) { + this.colName = data.colName; + this.colType = data.colType; + this.format = data.format; + } +} + +export class ExportTemplateCsv { + chkApici?: boolean | null; + chkHeader?: boolean | null; + columnsMap?: ExportTemplateColumnsMap[] | null; + fineLinea?: string | null; + sepCampi?: string | null; + + constructor(data: ExportTemplateCsv) { + this.chkApici = data.chkApici; + this.chkHeader = data.chkHeader; + this.columnsMap = data.columnsMap; + this.fineLinea = data.fineLinea; + this.sepCampi = data.sepCampi; + } +} + +export class ExportTemplateEmail { + emailFrom?: string | null; + emailTo?: string | null; + password?: string | null; + smtp?: string | null; + smtpPort?: string | null; + username?: string | null; + + constructor(data: ExportTemplateEmail) { + this.emailFrom = data.emailFrom; + this.emailTo = data.emailTo; + this.password = data.password; + this.smtp = data.smtp; + this.smtpPort = data.smtpPort; + this.username = data.username; + } +} + +export class ExportTemplateFileNameConf { + namePattern?: string | null; + variables?: ExportTemplateVariable[] | null; + + constructor(data: ExportTemplateFileNameConf) { + this.namePattern = data.namePattern; + this.variables = data.variables; + } +} + +export class ExportTemplateFtp { + directory?: string | null; + password?: string | null; + port?: string | null; + server?: string | null; + username?: string | null; + + constructor(data: ExportTemplateFtp) { + this.directory = data.directory; + this.password = data.password; + this.port = data.port; + this.server = data.server; + this.username = data.username; + } +} + +export class ExportTemplateModoInvio { + chkDownload?: boolean | null; + cron?: string | null; + email?: ExportTemplateEmail | null; + exportName?: string | null; + ftp?: ExportTemplateFtp | null; + + constructor(data: ExportTemplateModoInvio) { + this.chkDownload = data.chkDownload; + this.cron = data.cron; + this.email = data.email; + this.exportName = data.exportName; + this.ftp = data.ftp; + } +} + +export class ExportTemplateVariable { + varName?: string | null; + varQuery?: string | null; + + constructor(data: ExportTemplateVariable) { + this.varName = data.varName; + this.varQuery = data.varQuery; + } +} + +export class ExportedDocumentMilkonDTO { + codMart?: string | null; + codMdep?: string | null; + dataDoc?: Date | null; + dataReg?: Date | null; + numDoc?: number | null; + partIva?: string | null; + qtaCnf?: number | null; + qtaDoc?: number | null; + serDoc?: string | null; + untDoc?: string | null; + + constructor(data: ExportedDocumentMilkonDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.numDoc = data.numDoc; + this.partIva = data.partIva; + this.qtaCnf = data.qtaCnf; + this.qtaDoc = data.qtaDoc; + this.serDoc = data.serDoc; + this.untDoc = data.untDoc; + } +} + +export class ExtendedStbActivity { + activityDescription?: string | null; + activityId?: string | null; + activityTypeId?: string | null; + alarmDate?: Date | null; + alarmTime?: Date | null; + codAnag?: string | null; + codJcom?: string | null; + codMart?: string | null; + dataInsAct?: Date | null; + emailObject?: StbActivityEmailObject | null; + emailPersonaRif?: string | null; + note?: string | null; + oraInsAct?: Date | null; + parentActivityId?: string | null; + personaRif?: string | null; + priorita?: number | null; + userCreator?: string | null; + userName?: string | null; + + constructor(data: ExtendedStbActivity) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityTypeId = data.activityTypeId; + this.alarmDate = data.alarmDate; + this.alarmTime = data.alarmTime; + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataInsAct = data.dataInsAct; + this.emailObject = data.emailObject; + this.emailPersonaRif = data.emailPersonaRif; + this.note = data.note; + this.oraInsAct = data.oraInsAct; + this.parentActivityId = data.parentActivityId; + this.personaRif = data.personaRif; + this.priorita = data.priorita; + this.userCreator = data.userCreator; + this.userName = data.userName; + } +} + +export class FLAggListinoProdDTO { + codAlis?: string | null; + codAnag?: string | null; + codMdep?: string | null; + codProd?: string | null; + codVdes?: string | null; + conto_lavoro?: string | null; + dataProd?: Date | null; + noteArticolo?: string | null; + origine?: string | null; + passaporto?: string | null; + przAcq?: number | null; + qtaProd?: number | null; + terzista?: string | null; + tipoVariazione?: string | null; + untMisProd?: string | null; + + constructor(data: FLAggListinoProdDTO) { + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.codVdes = data.codVdes; + this.conto_lavoro = data.conto_lavoro; + this.dataProd = data.dataProd; + this.noteArticolo = data.noteArticolo; + this.origine = data.origine; + this.passaporto = data.passaporto; + this.przAcq = data.przAcq; + this.qtaProd = data.qtaProd; + this.terzista = data.terzista; + this.tipoVariazione = data.tipoVariazione; + this.untMisProd = data.untMisProd; + } +} + +export class FLDatiProdDTO { + codAnag?: string | null; + codJcom?: string | null; + codMdep?: string | null; + codProd?: string | null; + dataChiusura?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + qtaProd?: number | null; + untMisProd?: string | null; + + constructor(data: FLDatiProdDTO) { + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.dataChiusura = data.dataChiusura; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.qtaProd = data.qtaProd; + this.untMisProd = data.untMisProd; + } +} + +export class FabbisogniUDCProdDTO { + codProd?: string | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + descrizioneEstesa?: string | null; + gestione?: string | null; + numCnf?: number | null; + numCollo?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + qtaCol?: number | null; + serCollo?: string | null; + untMis?: string | null; + + constructor(data: FabbisogniUDCProdDTO) { + this.codProd = data.codProd; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.descrizioneEstesa = data.descrizioneEstesa; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.qtaCol = data.qtaCol; + this.serCollo = data.serCollo; + this.untMis = data.untMis; + } +} + +export class FarmMesImportLog { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + errorMsg?: string | null; + numDoc?: number | null; + serDoc?: string | null; + tipoImport?: string | null; + + constructor(data: FarmMesImportLog) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.errorMsg = data.errorMsg; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.tipoImport = data.tipoImport; + } +} + +export class FatturaContoDepositoDTO { + articoli?: FatturaContoDepositoRowDTO[] | null; + codAnag?: string | null; + idContratto?: number | null; + + constructor(data: FatturaContoDepositoDTO) { + this.articoli = data.articoli; + this.codAnag = data.codAnag; + this.idContratto = data.idContratto; + } +} + +export class FatturaContoDepositoRowDTO { + codMart?: string | null; + qtaDoc?: number | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: FatturaContoDepositoRowDTO) { + this.codMart = data.codMart; + this.qtaDoc = data.qtaDoc; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class FattureCollegate { + codAnag?: string | null; + dataDoc?: Date | null; + idDoc?: string | null; + numItem?: string | null; + + constructor(data: FattureCollegate) { + this.codAnag = data.codAnag; + this.dataDoc = data.dataDoc; + this.idDoc = data.idDoc; + this.numItem = data.numItem; + } +} + +export class FatturePassiveCsvDTO { + "BOLLO VIRTUALE"?: string | null; + "CODICE FISCALE CLIENTE"?: string | null; + "CODICE FISCALE FORNITORE"?: string | null; + "DATA EMISSIONE"?: Date | null; + "DATA RICEZIONE"?: Date | null; + "DATA TRASMISSIONE"?: Date | null; + "DENOMINAZIONE CLIENTE"?: string | null; + "DENOMINAZIONE FORNITORE"?: string | null; + "FATTURE CONSEGNATE"?: string | null; + "IMPONIBILE/IMPORTO (TOTALE IN EURO)"?: string | null; + "IMPOSTA (TOTALE IN EURO)"?: string | null; + "NUMERO FATTURA / DOCUMENTO"?: string | null; + "PARTITA IVA CLIENTE"?: string | null; + "PARTITA IVA FORNITORE"?: string | null; + "SDI/FILE"?: string | null; + "TIPO DOCUMENTO"?: string | null; + "TIPO FATTURA"?: string | null; + formatDate?: string | null; + + constructor(data: FatturePassiveCsvDTO) { + this["BOLLO VIRTUALE"] = data["BOLLO VIRTUALE"]; + this["CODICE FISCALE CLIENTE"] = data["CODICE FISCALE CLIENTE"]; + this["CODICE FISCALE FORNITORE"] = data["CODICE FISCALE FORNITORE"]; + this["DATA EMISSIONE"] = data["DATA EMISSIONE"]; + this["DATA RICEZIONE"] = data["DATA RICEZIONE"]; + this["DATA TRASMISSIONE"] = data["DATA TRASMISSIONE"]; + this["DENOMINAZIONE CLIENTE"] = data["DENOMINAZIONE CLIENTE"]; + this["DENOMINAZIONE FORNITORE"] = data["DENOMINAZIONE FORNITORE"]; + this["FATTURE CONSEGNATE"] = data["FATTURE CONSEGNATE"]; + this["IMPONIBILE/IMPORTO (TOTALE IN EURO)"] = data["IMPONIBILE/IMPORTO (TOTALE IN EURO)"]; + this["IMPOSTA (TOTALE IN EURO)"] = data["IMPOSTA (TOTALE IN EURO)"]; + this["NUMERO FATTURA / DOCUMENTO"] = data["NUMERO FATTURA / DOCUMENTO"]; + this["PARTITA IVA CLIENTE"] = data["PARTITA IVA CLIENTE"]; + this["PARTITA IVA FORNITORE"] = data["PARTITA IVA FORNITORE"]; + this["SDI/FILE"] = data["SDI/FILE"]; + this["TIPO DOCUMENTO"] = data["TIPO DOCUMENTO"]; + this["TIPO FATTURA"] = data["TIPO FATTURA"]; + this.formatDate = data.formatDate; + } +} + +export class Field extends AccessibleObject implements Member { + annotatedType?: AnnotatedType | null; + declaringClass?: Class | null; + enumConstant?: boolean | null; + genericType?: Type | null; + modifiers?: number | null; + name?: string | null; + synthetic?: boolean | null; + type?: Class | null; + + constructor(data: Field) { + super(data); + this.annotatedType = data.annotatedType; + this.declaringClass = data.declaringClass; + this.enumConstant = data.enumConstant; + this.genericType = data.genericType; + this.modifiers = data.modifiers; + this.name = data.name; + this.synthetic = data.synthetic; + this.type = data.type; + } +} + +export class FilconadrDTO { + aliquotaIva?: string | null; + codArt?: string | null; + codContabile?: string | null; + codiceListino?: string | null; + costoTrasporto?: number | null; + dataOrd?: Date | null; + descArt?: string | null; + impTot?: number | null; + numOrd?: number | null; + numPezz?: number | null; + numProg?: number | null; + przCatalogo?: number | null; + przUnitario?: number | null; + qtaFatturata?: number | null; + tipoArt?: string | null; + tipoCessione?: string | null; + tipoContratto?: string | null; + tipoIva?: string | null; + tipoMov?: string | null; + tipoReso?: string | null; + tipoTrattamento?: string | null; + untMis?: string | null; + + constructor(data: FilconadrDTO) { + this.aliquotaIva = data.aliquotaIva; + this.codArt = data.codArt; + this.codContabile = data.codContabile; + this.codiceListino = data.codiceListino; + this.costoTrasporto = data.costoTrasporto; + this.dataOrd = data.dataOrd; + this.descArt = data.descArt; + this.impTot = data.impTot; + this.numOrd = data.numOrd; + this.numPezz = data.numPezz; + this.numProg = data.numProg; + this.przCatalogo = data.przCatalogo; + this.przUnitario = data.przUnitario; + this.qtaFatturata = data.qtaFatturata; + this.tipoArt = data.tipoArt; + this.tipoCessione = data.tipoCessione; + this.tipoContratto = data.tipoContratto; + this.tipoIva = data.tipoIva; + this.tipoMov = data.tipoMov; + this.tipoReso = data.tipoReso; + this.tipoTrattamento = data.tipoTrattamento; + this.untMis = data.untMis; + } +} + +export class FilconadtDTO { + codClie?: string | null; + codCooperativa?: string | null; + codDivisa?: string | null; + codForn?: string | null; + codSocio?: string | null; + dataBolla?: Date | null; + dataFattura?: Date | null; + filconadr?: FilconadrDTO[] | null; + numBolla?: string | null; + numFattura?: string | null; + numProg?: number | null; + tipoDoc?: string | null; + tipoForn?: string | null; + tipoSocio?: string | null; + + constructor(data: FilconadtDTO) { + this.codClie = data.codClie; + this.codCooperativa = data.codCooperativa; + this.codDivisa = data.codDivisa; + this.codForn = data.codForn; + this.codSocio = data.codSocio; + this.dataBolla = data.dataBolla; + this.dataFattura = data.dataFattura; + this.filconadr = data.filconadr; + this.numBolla = data.numBolla; + this.numFattura = data.numFattura; + this.numProg = data.numProg; + this.tipoDoc = data.tipoDoc; + this.tipoForn = data.tipoForn; + this.tipoSocio = data.tipoSocio; + } +} + +export class FileCribisDTO { + Cessata?: string | null; + "Codice cliente"?: string | null; + "Company Status"?: string | null; + "Decision Driver Mark"?: string | null; + "Decision Driver Score"?: string | null; + "Decision Driver View"?: string | null; + "Delinquency Score"?: string | null; + Denominazione?: string | null; + "Failure Score"?: string | null; + "Fido Decision Driver"?: string | null; + "Flag Pregiudizievoli Impattanti"?: string | null; + "Flag Pregiudizievoli Non Impattanti"?: string | null; + "Flag Protesti Impattanti"?: string | null; + "Max Fido"?: string | null; + Paydex?: string | null; + "Paydex Score"?: string | null; + "Performance di pagamento"?: string | null; + Rating?: string | null; + cessata?: string | null; + codicecliente?: string | null; + companyStatus?: string | null; + decisionDriverMark?: string | null; + decisionDriverScore?: string | null; + decisionDriverView?: string | null; + delinquencyScore?: string | null; + denominazione?: string | null; + failureScore?: string | null; + fidoDecisionDriver?: string | null; + flagPregiudizievoliImpattanti?: string | null; + flagPregiudizievoliNonImpattanti?: string | null; + flagProtestiImpattanti?: string | null; + maxFido?: string | null; + paydex?: string | null; + paydexScore?: string | null; + performancedipagamento?: string | null; + rating?: string | null; + + constructor(data: FileCribisDTO) { + this.Cessata = data.Cessata; + this["Codice cliente"] = data["Codice cliente"]; + this["Company Status"] = data["Company Status"]; + this["Decision Driver Mark"] = data["Decision Driver Mark"]; + this["Decision Driver Score"] = data["Decision Driver Score"]; + this["Decision Driver View"] = data["Decision Driver View"]; + this["Delinquency Score"] = data["Delinquency Score"]; + this.Denominazione = data.Denominazione; + this["Failure Score"] = data["Failure Score"]; + this["Fido Decision Driver"] = data["Fido Decision Driver"]; + this["Flag Pregiudizievoli Impattanti"] = data["Flag Pregiudizievoli Impattanti"]; + this["Flag Pregiudizievoli Non Impattanti"] = data["Flag Pregiudizievoli Non Impattanti"]; + this["Flag Protesti Impattanti"] = data["Flag Protesti Impattanti"]; + this["Max Fido"] = data["Max Fido"]; + this.Paydex = data.Paydex; + this["Paydex Score"] = data["Paydex Score"]; + this["Performance di pagamento"] = data["Performance di pagamento"]; + this.Rating = data.Rating; + this.cessata = data.cessata; + this.codicecliente = data.codicecliente; + this.companyStatus = data.companyStatus; + this.decisionDriverMark = data.decisionDriverMark; + this.decisionDriverScore = data.decisionDriverScore; + this.decisionDriverView = data.decisionDriverView; + this.delinquencyScore = data.delinquencyScore; + this.denominazione = data.denominazione; + this.failureScore = data.failureScore; + this.fidoDecisionDriver = data.fidoDecisionDriver; + this.flagPregiudizievoliImpattanti = data.flagPregiudizievoliImpattanti; + this.flagPregiudizievoliNonImpattanti = data.flagPregiudizievoliNonImpattanti; + this.flagProtestiImpattanti = data.flagProtestiImpattanti; + this.maxFido = data.maxFido; + this.paydex = data.paydex; + this.paydexScore = data.paydexScore; + this.performancedipagamento = data.performancedipagamento; + this.rating = data.rating; + } +} + +export class FileItem { + ext?: string | null; + fileContent?: string | null; + fileContentBytes?: any | null; + fileName?: string | null; + fileb64Content?: string | null; + + constructor(data: FileItem) { + this.ext = data.ext; + this.fileContent = data.fileContent; + this.fileContentBytes = data.fileContentBytes; + this.fileName = data.fileName; + this.fileb64Content = data.fileb64Content; + } +} + +export class FilterDTO { + field?: string | null; + filters?: FilterDTO[] | null; + logic?: string | null; + operator?: string | null; + value?: any | null; + + constructor(data: FilterDTO) { + this.field = data.field; + this.filters = data.filters; + this.logic = data.logic; + this.operator = data.operator; + this.value = data.value; + } +} + +export class FiltroArtDTO { + codDtip?: string | null; + codMdep?: string | null; + whereCond?: string | null; + + constructor(data: FiltroArtDTO) { + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.whereCond = data.whereCond; + } +} + +export class FiltroDistribuzioneColloDTO { + criterioDistribuzione?: string | null; + criterioDistribuzioneEnum?: CriterioDistribuzioneEnum | null; + dataCollo?: Date | null; + gestione?: string | null; + numCollo?: number | null; + serCollo?: string | null; + + constructor(data: FiltroDistribuzioneColloDTO) { + this.criterioDistribuzione = data.criterioDistribuzione; + this.criterioDistribuzioneEnum = data.criterioDistribuzioneEnum; + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.numCollo = data.numCollo; + this.serCollo = data.serCollo; + } +} + +export class ForceupdateDTO implements Serializable { + dateupd?: string | null; + + constructor(data: ForceupdateDTO) { + this.dateupd = data.dateupd; + } +} + +export class ForeignKeyDTO { + sqlFields?: { [index: string]: any } | null; + tableName?: string | null; + + constructor(data: ForeignKeyDTO) { + this.sqlFields = data.sqlFields; + this.tableName = data.tableName; + } +} + +export class FornitoreDTO { + checkFornitoreDTO?: CheckFornitoreDTO[] | null; + codAnag?: string | null; + codVdes?: string | null; + descrizione?: string | null; + gestioneAnag?: string | null; + tipoAnag?: string | null; + + constructor(data: FornitoreDTO) { + this.checkFornitoreDTO = data.checkFornitoreDTO; + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.descrizione = data.descrizione; + this.gestioneAnag = data.gestioneAnag; + this.tipoAnag = data.tipoAnag; + } +} + +export class FpxToPdfDTO { + files?: FpxToPdfFile[] | null; + importPassive?: boolean | null; + userConverted?: boolean | null; + + constructor(data: FpxToPdfDTO) { + this.files = data.files; + this.importPassive = data.importPassive; + this.userConverted = data.userConverted; + } +} + +export class FpxToPdfFile { + description?: string | null; + destinationPath?: string | null; + fileContent?: string | null; + fileContentBytes?: any | null; + fileName?: string | null; + + constructor(data: FpxToPdfFile) { + this.description = data.description; + this.destinationPath = data.destinationPath; + this.fileContent = data.fileContent; + this.fileContentBytes = data.fileContentBytes; + this.fileName = data.fileName; + } +} + +export class GanttDTO { + commessa_descrizione?: string | null; + logo_azienda?: string | null; + milestone_descrizione?: string | null; + milestone_end?: string | null; + milestone_end_date?: Date | null; + milestone_estimated_hours?: number | null; + milestone_id?: string | null; + milestone_note?: string | null; + milestone_start_date?: Date | null; + nome_ditta?: string | null; + progetto_commessa?: string | null; + progetto_descrizione?: string | null; + progetto_estimated_hours?: number | null; + progetto_id?: string | null; + progetto_note?: string | null; + progetto_persona_rif?: any | null; + progetto_responsabile?: string | null; + result?: any | null; + result_description?: any | null; + sort_milestone?: string | null; + sort_task?: string | null; + task_description?: string | null; + task_effective_hours?: number | null; + task_end?: string | null; + task_end_date?: Date | null; + task_estimated_hours?: number | null; + task_id?: string | null; + task_note?: any | null; + task_start_date?: Date | null; + task_type?: string | null; + + constructor(data: GanttDTO) { + this.commessa_descrizione = data.commessa_descrizione; + this.logo_azienda = data.logo_azienda; + this.milestone_descrizione = data.milestone_descrizione; + this.milestone_end = data.milestone_end; + this.milestone_end_date = data.milestone_end_date; + this.milestone_estimated_hours = data.milestone_estimated_hours; + this.milestone_id = data.milestone_id; + this.milestone_note = data.milestone_note; + this.milestone_start_date = data.milestone_start_date; + this.nome_ditta = data.nome_ditta; + this.progetto_commessa = data.progetto_commessa; + this.progetto_descrizione = data.progetto_descrizione; + this.progetto_estimated_hours = data.progetto_estimated_hours; + this.progetto_id = data.progetto_id; + this.progetto_note = data.progetto_note; + this.progetto_persona_rif = data.progetto_persona_rif; + this.progetto_responsabile = data.progetto_responsabile; + this.result = data.result; + this.result_description = data.result_description; + this.sort_milestone = data.sort_milestone; + this.sort_task = data.sort_task; + this.task_description = data.task_description; + this.task_effective_hours = data.task_effective_hours; + this.task_end = data.task_end; + this.task_end_date = data.task_end_date; + this.task_estimated_hours = data.task_estimated_hours; + this.task_id = data.task_id; + this.task_note = data.task_note; + this.task_start_date = data.task_start_date; + this.task_type = data.task_type; + } +} + +export class GenericComunicationMailTemplateDataDTO { + content?: string | null; + exceptions?: Exception[] | null; + subtitle?: string | null; + title?: string | null; + + constructor(data: GenericComunicationMailTemplateDataDTO) { + this.content = data.content; + this.exceptions = data.exceptions; + this.subtitle = data.subtitle; + this.title = data.title; + } +} + +export interface GenericDeclaration extends AnnotatedElement { + typeParameters?: TypeVariable[] | null; +} + +export class GestNameDTO { + gestName?: string | null; + + constructor(data: GestNameDTO) { + this.gestName = data.gestName; + } +} + +export class GestioniPvmDTO { + group?: string | null; + name?: string | null; + usergroups?: string[] | null; + users?: string[] | null; + + constructor(data: GestioniPvmDTO) { + this.group = data.group; + this.name = data.name; + this.usergroups = data.usergroups; + this.users = data.users; + } +} + +export class GetPickingListAccettazioneDTO { + data?: Date | null; + gestione?: string | null; + numero?: number | null; + + constructor(data: GetPickingListAccettazioneDTO) { + this.data = data.data; + this.gestione = data.gestione; + this.numero = data.numero; + } +} + +export class GetPickingListSpedizioneDTO { + data?: Date | null; + dataConsegna?: Date | null; + gestione?: string | null; + idViaggio?: number | null; + numero?: number | null; + + constructor(data: GetPickingListSpedizioneDTO) { + this.data = data.data; + this.dataConsegna = data.dataConsegna; + this.gestione = data.gestione; + this.idViaggio = data.idViaggio; + this.numero = data.numero; + } +} + +export class GiacArtDTO implements Cloneable { + codCol?: string | null; + codJcom?: string | null; + codMart?: string | null; + codMdep?: string | null; + codTagl?: string | null; + codTcol?: string | null; + dataCollo?: Date | null; + dataScad?: Date | null; + gestione?: string | null; + numCnf?: number | null; + numCollo?: number | null; + partitaMag?: string | null; + posizione?: string | null; + preparatoDa?: string | null; + qtaCnf?: number | null; + qtaCol?: number | null; + segno?: number | null; + serCollo?: string | null; + + constructor(data: GiacArtDTO) { + this.codCol = data.codCol; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTagl = data.codTagl; + this.codTcol = data.codTcol; + this.dataCollo = data.dataCollo; + this.dataScad = data.dataScad; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + this.preparatoDa = data.preparatoDa; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.segno = data.segno; + this.serCollo = data.serCollo; + } +} + +export class GiacenzaArtInBarcodeDTO { + barcodeUl?: string | null; + codMart?: string | null; + descrizione?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaCnfArt?: number | null; + qtaCol?: number | null; + rapConv2?: number | null; + untMis?: string | null; + untMis2?: string | null; + + constructor(data: GiacenzaArtInBarcodeDTO) { + this.barcodeUl = data.barcodeUl; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaCnfArt = data.qtaCnfArt; + this.qtaCol = data.qtaCol; + this.rapConv2 = data.rapConv2; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + } +} + +export class GiacenzaColliInMagDTO { + codAlis?: string | null; + codArtFor?: string | null; + codCol?: string | null; + codJcom?: string | null; + codMart?: string | null; + codTagl?: string | null; + codTcol?: string | null; + colliPedana?: number | null; + dataCollo?: Date | null; + dataScad?: Date | null; + descrizioneEstesa?: string | null; + gestione?: string | null; + idViaggio?: string | null; + mtbAart?: MtbAart | null; + numCnfCollo?: number | null; + numCnfDisponibileCollo?: number | null; + numCnfOrd?: number | null; + numCollo?: number | null; + partitaMag?: string | null; + posizione?: string | null; + qtaCollo?: number | null; + qtaDisponibileCollo?: number | null; + qtaOrd?: number | null; + serCollo?: string | null; + + constructor(data: GiacenzaColliInMagDTO) { + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codCol = data.codCol; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codTagl = data.codTagl; + this.codTcol = data.codTcol; + this.colliPedana = data.colliPedana; + this.dataCollo = data.dataCollo; + this.dataScad = data.dataScad; + this.descrizioneEstesa = data.descrizioneEstesa; + this.gestione = data.gestione; + this.idViaggio = data.idViaggio; + this.mtbAart = data.mtbAart; + this.numCnfCollo = data.numCnfCollo; + this.numCnfDisponibileCollo = data.numCnfDisponibileCollo; + this.numCnfOrd = data.numCnfOrd; + this.numCollo = data.numCollo; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + this.qtaCollo = data.qtaCollo; + this.qtaDisponibileCollo = data.qtaDisponibileCollo; + this.qtaOrd = data.qtaOrd; + this.serCollo = data.serCollo; + } +} + +export class GiacenzaDTO { + codMart?: string | null; + codMdep?: string | null; + descrizione?: string | null; + dtaInventario?: Date | null; + incomingStock?: number | null; + qtaInv?: number | null; + + constructor(data: GiacenzaDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + this.dtaInventario = data.dtaInventario; + this.incomingStock = data.incomingStock; + this.qtaInv = data.qtaInv; + } +} + +export class GiacenzaEcommerceDTO { + Articolo?: string | null; + Attivo?: string | null; + Giacenza?: string | null; + + constructor(data: GiacenzaEcommerceDTO) { + this.Articolo = data.Articolo; + this.Attivo = data.Attivo; + this.Giacenza = data.Giacenza; + } +} + +export class GirocontoLavorazioneDTO { + codDtip?: string | null; + codMdep?: string | null; + codVdes?: string | null; + + constructor(data: GirocontoLavorazioneDTO) { + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + } +} + +export class GrigliaAcquistoDTO { + codAlis?: string | null; + codArtForn?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataValidita?: Date | null; + lastGriglia?: number | null; + note?: string | null; + tipoAssortimento?: string | null; + tipoVariazione?: string | null; + + constructor(data: GrigliaAcquistoDTO) { + this.codAlis = data.codAlis; + this.codArtForn = data.codArtForn; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataValidita = data.dataValidita; + this.lastGriglia = data.lastGriglia; + this.note = data.note; + this.tipoAssortimento = data.tipoAssortimento; + this.tipoVariazione = data.tipoVariazione; + } +} + +export class GrlAnagJrept extends EntityBase { + codAnag?: string | null; + id?: number | null; + reportId?: number | null; + tipo?: GrlAnagJreptTipo | null; + type: "grl_anag_jrept"; + + constructor(data: GrlAnagJrept) { + super(data); + this.codAnag = data.codAnag; + this.id = data.id; + this.reportId = data.reportId; + this.tipo = data.tipo; + } +} + +export class GrlAnagNoteFiles extends EntityBase { + codAnag?: string | null; + idAttach?: string | null; + rigaNote?: number | null; + type: "grl_anag_note_files"; + + constructor(data: GrlAnagNoteFiles) { + super(data); + this.codAnag = data.codAnag; + this.idAttach = data.idAttach; + this.rigaNote = data.rigaNote; + } +} + +export class GrlPasp extends EntityBase { + codPaga?: string | null; + codSpes?: string | null; + type: "grl_pasp"; + + constructor(data: GrlPasp) { + super(data); + this.codPaga = data.codPaga; + this.codSpes = data.codSpes; + } +} + +export class GroupStepDTO { + codJcom?: string | null; + codJfas?: string | null; + codProd?: string | null; + dataLotto?: Date | null; + dataOrdProd?: Date | null; + idLotto?: number | null; + newCodJfas?: string | null; + note?: string | null; + numOrdProd?: number | null; + terminaLavorazione?: string | null; + terminaLavorazioneLinea?: string | null; + + constructor(data: GroupStepDTO) { + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codProd = data.codProd; + this.dataLotto = data.dataLotto; + this.dataOrdProd = data.dataOrdProd; + this.idLotto = data.idLotto; + this.newCodJfas = data.newCodJfas; + this.note = data.note; + this.numOrdProd = data.numOrdProd; + this.terminaLavorazione = data.terminaLavorazione; + this.terminaLavorazioneLinea = data.terminaLavorazioneLinea; + } +} + +export class GruppiArticoloDTO { + codMgrp?: string | null; + descrizione?: string | null; + + constructor(data: GruppiArticoloDTO) { + this.codMgrp = data.codMgrp; + this.descrizione = data.descrizione; + } +} + +export class GtbAliq extends EntityBase { + codAliq?: string | null; + codAliqRc?: string | null; + codCconCos?: string | null; + codCconRic?: string | null; + codMart?: string | null; + codMartSfavore?: string | null; + codModIvaAcq?: string | null; + codModIvaNonDed?: string | null; + codModIvaVen?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagAutofattura?: string | null; + flagCreaPlafond?: string | null; + flagDichIntentoAp?: string | null; + flagEsenteProRata?: string | null; + flagIncludiDichIva?: string | null; + flagIvaAcqMerci?: string | null; + flagIvaDaVentilare?: string | null; + flagIvaIntraUe?: string | null; + flagMarcaDaBollo?: string | null; + flagReverseCharge?: string | null; + flagStato?: string | null; + flagUsaPlafond?: string | null; + natura?: string | null; + percAliq?: number | null; + percAliqComp?: number | null; + percDetr?: number | null; + periodDetr?: string | null; + tipoIva?: string | null; + type: "gtb_aliq"; + + constructor(data: GtbAliq) { + super(data); + this.codAliq = data.codAliq; + this.codAliqRc = data.codAliqRc; + this.codCconCos = data.codCconCos; + this.codCconRic = data.codCconRic; + this.codMart = data.codMart; + this.codMartSfavore = data.codMartSfavore; + this.codModIvaAcq = data.codModIvaAcq; + this.codModIvaNonDed = data.codModIvaNonDed; + this.codModIvaVen = data.codModIvaVen; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagAutofattura = data.flagAutofattura; + this.flagCreaPlafond = data.flagCreaPlafond; + this.flagDichIntentoAp = data.flagDichIntentoAp; + this.flagEsenteProRata = data.flagEsenteProRata; + this.flagIncludiDichIva = data.flagIncludiDichIva; + this.flagIvaAcqMerci = data.flagIvaAcqMerci; + this.flagIvaDaVentilare = data.flagIvaDaVentilare; + this.flagIvaIntraUe = data.flagIvaIntraUe; + this.flagMarcaDaBollo = data.flagMarcaDaBollo; + this.flagReverseCharge = data.flagReverseCharge; + this.flagStato = data.flagStato; + this.flagUsaPlafond = data.flagUsaPlafond; + this.natura = data.natura; + this.percAliq = data.percAliq; + this.percAliqComp = data.percAliqComp; + this.percDetr = data.percDetr; + this.periodDetr = data.periodDetr; + this.tipoIva = data.tipoIva; + } +} + +export class GtbAliqNatura extends EntityBase { + descrizione?: string | null; + natura?: string | null; + type: "gtb_aliq_natura"; + + constructor(data: GtbAliqNatura) { + super(data); + this.descrizione = data.descrizione; + this.natura = data.natura; + } +} + +export class GtbAnag extends EntityBase implements EquatableEntityInterface { + allegato?: string | null; + applicationName?: string | null; + arlFogm?: ArlFogm[] | null; + atbForn?: AtbForn | null; + cap?: string | null; + cciaa?: string | null; + citta?: string | null; + classeMerito?: number | null; + codAnag?: string | null; + codCentroAzi?: string | null; + codFisc?: string | null; + codRuop?: string | null; + codSoggetto?: number | null; + cognome?: string | null; + ctbAnag?: CtbAnag | null; + ctbPlafondIva?: CtbPlafondIva[] | null; + cuuPa?: string | null; + dataIns?: Date | null; + dataMod?: Date | null; + dataNascita?: Date | null; + diacod?: string | null; + eMail?: string | null; + eMailPec?: string | null; + excludedColumns?: string[] | null; + fax?: string | null; + flagConsenso?: string | null; + flagInformativa?: string | null; + flagPersonaFg?: string | null; + grlAnagJrepts?: GrlAnagJrept[] | null; + gtbAnagConai?: GtbAnagConai[] | null; + gtbAnagInfo?: GtbAnagInfo[] | null; + gtbAnagNote?: GtbAnagNote[] | null; + indirizzo?: string | null; + insDestinatario?: boolean | null; + lat?: number | null; + lng?: number | null; + luogoNascita?: string | null; + nazione?: string | null; + nome?: string | null; + note?: string | null; + numCell?: string | null; + oltbSoggetti?: OltbSoggetti | null; + parent?: any | null; + partIva?: string | null; + personaRif?: string | null; + precode?: string | null; + prov?: string | null; + provNascita?: string | null; + queryTimeoutSeconds?: number | null; + ragSoc?: string | null; + ragSoc2?: string | null; + regFisc?: string | null; + sesso?: string | null; + tableName?: string | null; + telefono?: string | null; + tipoAzienda?: string | null; + transactionGroupId?: number | null; + ttbClieLine?: TtbClieLine[] | null; + type: "gtb_anag"; + vtbClie?: VtbClie | null; + vtbClieFido?: VtbClieFido[] | null; + vtbCliePersRif?: VtbCliePersRif[] | null; + vtbDest?: VtbDest[] | null; + + constructor(data: GtbAnag) { + super(data); + this.allegato = data.allegato; + this.applicationName = data.applicationName; + this.arlFogm = data.arlFogm; + this.atbForn = data.atbForn; + this.cap = data.cap; + this.cciaa = data.cciaa; + this.citta = data.citta; + this.classeMerito = data.classeMerito; + this.codAnag = data.codAnag; + this.codCentroAzi = data.codCentroAzi; + this.codFisc = data.codFisc; + this.codRuop = data.codRuop; + this.codSoggetto = data.codSoggetto; + this.cognome = data.cognome; + this.ctbAnag = data.ctbAnag; + this.ctbPlafondIva = data.ctbPlafondIva; + this.cuuPa = data.cuuPa; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.dataNascita = data.dataNascita; + this.diacod = data.diacod; + this.eMail = data.eMail; + this.eMailPec = data.eMailPec; + this.excludedColumns = data.excludedColumns; + this.fax = data.fax; + this.flagConsenso = data.flagConsenso; + this.flagInformativa = data.flagInformativa; + this.flagPersonaFg = data.flagPersonaFg; + this.grlAnagJrepts = data.grlAnagJrepts; + this.gtbAnagConai = data.gtbAnagConai; + this.gtbAnagInfo = data.gtbAnagInfo; + this.gtbAnagNote = data.gtbAnagNote; + this.indirizzo = data.indirizzo; + this.insDestinatario = data.insDestinatario; + this.lat = data.lat; + this.lng = data.lng; + this.luogoNascita = data.luogoNascita; + this.nazione = data.nazione; + this.nome = data.nome; + this.note = data.note; + this.numCell = data.numCell; + this.oltbSoggetti = data.oltbSoggetti; + this.parent = data.parent; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.precode = data.precode; + this.prov = data.prov; + this.provNascita = data.provNascita; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.ragSoc = data.ragSoc; + this.ragSoc2 = data.ragSoc2; + this.regFisc = data.regFisc; + this.sesso = data.sesso; + this.tableName = data.tableName; + this.telefono = data.telefono; + this.tipoAzienda = data.tipoAzienda; + this.transactionGroupId = data.transactionGroupId; + this.ttbClieLine = data.ttbClieLine; + this.vtbClie = data.vtbClie; + this.vtbClieFido = data.vtbClieFido; + this.vtbCliePersRif = data.vtbCliePersRif; + this.vtbDest = data.vtbDest; + } +} + +export class GtbAnagConai extends EntityBase { + codAnag?: string | null; + codConai?: string | null; + daData?: Date | null; + percEsenzione?: string | null; + type: "gtb_anag_conai"; + + constructor(data: GtbAnagConai) { + super(data); + this.codAnag = data.codAnag; + this.codConai = data.codConai; + this.daData = data.daData; + this.percEsenzione = data.percEsenzione; + } +} + +export class GtbAnagInfo extends EntityBase { + codAnag?: string | null; + companyStatus?: string | null; + denominazione?: string | null; + failureScore?: string | null; + flagCessata?: string | null; + flagPregiudizievoliImpattanti?: string | null; + flagProtestiImpattanti?: string | null; + maxFido?: number | null; + paydex?: string | null; + performancePagamento?: string | null; + rating?: string | null; + type: "gtb_anag_info"; + + constructor(data: GtbAnagInfo) { + super(data); + this.codAnag = data.codAnag; + this.companyStatus = data.companyStatus; + this.denominazione = data.denominazione; + this.failureScore = data.failureScore; + this.flagCessata = data.flagCessata; + this.flagPregiudizievoliImpattanti = data.flagPregiudizievoliImpattanti; + this.flagProtestiImpattanti = data.flagProtestiImpattanti; + this.maxFido = data.maxFido; + this.paydex = data.paydex; + this.performancePagamento = data.performancePagamento; + this.rating = data.rating; + } +} + +export class GtbAnagNote extends EntityBase { + codAnag?: string | null; + dataIns?: Date | null; + dataScad?: Date | null; + flagSegnCmov?: string | null; + flagSegnScad?: string | null; + flagStampaDoc?: string | null; + flagVisComm?: string | null; + grlAnagNoteFiles?: GrlAnagNoteFiles[] | null; + idAttach?: string | null; + note?: string | null; + rigaNote?: number | null; + tipoNote?: string | null; + type: "gtb_anag_note"; + + constructor(data: GtbAnagNote) { + super(data); + this.codAnag = data.codAnag; + this.dataIns = data.dataIns; + this.dataScad = data.dataScad; + this.flagSegnCmov = data.flagSegnCmov; + this.flagSegnScad = data.flagSegnScad; + this.flagStampaDoc = data.flagStampaDoc; + this.flagVisComm = data.flagVisComm; + this.grlAnagNoteFiles = data.grlAnagNoteFiles; + this.idAttach = data.idAttach; + this.note = data.note; + this.rigaNote = data.rigaNote; + this.tipoNote = data.tipoNote; + } +} + +export class GtbAnniDivi extends EntityBase { + anno?: number | null; + codDiviContPrima?: string | null; + codDiviContSeconda?: string | null; + idLottoLav?: string | null; + percProRata?: number | null; + type: "gtb_anni_divi"; + ultDareAvereGiorn?: number | null; + ultNumGiornale?: number | null; + ultPagGiornale?: number | null; + + constructor(data: GtbAnniDivi) { + super(data); + this.anno = data.anno; + this.codDiviContPrima = data.codDiviContPrima; + this.codDiviContSeconda = data.codDiviContSeconda; + this.idLottoLav = data.idLottoLav; + this.percProRata = data.percProRata; + this.ultDareAvereGiorn = data.ultDareAvereGiorn; + this.ultNumGiornale = data.ultNumGiornale; + this.ultPagGiornale = data.ultPagGiornale; + } +} + +export class GtbBanc extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codAbi?: string | null; + codBanc?: string | null; + codCab?: string | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + note?: string | null; + parent?: any | null; + piazza?: string | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "gtb_banc"; + + constructor(data: GtbBanc) { + super(data); + this.applicationName = data.applicationName; + this.codAbi = data.codAbi; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.note = data.note; + this.parent = data.parent; + this.piazza = data.piazza; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class GtbBancAzi extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codAbi?: string | null; + codBanc?: string | null; + codBancAzi?: string | null; + codBic?: string | null; + codCab?: string | null; + codCconOrdinario?: string | null; + codIban?: string | null; + codSwift?: string | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + fidoOrdinario?: number | null; + gtbBancAziEff?: GtbBancAziEff[] | null; + gtbBancAziIntercode?: GtbBancAziIntercode[] | null; + indirizzo?: string | null; + note?: string | null; + numCc?: string | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + telFax?: string | null; + transactionGroupId?: number | null; + type: "gtb_banc_azi"; + + constructor(data: GtbBancAzi) { + super(data); + this.applicationName = data.applicationName; + this.codAbi = data.codAbi; + this.codBanc = data.codBanc; + this.codBancAzi = data.codBancAzi; + this.codBic = data.codBic; + this.codCab = data.codCab; + this.codCconOrdinario = data.codCconOrdinario; + this.codIban = data.codIban; + this.codSwift = data.codSwift; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.fidoOrdinario = data.fidoOrdinario; + this.gtbBancAziEff = data.gtbBancAziEff; + this.gtbBancAziIntercode = data.gtbBancAziIntercode; + this.indirizzo = data.indirizzo; + this.note = data.note; + this.numCc = data.numCc; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.telFax = data.telFax; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class GtbBancAziEff extends EntityBase { + codBancAzi?: string | null; + codCconEffetti?: string | null; + fidoEffetti?: number | null; + tipoPaga?: string | null; + type: "gtb_banc_azi_eff"; + + constructor(data: GtbBancAziEff) { + super(data); + this.codBancAzi = data.codBancAzi; + this.codCconEffetti = data.codCconEffetti; + this.fidoEffetti = data.fidoEffetti; + this.tipoPaga = data.tipoPaga; + } +} + +export class GtbBancAziIntercode extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codBancAzi?: string | null; + excludedColumns?: string[] | null; + formato?: string | null; + id?: number | null; + intercode?: string | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "gtb_banc_azi_intercode"; + + constructor(data: GtbBancAziIntercode) { + super(data); + this.applicationName = data.applicationName; + this.codBancAzi = data.codBancAzi; + this.excludedColumns = data.excludedColumns; + this.formato = data.formato; + this.id = data.id; + this.intercode = data.intercode; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class GtbConai extends EntityBase { + codConai?: string | null; + codConaiEsente?: string | null; + gtbConaiCosti?: GtbConaiCosti[] | null; + gtbConaiEsenzioni?: GtbConaiEsenzioni[] | null; + type: "gtb_conai"; + + constructor(data: GtbConai) { + super(data); + this.codConai = data.codConai; + this.codConaiEsente = data.codConaiEsente; + this.gtbConaiCosti = data.gtbConaiCosti; + this.gtbConaiEsenzioni = data.gtbConaiEsenzioni; + } +} + +export class GtbConaiCosti extends EntityBase { + codConai?: string | null; + costoKg?: number | null; + daData?: Date | null; + type: "gtb_conai_costi"; + + constructor(data: GtbConaiCosti) { + super(data); + this.codConai = data.codConai; + this.costoKg = data.costoKg; + this.daData = data.daData; + } +} + +export class GtbConaiEsenzioni extends EntityBase { + codConai?: string | null; + daData?: Date | null; + percEsenzione?: number | null; + type: "gtb_conai_esenzioni"; + + constructor(data: GtbConaiEsenzioni) { + super(data); + this.codConai = data.codConai; + this.daData = data.daData; + this.percEsenzione = data.percEsenzione; + } +} + +export class GtbDivi extends EntityBase { + cambio?: number | null; + cambioEuro?: number | null; + cifreDec?: number | null; + codDivi?: string | null; + codDiviIso?: string | null; + descrizione?: string | null; + flagCambioFisso?: string | null; + formato?: string | null; + gtbDiviCambi?: GtbDiviCambi[] | null; + type: "gtb_divi"; + + constructor(data: GtbDivi) { + super(data); + this.cambio = data.cambio; + this.cambioEuro = data.cambioEuro; + this.cifreDec = data.cifreDec; + this.codDivi = data.codDivi; + this.codDiviIso = data.codDiviIso; + this.descrizione = data.descrizione; + this.flagCambioFisso = data.flagCambioFisso; + this.formato = data.formato; + this.gtbDiviCambi = data.gtbDiviCambi; + } +} + +export class GtbDiviCambi extends EntityBase { + cambio?: number | null; + codDivi?: string | null; + dataValuta?: Date | null; + type: "gtb_divi_cambi"; + + constructor(data: GtbDiviCambi) { + super(data); + this.cambio = data.cambio; + this.codDivi = data.codDivi; + this.dataValuta = data.dataValuta; + } +} + +export class GtbDiviIso extends EntityBase { + codDiviIso?: string | null; + descrDivi?: string | null; + type: "gtb_divi_iso"; + + constructor(data: GtbDiviIso) { + super(data); + this.codDiviIso = data.codDiviIso; + this.descrDivi = data.descrDivi; + } +} + +export class GtbGeog extends EntityBase { + geog?: LatLng | null; + lat?: number | null; + lng?: number | null; + type: "gtb_geog"; + + constructor(data: GtbGeog) { + super(data); + this.geog = data.geog; + this.lat = data.lat; + this.lng = data.lng; + } +} + +export class GtbLingue extends EntityBase { + codIsoLingua?: string | null; + codLingua?: string | null; + descrizione?: string | null; + type: "gtb_lingue"; + + constructor(data: GtbLingue) { + super(data); + this.codIsoLingua = data.codIsoLingua; + this.codLingua = data.codLingua; + this.descrizione = data.descrizione; + } +} + +export class GtbMezzo extends EntityBase { + codMezzoIntracee?: string | null; + descrizione?: string | null; + mezzo?: string | null; + type: "gtb_mezzo"; + vettoreObbligatorio?: boolean | null; + + constructor(data: GtbMezzo) { + super(data); + this.codMezzoIntracee = data.codMezzoIntracee; + this.descrizione = data.descrizione; + this.mezzo = data.mezzo; + this.vettoreObbligatorio = data.vettoreObbligatorio; + } +} + +export class GtbModIva extends EntityBase { + codModIva?: string | null; + descrizione?: string | null; + type: "gtb_mod_iva"; + + constructor(data: GtbModIva) { + super(data); + this.codModIva = data.codModIva; + this.descrizione = data.descrizione; + } +} + +export class GtbNazi extends EntityBase { + chkPartIva?: boolean | null; + codLingua?: string | null; + codNaziSian?: string | null; + codNazioneIso?: string | null; + codPaga?: string | null; + codStatoBlackList?: string | null; + desEstera?: string | null; + descrizione?: string | null; + flagBlackList?: string | null; + flagIndicaLotti?: string | null; + flagIndicaPeso?: string | null; + flagIndicaScadenza?: string | null; + flagIntracee?: string | null; + formatoPIva?: string | null; + impMinOrd?: number | null; + impSpese?: number | null; + nazione?: string | null; + tipoTrasporto?: string | null; + type: "gtb_nazi"; + + constructor(data: GtbNazi) { + super(data); + this.chkPartIva = data.chkPartIva; + this.codLingua = data.codLingua; + this.codNaziSian = data.codNaziSian; + this.codNazioneIso = data.codNazioneIso; + this.codPaga = data.codPaga; + this.codStatoBlackList = data.codStatoBlackList; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + this.flagBlackList = data.flagBlackList; + this.flagIndicaLotti = data.flagIndicaLotti; + this.flagIndicaPeso = data.flagIndicaPeso; + this.flagIndicaScadenza = data.flagIndicaScadenza; + this.flagIntracee = data.flagIntracee; + this.formatoPIva = data.formatoPIva; + this.impMinOrd = data.impMinOrd; + this.impSpese = data.impSpese; + this.nazione = data.nazione; + this.tipoTrasporto = data.tipoTrasporto; + } +} + +export class GtbNaziIso extends EntityBase { + codNaziAlpha2?: string | null; + codNaziNum?: string | null; + codNazioneIso?: string | null; + descrizione?: string | null; + type: "gtb_nazi_iso"; + + constructor(data: GtbNaziIso) { + super(data); + this.codNaziAlpha2 = data.codNaziAlpha2; + this.codNaziNum = data.codNaziNum; + this.codNazioneIso = data.codNazioneIso; + this.descrizione = data.descrizione; + } +} + +export class GtbPaga extends EntityBase { + codCcauPaga?: string | null; + codCconCassa?: string | null; + codPaga?: string | null; + codPagaFe?: string | null; + dataRif?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + dicituraArt62?: string | null; + flagAttivo?: string | null; + flagEscludiFido?: string | null; + flagPagAnt?: string | null; + flagPagaRemoto?: string | null; + flagProvv?: string | null; + flagRegpagaScad?: string | null; + ggAntProv?: number | null; + ggPrimaRata?: number | null; + ggSbf?: number | null; + ggScad?: number | null; + ggTraRate?: number | null; + grlPasp?: GrlPasp[] | null; + ivaPrimaRata?: string | null; + numRate?: number | null; + rifAntProv?: string | null; + sconto?: number | null; + tipoPaga?: string | null; + tipoSconto?: string | null; + type: "gtb_paga"; + + constructor(data: GtbPaga) { + super(data); + this.codCcauPaga = data.codCcauPaga; + this.codCconCassa = data.codCconCassa; + this.codPaga = data.codPaga; + this.codPagaFe = data.codPagaFe; + this.dataRif = data.dataRif; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.dicituraArt62 = data.dicituraArt62; + this.flagAttivo = data.flagAttivo; + this.flagEscludiFido = data.flagEscludiFido; + this.flagPagAnt = data.flagPagAnt; + this.flagPagaRemoto = data.flagPagaRemoto; + this.flagProvv = data.flagProvv; + this.flagRegpagaScad = data.flagRegpagaScad; + this.ggAntProv = data.ggAntProv; + this.ggPrimaRata = data.ggPrimaRata; + this.ggSbf = data.ggSbf; + this.ggScad = data.ggScad; + this.ggTraRate = data.ggTraRate; + this.grlPasp = data.grlPasp; + this.ivaPrimaRata = data.ivaPrimaRata; + this.numRate = data.numRate; + this.rifAntProv = data.rifAntProv; + this.sconto = data.sconto; + this.tipoPaga = data.tipoPaga; + this.tipoSconto = data.tipoSconto; + } +} + +export class GtbPagaFe extends EntityBase { + codPagaFe?: string | null; + descrizione?: string | null; + type: "gtb_paga_fe"; + + constructor(data: GtbPagaFe) { + super(data); + this.codPagaFe = data.codPagaFe; + this.descrizione = data.descrizione; + } +} + +export class GtbPeriodoFisc extends EntityBase { + anno?: number | null; + dataFine?: Date | null; + dataIniz?: Date | null; + type: "gtb_periodo_fisc"; + + constructor(data: GtbPeriodoFisc) { + super(data); + this.anno = data.anno; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + } +} + +export class GtbPorto extends EntityBase { + assicurazione?: Assicurazione | null; + codConsIntracee?: string | null; + costo?: Costo | null; + descrizione?: string | null; + descrizioneEstera?: string | null; + flagAttivo?: boolean | null; + flagCaricoAziendaAcq?: string | null; + flagCaricoAziendaVen?: string | null; + flagIncoterms?: boolean | null; + porto?: string | null; + rischi?: Rischi | null; + type: "gtb_porto"; + + constructor(data: GtbPorto) { + super(data); + this.assicurazione = data.assicurazione; + this.codConsIntracee = data.codConsIntracee; + this.costo = data.costo; + this.descrizione = data.descrizione; + this.descrizioneEstera = data.descrizioneEstera; + this.flagAttivo = data.flagAttivo; + this.flagCaricoAziendaAcq = data.flagCaricoAziendaAcq; + this.flagCaricoAziendaVen = data.flagCaricoAziendaVen; + this.flagIncoterms = data.flagIncoterms; + this.porto = data.porto; + this.rischi = data.rischi; + } +} + +export class GtbRegFisc extends EntityBase { + descrizione?: string | null; + regFisc?: string | null; + type: "gtb_reg_fisc"; + + constructor(data: GtbRegFisc) { + super(data); + this.descrizione = data.descrizione; + this.regFisc = data.regFisc; + } +} + +export class GtbSpes extends EntityBase { + arrotonda?: number | null; + cambioDiviCont?: number | null; + codAliq?: string | null; + codCconCos?: string | null; + codCconRic?: string | null; + codDiviCont?: string | null; + codNcIntracee?: string | null; + codSpes?: string | null; + cod_aliq_esenzione?: string | null; + cod_conai_esente?: string | null; + costo_kg?: number | null; + descrizione?: string | null; + descrizione_esenzione?: string | null; + flagRipartisci?: string | null; + flagRipartisciIntra?: boolean | null; + flagSpesIntra?: string | null; + flag_unita_kg?: string | null; + importo?: number | null; + num_rate?: number | null; + perc_esenzione?: number | null; + peso_kg?: number | null; + qta_spes?: number | null; + spesaSuPagamento?: boolean | null; + tipoCalcolo?: string | null; + tipo_um?: string | null; + type: "gtb_spes"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: GtbSpes) { + super(data); + this.arrotonda = data.arrotonda; + this.cambioDiviCont = data.cambioDiviCont; + this.codAliq = data.codAliq; + this.codCconCos = data.codCconCos; + this.codCconRic = data.codCconRic; + this.codDiviCont = data.codDiviCont; + this.codNcIntracee = data.codNcIntracee; + this.codSpes = data.codSpes; + this.cod_aliq_esenzione = data.cod_aliq_esenzione; + this.cod_conai_esente = data.cod_conai_esente; + this.costo_kg = data.costo_kg; + this.descrizione = data.descrizione; + this.descrizione_esenzione = data.descrizione_esenzione; + this.flagRipartisci = data.flagRipartisci; + this.flagRipartisciIntra = data.flagRipartisciIntra; + this.flagSpesIntra = data.flagSpesIntra; + this.flag_unita_kg = data.flag_unita_kg; + this.importo = data.importo; + this.num_rate = data.num_rate; + this.perc_esenzione = data.perc_esenzione; + this.peso_kg = data.peso_kg; + this.qta_spes = data.qta_spes; + this.spesaSuPagamento = data.spesaSuPagamento; + this.tipoCalcolo = data.tipoCalcolo; + this.tipo_um = data.tipo_um; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class GtbTipiPaga extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + creditoMedio?: number | null; + flagBancaAcq?: string | null; + flagBancaVen?: string | null; + flagCompensaTitoli?: string | null; + flagRaggDist?: string | null; + flagSoll?: string | null; + gtbTipiPagaIntercode?: GtbTipiPagaIntercode[] | null; + interessi?: number | null; + modStamp?: string | null; + percPenale?: number | null; + ritardoMedio?: number | null; + speseRitorno?: number | null; + tipoPaga?: string | null; + tipoTracciato?: string | null; + type: "gtb_tipi_paga"; + + constructor(data: GtbTipiPaga) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.creditoMedio = data.creditoMedio; + this.flagBancaAcq = data.flagBancaAcq; + this.flagBancaVen = data.flagBancaVen; + this.flagCompensaTitoli = data.flagCompensaTitoli; + this.flagRaggDist = data.flagRaggDist; + this.flagSoll = data.flagSoll; + this.gtbTipiPagaIntercode = data.gtbTipiPagaIntercode; + this.interessi = data.interessi; + this.modStamp = data.modStamp; + this.percPenale = data.percPenale; + this.ritardoMedio = data.ritardoMedio; + this.speseRitorno = data.speseRitorno; + this.tipoPaga = data.tipoPaga; + this.tipoTracciato = data.tipoTracciato; + } +} + +export class GtbTipiPagaIntercode extends EntityBase { + formato?: string | null; + id?: number | null; + intercode?: string | null; + tipoPaga?: string | null; + type: "gtb_tipi_paga_intercode"; + + constructor(data: GtbTipiPagaIntercode) { + super(data); + this.formato = data.formato; + this.id = data.id; + this.intercode = data.intercode; + this.tipoPaga = data.tipoPaga; + } +} + +export class HeaderOrderDTO { + codPaga?: string | null; + dataOrd?: Date | null; + note?: string | null; + numOrd?: string | null; + rowList?: RowOrderDTO[] | null; + totDoc?: string | null; + + constructor(data: HeaderOrderDTO) { + this.codPaga = data.codPaga; + this.dataOrd = data.dataOrd; + this.note = data.note; + this.numOrd = data.numOrd; + this.rowList = data.rowList; + this.totDoc = data.totDoc; + } +} + +export interface IAutomatedOperation { + name?: string | null; +} + +export class ICONDTO { + dataFab?: Date | null; + nomeLista?: string | null; + numFab?: number | null; + + constructor(data: ICONDTO) { + this.dataFab = data.dataFab; + this.nomeLista = data.nomeLista; + this.numFab = data.numFab; + } +} + +export interface IExportFormat { +} + +export interface IImportFormat { +} + +export interface Identity extends Annotation { +} + +export class ImballoQuantityDTO { + codMart?: string | null; + qta?: number | null; + + constructor(data: ImballoQuantityDTO) { + this.codMart = data.codMart; + this.qta = data.qta; + } +} + +export class ImmagineDTO { + + constructor(data: ImmagineDTO) { + } +} + +export class Immissione { + codDtipTrasf?: string | null; + codJcomProv?: string | null; + codMart?: string | null; + codMdep?: string | null; + codMdepProv?: string | null; + codVvet?: string | null; + dataOrd?: Date | null; + dataReg?: Date | null; + gestione?: string | null; + ggNascita?: number | null; + numDoc?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + partitaMagNascita?: string | null; + pesoMedio?: number | null; + qtaImmesse?: number | null; + qtaProdOrd?: number | null; + rapConv?: number | null; + rigaOrd?: number | null; + targa?: string | null; + untOrd?: string | null; + + constructor(data: Immissione) { + this.codDtipTrasf = data.codDtipTrasf; + this.codJcomProv = data.codJcomProv; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMdepProv = data.codMdepProv; + this.codVvet = data.codVvet; + this.dataOrd = data.dataOrd; + this.dataReg = data.dataReg; + this.gestione = data.gestione; + this.ggNascita = data.ggNascita; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.partitaMagNascita = data.partitaMagNascita; + this.pesoMedio = data.pesoMedio; + this.qtaImmesse = data.qtaImmesse; + this.qtaProdOrd = data.qtaProdOrd; + this.rapConv = data.rapConv; + this.rigaOrd = data.rigaOrd; + this.targa = data.targa; + this.untOrd = data.untOrd; + } +} + +export class ImportArticlesRequest { + articles?: Article[] | null; + + constructor(data: ImportArticlesRequest) { + this.articles = data.articles; + } +} + +export class ImportAutomatedOperationDTO extends BaseScheduledOperationDTO { + format?: string | null; + password?: string | null; + pathFile?: string | null; + profileDb?: string | null; + rawContent?: string | null; + type?: string | null; + username?: string | null; + whereCond?: string | null; + + constructor(data: ImportAutomatedOperationDTO) { + super(data); + this.format = data.format; + this.password = data.password; + this.pathFile = data.pathFile; + this.profileDb = data.profileDb; + this.rawContent = data.rawContent; + this.type = data.type; + this.username = data.username; + this.whereCond = data.whereCond; + } +} + +export class ImportBusinessPartnersRequest { + business_partners?: BusinessPartner[] | null; + + constructor(data: ImportBusinessPartnersRequest) { + this.business_partners = data.business_partners; + } +} + +export class ImportCaratteristicheDTO { + datiAggiuntivi?: { [index: string]: string } | null; + rawContent?: any | null; + rawContentB64?: string | null; + + constructor(data: ImportCaratteristicheDTO) { + this.datiAggiuntivi = data.datiAggiuntivi; + this.rawContent = data.rawContent; + this.rawContentB64 = data.rawContentB64; + } +} + +export class ImportColliDaProduzioneDTO { + annotazioni?: string | null; + autoGeneraVendita?: boolean | null; + codJcom?: string | null; + codJfas?: string | null; + codMart?: string | null; + codTcol?: string | null; + colliBancale?: number | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + fornitore?: string | null; + gestione?: string | null; + numOrd?: number | null; + numRisorse?: number | null; + partitaMag?: string | null; + pesoLordo?: number | null; + pesoNetto?: number | null; + preparatoDa?: string | null; + qtaCnf?: number | null; + qtaCol?: number | null; + rigaOrd?: number | null; + + constructor(data: ImportColliDaProduzioneDTO) { + this.annotazioni = data.annotazioni; + this.autoGeneraVendita = data.autoGeneraVendita; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codTcol = data.codTcol; + this.colliBancale = data.colliBancale; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.fornitore = data.fornitore; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.numRisorse = data.numRisorse; + this.partitaMag = data.partitaMag; + this.pesoLordo = data.pesoLordo; + this.pesoNetto = data.pesoNetto; + this.preparatoDa = data.preparatoDa; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.rigaOrd = data.rigaOrd; + } +} + +export class ImportColliEuroSilosDTO { + ingrediente?: string | null; + localColDateHour?: Date | null; + localColOnlyDate?: Date | null; + lotto?: string | null; + mSecCol?: string | null; + peso?: string | null; + reasonCol?: string | null; + ricetta?: string | null; + sP?: number | null; + silo?: string | null; + timeCol?: string | null; + userCol?: string | null; + + constructor(data: ImportColliEuroSilosDTO) { + this.ingrediente = data.ingrediente; + this.localColDateHour = data.localColDateHour; + this.localColOnlyDate = data.localColOnlyDate; + this.lotto = data.lotto; + this.mSecCol = data.mSecCol; + this.peso = data.peso; + this.reasonCol = data.reasonCol; + this.ricetta = data.ricetta; + this.sP = data.sP; + this.silo = data.silo; + this.timeCol = data.timeCol; + this.userCol = data.userCol; + } +} + +export class ImportColliMetalsistem { + barCodePallet?: string | null; + capDest?: string | null; + cittaDest?: string | null; + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + dataBolla?: Date | null; + dataFatt?: Date | null; + descrizione?: string | null; + indirizzoDest?: string | null; + macroCodice?: string | null; + numBolla?: number | null; + numCnf?: number | null; + numFatt?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + provDest?: string | null; + qta?: number | null; + qtaMacroCodice?: number | null; + ragSocDest?: string | null; + untMis?: string | null; + + constructor(data: ImportColliMetalsistem) { + this.barCodePallet = data.barCodePallet; + this.capDest = data.capDest; + this.cittaDest = data.cittaDest; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.dataBolla = data.dataBolla; + this.dataFatt = data.dataFatt; + this.descrizione = data.descrizione; + this.indirizzoDest = data.indirizzoDest; + this.macroCodice = data.macroCodice; + this.numBolla = data.numBolla; + this.numCnf = data.numCnf; + this.numFatt = data.numFatt; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.provDest = data.provDest; + this.qta = data.qta; + this.qtaMacroCodice = data.qtaMacroCodice; + this.ragSocDest = data.ragSocDest; + this.untMis = data.untMis; + } +} + +export class ImportDirectoryOperationDTO extends BaseDirectoryOperationDTO { + deleteAfterImport?: boolean | null; + directoryType?: DirectoryType | null; + format?: string | null; + password?: string | null; + profileDb?: string | null; + type?: string | null; + username?: string | null; + + constructor(data: ImportDirectoryOperationDTO) { + super(data); + this.deleteAfterImport = data.deleteAfterImport; + this.directoryType = data.directoryType; + this.format = data.format; + this.password = data.password; + this.profileDb = data.profileDb; + this.type = data.type; + this.username = data.username; + } +} + +export interface ImportFromParent extends Annotation { +} + +export class ImportLog { + dataCollo?: Date | null; + errorMsg?: string | null; + gestione?: string | null; + numCollo?: number | null; + numLista?: string | null; + numPallet?: string | null; + serCollo?: string | null; + tipoErrore?: string | null; + + constructor(data: ImportLog) { + this.dataCollo = data.dataCollo; + this.errorMsg = data.errorMsg; + this.gestione = data.gestione; + this.numCollo = data.numCollo; + this.numLista = data.numLista; + this.numPallet = data.numPallet; + this.serCollo = data.serCollo; + this.tipoErrore = data.tipoErrore; + } +} + +export class ImportMtbLisvDataDTO { + mtbLisvData?: MtbLisvData | null; + schedaCosti?: CategorieCostoProdottoDTO[] | null; + + constructor(data: ImportMtbLisvDataDTO) { + this.mtbLisvData = data.mtbLisvData; + this.schedaCosti = data.schedaCosti; + } +} + +export class ImportOrdersRequest { + orders?: RequestOrder[] | null; + + constructor(data: ImportOrdersRequest) { + this.orders = data.orders; + } +} + +export class ImportPackagingMaterialsRequest { + packaging_materials?: PackagingMaterial[] | null; + + constructor(data: ImportPackagingMaterialsRequest) { + this.packaging_materials = data.packaging_materials; + } +} + +export class ImportRawMaterialsRequest { + raw_materials?: RawMaterial[] | null; + + constructor(data: ImportRawMaterialsRequest) { + this.raw_materials = data.raw_materials; + } +} + +export class ImportRequestDTO { + dataImportazione?: Date | null; + entityBaseList?: EntityBase[] | null; + fileName?: string | null; + pathFile?: string | null; + rawContent?: any | null; + rawContentB64?: string | null; + whereCond?: string | null; + + constructor(data: ImportRequestDTO) { + this.dataImportazione = data.dataImportazione; + this.entityBaseList = data.entityBaseList; + this.fileName = data.fileName; + this.pathFile = data.pathFile; + this.rawContent = data.rawContent; + this.rawContentB64 = data.rawContentB64; + this.whereCond = data.whereCond; + } +} + +export class ImportSocialWebFidelityDocumentDTO implements Serializable { + codArt?: string | null; + codCliente?: string | null; + codDest?: string | null; + costo?: number | null; + id_ticket?: string | null; + qta?: number | null; + untMis?: string | null; + + constructor(data: ImportSocialWebFidelityDocumentDTO) { + this.codArt = data.codArt; + this.codCliente = data.codCliente; + this.codDest = data.codDest; + this.costo = data.costo; + this.id_ticket = data.id_ticket; + this.qta = data.qta; + this.untMis = data.untMis; + } +} + +export class ImportsOrdineDTO { + address_1?: string | null; + cap_fattura?: string | null; + citta_fattura?: string | null; + city?: string | null; + civico?: string | null; + civico_fattura?: string | null; + codice_fiscale?: string | null; + company?: string | null; + country_name?: string | null; + created_on?: Date | null; + customer_note?: string | null; + email?: string | null; + full_name?: string | null; + indirizzo_fattura?: string | null; + negozio_scelto?: string | null; + order_item_name?: string | null; + order_item_sku?: string | null; + order_number?: string | null; + order_payment?: number | null; + order_payment_tax?: number | null; + order_shipment?: number | null; + order_shipment_tax?: number | null; + order_status?: string | null; + order_status_name?: string | null; + order_total?: number | null; + partita_iva?: string | null; + phone_1?: string | null; + product_final_price?: number | null; + product_item_price?: number | null; + product_quantity?: number | null; + product_tax?: number | null; + provincia_fattura?: string | null; + richiesta_fattura?: string | null; + state_name?: string | null; + total_order_items?: number | null; + user_currency?: string | null; + username?: string | null; + virtuemart_order_id?: number | null; + virtuemart_paymentmethod_id?: string | null; + virtuemart_product_id?: number | null; + virtuemart_shipmentmethod_id?: string | null; + zip?: string | null; + + constructor(data: ImportsOrdineDTO) { + this.address_1 = data.address_1; + this.cap_fattura = data.cap_fattura; + this.citta_fattura = data.citta_fattura; + this.city = data.city; + this.civico = data.civico; + this.civico_fattura = data.civico_fattura; + this.codice_fiscale = data.codice_fiscale; + this.company = data.company; + this.country_name = data.country_name; + this.created_on = data.created_on; + this.customer_note = data.customer_note; + this.email = data.email; + this.full_name = data.full_name; + this.indirizzo_fattura = data.indirizzo_fattura; + this.negozio_scelto = data.negozio_scelto; + this.order_item_name = data.order_item_name; + this.order_item_sku = data.order_item_sku; + this.order_number = data.order_number; + this.order_payment = data.order_payment; + this.order_payment_tax = data.order_payment_tax; + this.order_shipment = data.order_shipment; + this.order_shipment_tax = data.order_shipment_tax; + this.order_status = data.order_status; + this.order_status_name = data.order_status_name; + this.order_total = data.order_total; + this.partita_iva = data.partita_iva; + this.phone_1 = data.phone_1; + this.product_final_price = data.product_final_price; + this.product_item_price = data.product_item_price; + this.product_quantity = data.product_quantity; + this.product_tax = data.product_tax; + this.provincia_fattura = data.provincia_fattura; + this.richiesta_fattura = data.richiesta_fattura; + this.state_name = data.state_name; + this.total_order_items = data.total_order_items; + this.user_currency = data.user_currency; + this.username = data.username; + this.virtuemart_order_id = data.virtuemart_order_id; + this.virtuemart_paymentmethod_id = data.virtuemart_paymentmethod_id; + this.virtuemart_product_id = data.virtuemart_product_id; + this.virtuemart_shipmentmethod_id = data.virtuemart_shipmentmethod_id; + this.zip = data.zip; + } +} + +export class IndexTableDTO { + clustered?: boolean | null; + columnsInclude?: string[] | null; + columnsIncludeString?: string | null; + columnsIndex?: ColumnIndex[] | null; + columnsIndexString?: string | null; + columnsWhereCondString?: string | null; + indexName?: string | null; + maxDop?: number | null; + override?: boolean | null; + sortInTempDb?: boolean | null; + tableName?: string | null; + unique?: boolean | null; + + constructor(data: IndexTableDTO) { + this.clustered = data.clustered; + this.columnsInclude = data.columnsInclude; + this.columnsIncludeString = data.columnsIncludeString; + this.columnsIndex = data.columnsIndex; + this.columnsIndexString = data.columnsIndexString; + this.columnsWhereCondString = data.columnsWhereCondString; + this.indexName = data.indexName; + this.maxDop = data.maxDop; + this.override = data.override; + this.sortInTempDb = data.sortInTempDb; + this.tableName = data.tableName; + this.unique = data.unique; + } +} + +export class IndirizzoDTO { + cap?: string | null; + citta?: string | null; + idPosizione?: number | null; + indirizzo?: string | null; + lat?: number | null; + lng?: number | null; + nazione?: string | null; + numeroCivico?: string | null; + prov?: string | null; + via?: string | null; + + constructor(data: IndirizzoDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.idPosizione = data.idPosizione; + this.indirizzo = data.indirizzo; + this.lat = data.lat; + this.lng = data.lng; + this.nazione = data.nazione; + this.numeroCivico = data.numeroCivico; + this.prov = data.prov; + this.via = data.via; + } +} + +export class InfoClieProsOut { + InfoCliePros?: InfoClieProsOutRow[] | null; + + constructor(data: InfoClieProsOut) { + this.InfoCliePros = data.InfoCliePros; + } +} + +export class InfoClieProsOutRow { + Cap?: string | null; + Citta?: string | null; + CodFisc?: string | null; + CodPproAnag?: string | null; + CodVage?: string | null; + Codice?: string | null; + Email?: string | null; + Fax?: string | null; + Indirizzo?: string | null; + Nazione?: string | null; + Note?: string | null; + PartIva?: string | null; + Prov?: string | null; + RagSoc?: string | null; + Telefono?: string | null; + Tipologia?: string | null; + indirizzo?: string | null; + + constructor(data: InfoClieProsOutRow) { + this.Cap = data.Cap; + this.Citta = data.Citta; + this.CodFisc = data.CodFisc; + this.CodPproAnag = data.CodPproAnag; + this.CodVage = data.CodVage; + this.Codice = data.Codice; + this.Email = data.Email; + this.Fax = data.Fax; + this.Indirizzo = data.Indirizzo; + this.Nazione = data.Nazione; + this.Note = data.Note; + this.PartIva = data.PartIva; + this.Prov = data.Prov; + this.RagSoc = data.RagSoc; + this.Telefono = data.Telefono; + this.Tipologia = data.Tipologia; + this.indirizzo = data.indirizzo; + } +} + +export class InfoPezziDTO { + cambio?: number | null; + codDivi?: string | null; + codPromo?: string | null; + dataAggPrz?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + descrPromo?: string | null; + maggPrzVend?: number | null; + posizione?: string | null; + przBase?: number | null; + przVend?: number | null; + przVendIva?: number | null; + rapConv?: number | null; + ricarica?: number | null; + tipoVariazione?: string | null; + untMisVend?: string | null; + versione?: number | null; + + constructor(data: InfoPezziDTO) { + this.cambio = data.cambio; + this.codDivi = data.codDivi; + this.codPromo = data.codPromo; + this.dataAggPrz = data.dataAggPrz; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.descrPromo = data.descrPromo; + this.maggPrzVend = data.maggPrzVend; + this.posizione = data.posizione; + this.przBase = data.przBase; + this.przVend = data.przVend; + this.przVendIva = data.przVendIva; + this.rapConv = data.rapConv; + this.ricarica = data.ricarica; + this.tipoVariazione = data.tipoVariazione; + this.untMisVend = data.untMisVend; + this.versione = data.versione; + } +} + +export class Ingredienti { + codIngrediente?: string | null; + descrizione?: string | null; + + constructor(data: Ingredienti) { + this.codIngrediente = data.codIngrediente; + this.descrizione = data.descrizione; + } +} + +export class InputDTO { + codDtip?: string | null; + dataFine?: string | null; + dataIniz?: string | null; + flagFile?: string | null; + tipoReg?: string | null; + + constructor(data: InputDTO) { + this.codDtip = data.codDtip; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.flagFile = data.flagFile; + this.tipoReg = data.tipoReg; + } +} + +export class InsertInventarioRequestDTO { + mtbInvent?: MtbInvent | null; + + constructor(data: InsertInventarioRequestDTO) { + this.mtbInvent = data.mtbInvent; + } +} + +export class InsertPartitaMagRequestDTO { + codJfas?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + dataScad?: Date | null; + gestione?: string | null; + note?: string | null; + numOrd?: number | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + + constructor(data: InsertPartitaMagRequestDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.gestione = data.gestione; + this.note = data.note; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + } +} + +export class InsertPromoRequestDTO { + articoli?: Articolo[] | null; + codPromo?: string | null; + dataFine?: Date | null; + dataInizio?: Date | null; + descrizione?: string | null; + listini?: string[] | null; + sovrascrivi?: boolean | null; + volantino?: boolean | null; + + constructor(data: InsertPromoRequestDTO) { + this.articoli = data.articoli; + this.codPromo = data.codPromo; + this.dataFine = data.dataFine; + this.dataInizio = data.dataInizio; + this.descrizione = data.descrizione; + this.listini = data.listini; + this.sovrascrivi = data.sovrascrivi; + this.volantino = data.volantino; + } +} + +export class InsertPromoResponseDTO { + anomalie?: AnomalieDTO[] | null; + entityBases?: EntityBase[] | null; + + constructor(data: InsertPromoResponseDTO) { + this.anomalie = data.anomalie; + this.entityBases = data.entityBases; + } +} + +export class InsertPublicationGroupRequestDTO { + description?: string | null; + + constructor(data: InsertPublicationGroupRequestDTO) { + this.description = data.description; + } +} + +export class InsertPublicationGroupResponseDTO { + id?: number | null; + + constructor(data: InsertPublicationGroupResponseDTO) { + this.id = data.id; + } +} + +export class InsertPublicationItemResponseDTO { + id?: number | null; + + constructor(data: InsertPublicationItemResponseDTO) { + this.id = data.id; + } +} + +export class InsertSubscriptionResponseDTO { + id?: number | null; + + constructor(data: InsertSubscriptionResponseDTO) { + this.id = data.id; + } +} + +export class InsertUDCRowRequestDTO { + barcode?: string | null; + codDtip?: string | null; + codJcom?: string | null; + codMart?: string | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + dataScad?: Date | null; + descrizione?: string | null; + fullName?: string | null; + gestioneRif?: string | null; + numCnf?: number | null; + numDoc?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaTot?: number | null; + rigaOrd?: number | null; + serDoc?: string | null; + targetMtbColt?: MtbColt | null; + + constructor(data: InsertUDCRowRequestDTO) { + this.barcode = data.barcode; + this.codDtip = data.codDtip; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.descrizione = data.descrizione; + this.fullName = data.fullName; + this.gestioneRif = data.gestioneRif; + this.numCnf = data.numCnf; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaTot = data.qtaTot; + this.rigaOrd = data.rigaOrd; + this.serDoc = data.serDoc; + this.targetMtbColt = data.targetMtbColt; + } +} + +export class InsertUDCRowResponseDTO { + savedMtbColr?: MtbColr | null; + + constructor(data: InsertUDCRowResponseDTO) { + this.savedMtbColr = data.savedMtbColr; + } +} + +export class InsertUDCRowsRequestDTO { + rows?: InsertUDCRowRequestDTO[] | null; + targetMtbColt?: MtbColt | null; + + constructor(data: InsertUDCRowsRequestDTO) { + this.rows = data.rows; + this.targetMtbColt = data.targetMtbColt; + } +} + +export class InsertUDCRowsResponseDTO { + savedMtbColrs?: MtbColr[] | null; + + constructor(data: InsertUDCRowsResponseDTO) { + this.savedMtbColrs = data.savedMtbColrs; + } +} + +export class InsertUDSRowRequestDTO { + barcode?: string | null; + codJcom?: string | null; + codMart?: string | null; + contrassegnoDa?: string | null; + dataOrd?: Date | null; + dataScad?: Date | null; + numCnf?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaTot?: number | null; + rigaOrd?: number | null; + sourceMtbColr?: MtbColr | null; + systemNote?: string | null; + targetMtbColt?: MtbColt | null; + + constructor(data: InsertUDSRowRequestDTO) { + this.barcode = data.barcode; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.contrassegnoDa = data.contrassegnoDa; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.numCnf = data.numCnf; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaTot = data.qtaTot; + this.rigaOrd = data.rigaOrd; + this.sourceMtbColr = data.sourceMtbColr; + this.systemNote = data.systemNote; + this.targetMtbColt = data.targetMtbColt; + } +} + +export class InsertUDSRowResponseDTO { + savedMtbColr?: MtbColr | null; + + constructor(data: InsertUDSRowResponseDTO) { + this.savedMtbColr = data.savedMtbColr; + } +} + +export class InsertUDSRowsRequestDTO { + rows?: InsertUDSRowRequestDTO[] | null; + targetMtbColt?: MtbColt | null; + + constructor(data: InsertUDSRowsRequestDTO) { + this.rows = data.rows; + this.targetMtbColt = data.targetMtbColt; + } +} + +export class InsertUDSRowsResponseDTO { + savedMtbColrs?: MtbColr[] | null; + + constructor(data: InsertUDSRowsResponseDTO) { + this.savedMtbColrs = data.savedMtbColrs; + } +} + +export class InstantItemSituationIncomingItemDTO { + codJcom?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataCons?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + gestione?: string | null; + numCnf?: number | null; + numCnfEvasa?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaEvasa?: number | null; + qtaOrd?: number | null; + rigaOrd?: number | null; + untMis?: string | null; + + constructor(data: InstantItemSituationIncomingItemDTO) { + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataCons = data.dataCons; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCnfEvasa = data.numCnfEvasa; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaEvasa = data.qtaEvasa; + this.qtaOrd = data.qtaOrd; + this.rigaOrd = data.rigaOrd; + this.untMis = data.untMis; + } +} + +export class InstantItemSituationResponseDTO { + availableItems?: MvwSitArtUdcDetInventarioDTO[] | null; + incomingItems?: InstantItemSituationIncomingItemDTO[] | null; + + constructor(data: InstantItemSituationResponseDTO) { + this.availableItems = data.availableItems; + this.incomingItems = data.incomingItems; + } +} + +export class IntegRetailDTO { + CODCASSA?: string | null; + CODMDEP?: string | null; + DATADOC?: string | null; + IDSCONTR?: string | null; + PROFILEDB?: string | null; + + constructor(data: IntegRetailDTO) { + this.CODCASSA = data.CODCASSA; + this.CODMDEP = data.CODMDEP; + this.DATADOC = data.DATADOC; + this.IDSCONTR = data.IDSCONTR; + this.PROFILEDB = data.PROFILEDB; + } +} + +export class IntegRetailRequestDTO { + dataFine?: Date | null; + dataIniz?: Date | null; + whereCond?: string | null; + + constructor(data: IntegRetailRequestDTO) { + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.whereCond = data.whereCond; + } +} + +export class InvRecord { + abbrLinea?: string | null; + alternateAlu1?: string | null; + alternateAlu2?: string | null; + alternateAlu3?: string | null; + alternateAlu4?: string | null; + alternateAlu5?: string | null; + alternateAlu6?: string | null; + alternateUpc1?: string | null; + alternateUpc2?: string | null; + alternateUpc3?: string | null; + alternateUpc4?: string | null; + alternateUpc5?: string | null; + alternateUpc6?: string | null; + alternateVC1?: string | null; + alternateVC2?: string | null; + alternateVC3?: string | null; + alternateVC4?: string | null; + alternateVC5?: string | null; + alternateVC6?: string | null; + alu?: string | null; + aux3?: string | null; + aux4?: string | null; + aux5?: string | null; + aux6?: string | null; + aux7?: string | null; + aux8?: string | null; + codCol?: string | null; + codStagione?: number | null; + cost?: number | null; + departmentCode?: string | null; + desCol?: string | null; + desc1?: string | null; + desc2?: string | null; + desc3?: string | null; + desc4?: string | null; + divisa?: string | null; + kitComp1Alu1?: string | null; + kitComp1Alu2?: string | null; + kitComp1Alu3?: string | null; + kitComp1Alu4?: string | null; + kitComp1Upc1?: string | null; + kitComp2Upc2?: string | null; + kitComp3Upc3?: string | null; + kitComp4Upc4?: string | null; + kitItemType?: string | null; + linea?: string | null; + longDescription?: string | null; + misc4?: string | null; + priceLevel1?: number | null; + priceLevel2?: number | null; + priceLevel3?: number | null; + priceLevel4?: number | null; + priceLevel5?: number | null; + priceLevel6?: number | null; + priceLevel7?: number | null; + priceLevel8?: number | null; + sbs?: string | null; + scala?: string | null; + size?: string | null; + space1?: string | null; + space2?: string | null; + space3?: string | null; + space4?: string | null; + space5?: string | null; + space6?: string | null; + space7?: string | null; + space8?: string | null; + stagione?: string | null; + taxCode?: string | null; + upc?: string | null; + vendorCode?: string | null; + + constructor(data: InvRecord) { + this.abbrLinea = data.abbrLinea; + this.alternateAlu1 = data.alternateAlu1; + this.alternateAlu2 = data.alternateAlu2; + this.alternateAlu3 = data.alternateAlu3; + this.alternateAlu4 = data.alternateAlu4; + this.alternateAlu5 = data.alternateAlu5; + this.alternateAlu6 = data.alternateAlu6; + this.alternateUpc1 = data.alternateUpc1; + this.alternateUpc2 = data.alternateUpc2; + this.alternateUpc3 = data.alternateUpc3; + this.alternateUpc4 = data.alternateUpc4; + this.alternateUpc5 = data.alternateUpc5; + this.alternateUpc6 = data.alternateUpc6; + this.alternateVC1 = data.alternateVC1; + this.alternateVC2 = data.alternateVC2; + this.alternateVC3 = data.alternateVC3; + this.alternateVC4 = data.alternateVC4; + this.alternateVC5 = data.alternateVC5; + this.alternateVC6 = data.alternateVC6; + this.alu = data.alu; + this.aux3 = data.aux3; + this.aux4 = data.aux4; + this.aux5 = data.aux5; + this.aux6 = data.aux6; + this.aux7 = data.aux7; + this.aux8 = data.aux8; + this.codCol = data.codCol; + this.codStagione = data.codStagione; + this.cost = data.cost; + this.departmentCode = data.departmentCode; + this.desCol = data.desCol; + this.desc1 = data.desc1; + this.desc2 = data.desc2; + this.desc3 = data.desc3; + this.desc4 = data.desc4; + this.divisa = data.divisa; + this.kitComp1Alu1 = data.kitComp1Alu1; + this.kitComp1Alu2 = data.kitComp1Alu2; + this.kitComp1Alu3 = data.kitComp1Alu3; + this.kitComp1Alu4 = data.kitComp1Alu4; + this.kitComp1Upc1 = data.kitComp1Upc1; + this.kitComp2Upc2 = data.kitComp2Upc2; + this.kitComp3Upc3 = data.kitComp3Upc3; + this.kitComp4Upc4 = data.kitComp4Upc4; + this.kitItemType = data.kitItemType; + this.linea = data.linea; + this.longDescription = data.longDescription; + this.misc4 = data.misc4; + this.priceLevel1 = data.priceLevel1; + this.priceLevel2 = data.priceLevel2; + this.priceLevel3 = data.priceLevel3; + this.priceLevel4 = data.priceLevel4; + this.priceLevel5 = data.priceLevel5; + this.priceLevel6 = data.priceLevel6; + this.priceLevel7 = data.priceLevel7; + this.priceLevel8 = data.priceLevel8; + this.sbs = data.sbs; + this.scala = data.scala; + this.size = data.size; + this.space1 = data.space1; + this.space2 = data.space2; + this.space3 = data.space3; + this.space4 = data.space4; + this.space5 = data.space5; + this.space6 = data.space6; + this.space7 = data.space7; + this.space8 = data.space8; + this.stagione = data.stagione; + this.taxCode = data.taxCode; + this.upc = data.upc; + this.vendorCode = data.vendorCode; + } +} + +export class Inventario { + codMdep?: string | null; + dataOrd?: Date | null; + dataReg?: Date | null; + gestione?: string | null; + inventarioRow?: InventarioRow[] | null; + numOrd?: number | null; + + constructor(data: Inventario) { + this.codMdep = data.codMdep; + this.dataOrd = data.dataOrd; + this.dataReg = data.dataReg; + this.gestione = data.gestione; + this.inventarioRow = data.inventarioRow; + this.numOrd = data.numOrd; + } +} + +export class InventarioArtDTO { + barcode?: string[] | null; + codMart?: string | null; + descrizione?: string | null; + flagQtaCnfFissa?: boolean | null; + flagTracciabilita?: boolean | null; + giacenza?: number | null; + plu?: boolean | null; + przVendIva?: number | null; + qtaCnf?: number | null; + untMis?: string | null; + untMisDigitale?: boolean | null; + + constructor(data: InventarioArtDTO) { + this.barcode = data.barcode; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagTracciabilita = data.flagTracciabilita; + this.giacenza = data.giacenza; + this.plu = data.plu; + this.przVendIva = data.przVendIva; + this.qtaCnf = data.qtaCnf; + this.untMis = data.untMis; + this.untMisDigitale = data.untMisDigitale; + } +} + +export class InventarioDTO { + dataCreate?: Date | null; + rowList?: MtbInvenr[] | null; + + constructor(data: InventarioDTO) { + this.dataCreate = data.dataCreate; + this.rowList = data.rowList; + } +} + +export class InventarioRgisDTO { + CodiceArticolo?: string | null; + Unt_Mis?: string | null; + descrizione?: string | null; + qta_inv_PZ?: string | null; + + constructor(data: InventarioRgisDTO) { + this.CodiceArticolo = data.CodiceArticolo; + this.Unt_Mis = data.Unt_Mis; + this.descrizione = data.descrizione; + this.qta_inv_PZ = data.qta_inv_PZ; + } +} + +export class InventarioRow { + codMart?: string | null; + partitaMag?: string | null; + qta?: number | null; + + constructor(data: InventarioRow) { + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + } +} + +export class InvestimentoDTO { + cod_jfas?: string | null; + cod_mdep?: string | null; + descrizione_new?: string | null; + descrizione_old?: string | null; + + constructor(data: InvestimentoDTO) { + this.cod_jfas = data.cod_jfas; + this.cod_mdep = data.cod_mdep; + this.descrizione_new = data.descrizione_new; + this.descrizione_old = data.descrizione_old; + } +} + +export class InvoiceDataDTO { + Address?: string | null; + City?: string | null; + CompanyName: string; + CountryCode?: string | null; + FiscalCode?: string | null; + PostalCode?: string | null; + VatNumber?: string | null; + + constructor(data: InvoiceDataDTO) { + this.Address = data.Address; + this.City = data.City; + this.CompanyName = data.CompanyName; + this.CountryCode = data.CountryCode; + this.FiscalCode = data.FiscalCode; + this.PostalCode = data.PostalCode; + this.VatNumber = data.VatNumber; + } +} + +export interface Iterable { +} + +export class JasperDTO { + b64ReportJrxml?: string | null; + colorScale?: number | null; + compiledJasper?: any | null; + copies?: number | null; + hashMapParams?: { [index: string]: any } | null; + height?: number | null; + javaBeans?: any[] | null; + jsonSource?: string | null; + orientation?: Orientation | null; + params?: PairsDTO[] | null; + query?: string | null; + reportId?: number | null; + reportName?: string | null; + subreports?: SubreportDTO[] | null; + typeExport?: TypeExportEnum | null; + whereCond?: string | null; + width?: number | null; + + constructor(data: JasperDTO) { + this.b64ReportJrxml = data.b64ReportJrxml; + this.colorScale = data.colorScale; + this.compiledJasper = data.compiledJasper; + this.copies = data.copies; + this.hashMapParams = data.hashMapParams; + this.height = data.height; + this.javaBeans = data.javaBeans; + this.jsonSource = data.jsonSource; + this.orientation = data.orientation; + this.params = data.params; + this.query = data.query; + this.reportId = data.reportId; + this.reportName = data.reportName; + this.subreports = data.subreports; + this.typeExport = data.typeExport; + this.whereCond = data.whereCond; + this.width = data.width; + } +} + +export class JobInfoDTO { + execCount?: number | null; + fireTime?: Date | null; + isEnabled?: boolean | null; + isRunning?: boolean | null; + jobName?: string | null; + nextFireTime?: Date | null; + profileDb?: string | null; + + constructor(data: JobInfoDTO) { + this.execCount = data.execCount; + this.fireTime = data.fireTime; + this.isEnabled = data.isEnabled; + this.isRunning = data.isRunning; + this.jobName = data.jobName; + this.nextFireTime = data.nextFireTime; + this.profileDb = data.profileDb; + } +} + +export class JrlCiclDisegni extends EntityBase { + codDisegno?: string | null; + codProd?: string | null; + qta?: number | null; + rigaOrd?: number | null; + type: "jrl_cicl_disegni"; + + constructor(data: JrlCiclDisegni) { + super(data); + this.codDisegno = data.codDisegno; + this.codProd = data.codProd; + this.qta = data.qta; + this.rigaOrd = data.rigaOrd; + } +} + +export class JrlDisOrd extends EntityBase { + codDisegno?: string | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + qta?: number | null; + rigaOrd?: number | null; + type: "jrl_dis_ord"; + + constructor(data: JrlDisOrd) { + super(data); + this.codDisegno = data.codDisegno; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.qta = data.qta; + this.rigaOrd = data.rigaOrd; + } +} + +export class JrlFasiActivityType extends EntityBase { + activityTypeId?: string | null; + codJfas?: string | null; + flagTipologia?: string | null; + type: "jrl_fasi_activity_type"; + + constructor(data: JrlFasiActivityType) { + super(data); + this.activityTypeId = data.activityTypeId; + this.codJfas = data.codJfas; + this.flagTipologia = data.flagTipologia; + } +} + +export class JrlFlavUsers extends EntityBase { + codJflav?: string | null; + flagJflavDefault?: string | null; + type: "jrl_flav_users"; + userName?: string | null; + + constructor(data: JrlFlavUsers) { + super(data); + this.codJflav = data.codJflav; + this.flagJflavDefault = data.flagJflavDefault; + this.userName = data.userName; + } +} + +export class JrlMansioneReparto extends EntityBase { + categoria?: string | null; + codJfas?: string | null; + type: "jrl_mansione_reparto"; + + constructor(data: JrlMansioneReparto) { + super(data); + this.categoria = data.categoria; + this.codJfas = data.codJfas; + } +} + +export class JrlSchmacDoc extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + idScheda?: string | null; + numDoc?: number | null; + serDoc?: string | null; + type: "jrl_schmac_doc"; + + constructor(data: JrlSchmacDoc) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.idScheda = data.idScheda; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class JtbBdgHr extends EntityBase { + codJfas?: string | null; + codMdep?: string | null; + dataBdg?: Date | null; + jtbBdgHrDet?: JtbBdgHrDet[] | null; + qtaBdg?: number | null; + qtaBdgAdeg?: number | null; + totCorrPrev?: number | null; + type: "jtb_bdg_hr"; + + constructor(data: JtbBdgHr) { + super(data); + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.dataBdg = data.dataBdg; + this.jtbBdgHrDet = data.jtbBdgHrDet; + this.qtaBdg = data.qtaBdg; + this.qtaBdgAdeg = data.qtaBdgAdeg; + this.totCorrPrev = data.totCorrPrev; + } +} + +export class JtbBdgHrDet extends EntityBase { + activityTypeId?: string | null; + codJfas?: string | null; + codMdep?: string | null; + dataBdg?: Date | null; + flagTipologia?: string | null; + ore?: number | null; + type: "jtb_bdg_hr_det"; + + constructor(data: JtbBdgHrDet) { + super(data); + this.activityTypeId = data.activityTypeId; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.dataBdg = data.dataBdg; + this.flagTipologia = data.flagTipologia; + this.ore = data.ore; + } +} + +export class JtbBdgWd extends EntityBase { + aOra?: Date | null; + codMart?: string | null; + daOra?: Date | null; + ggSett?: number | null; + qtaProd?: number | null; + type: "jtb_bdg_wd"; + + constructor(data: JtbBdgWd) { + super(data); + this.aOra = data.aOra; + this.codMart = data.codMart; + this.daOra = data.daOra; + this.ggSett = data.ggSett; + this.qtaProd = data.qtaProd; + } +} + +export class JtbCalFasce extends EntityBase { + aora?: Date | null; + codJcal?: string | null; + daOra?: Date | null; + fascia?: string | null; + ggSet?: number | null; + type: "jtb_cal_fasce"; + + constructor(data: JtbCalFasce) { + super(data); + this.aora = data.aora; + this.codJcal = data.codJcal; + this.daOra = data.daOra; + this.fascia = data.fascia; + this.ggSet = data.ggSet; + } +} + +export class JtbCalGgSet extends EntityBase { + codJcal?: string | null; + flagLavorativo?: string | null; + ggSet?: number | null; + jtbCalFasce?: JtbCalFasce[] | null; + type: "jtb_cal_gg_set"; + + constructor(data: JtbCalGgSet) { + super(data); + this.codJcal = data.codJcal; + this.flagLavorativo = data.flagLavorativo; + this.ggSet = data.ggSet; + this.jtbCalFasce = data.jtbCalFasce; + } +} + +export class JtbCalendt extends EntityBase { + codJcal?: string | null; + descrizione?: string | null; + flagAttivo?: string | null; + jtbCalGgSet?: JtbCalGgSet[] | null; + type: "jtb_calendt"; + + constructor(data: JtbCalendt) { + super(data); + this.codJcal = data.codJcal; + this.descrizione = data.descrizione; + this.flagAttivo = data.flagAttivo; + this.jtbCalGgSet = data.jtbCalGgSet; + } +} + +export class JtbCausEventi extends EntityBase { + categoria?: string | null; + codJcau?: string | null; + descrizione?: string | null; + flagInizioLav?: string | null; + flagRichiediAutoriz?: string | null; + flagRipeti?: string | null; + numPeriodo?: number | null; + periodo?: string | null; + tipoEvento?: string | null; + type: "jtb_caus_eventi"; + valore?: number | null; + + constructor(data: JtbCausEventi) { + super(data); + this.categoria = data.categoria; + this.codJcau = data.codJcau; + this.descrizione = data.descrizione; + this.flagInizioLav = data.flagInizioLav; + this.flagRichiediAutoriz = data.flagRichiediAutoriz; + this.flagRipeti = data.flagRipeti; + this.numPeriodo = data.numPeriodo; + this.periodo = data.periodo; + this.tipoEvento = data.tipoEvento; + this.valore = data.valore; + } +} + +export class JtbCicl extends EntityBase implements EquatableEntityInterface { + activityTypeId?: string | null; + altezza?: number | null; + applicationName?: string | null; + cambioDiviCont?: number | null; + caratteristica1?: string | null; + caratteristica2?: string | null; + codCq?: string | null; + codDiviCont?: string | null; + codJfas?: string | null; + codMart?: string | null; + codProd?: string | null; + costoComplessivo?: number | null; + costoProduzione?: number | null; + dataIns?: Date | null; + dataUltVar?: Date | null; + descrizione?: string | null; + descrizioneCar1?: string | null; + descrizioneCar2?: string | null; + descrizioneEstesa?: string | null; + descrizioneProd?: string | null; + excludedColumns?: string[] | null; + flagAttiva?: string | null; + flagQtaMultipla?: string | null; + flagScomposizione?: string | null; + flagTipoProd?: string | null; + flagTipologia?: string | null; + gIniz?: number | null; + ggTot?: number | null; + imgFile?: string | null; + jrlCiclDisegni?: JrlCiclDisegni[] | null; + jtbCiclCq?: JtbCiclCq[] | null; + jtbDistClavDir?: JtbDistClavDir[] | null; + jtbDistClavInd?: JtbDistClavInd[] | null; + jtbDistMate?: JtbDistMate[] | null; + larghezza?: number | null; + lottoMinOrd?: number | null; + lunghezza?: number | null; + parent?: any | null; + percCostGen?: number | null; + percRicLb?: number | null; + pesoSpec?: number | null; + prezzoBase?: number | null; + qtaAllocazione?: number | null; + qtaProd?: number | null; + queryTimeoutSeconds?: number | null; + rapConvProd?: number | null; + supplyDefault?: string | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "jtb_cicl"; + untMisProd?: string | null; + + constructor(data: JtbCicl) { + super(data); + this.activityTypeId = data.activityTypeId; + this.altezza = data.altezza; + this.applicationName = data.applicationName; + this.cambioDiviCont = data.cambioDiviCont; + this.caratteristica1 = data.caratteristica1; + this.caratteristica2 = data.caratteristica2; + this.codCq = data.codCq; + this.codDiviCont = data.codDiviCont; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.costoComplessivo = data.costoComplessivo; + this.costoProduzione = data.costoProduzione; + this.dataIns = data.dataIns; + this.dataUltVar = data.dataUltVar; + this.descrizione = data.descrizione; + this.descrizioneCar1 = data.descrizioneCar1; + this.descrizioneCar2 = data.descrizioneCar2; + this.descrizioneEstesa = data.descrizioneEstesa; + this.descrizioneProd = data.descrizioneProd; + this.excludedColumns = data.excludedColumns; + this.flagAttiva = data.flagAttiva; + this.flagQtaMultipla = data.flagQtaMultipla; + this.flagScomposizione = data.flagScomposizione; + this.flagTipoProd = data.flagTipoProd; + this.flagTipologia = data.flagTipologia; + this.gIniz = data.gIniz; + this.ggTot = data.ggTot; + this.imgFile = data.imgFile; + this.jrlCiclDisegni = data.jrlCiclDisegni; + this.jtbCiclCq = data.jtbCiclCq; + this.jtbDistClavDir = data.jtbDistClavDir; + this.jtbDistClavInd = data.jtbDistClavInd; + this.jtbDistMate = data.jtbDistMate; + this.larghezza = data.larghezza; + this.lottoMinOrd = data.lottoMinOrd; + this.lunghezza = data.lunghezza; + this.parent = data.parent; + this.percCostGen = data.percCostGen; + this.percRicLb = data.percRicLb; + this.pesoSpec = data.pesoSpec; + this.prezzoBase = data.prezzoBase; + this.qtaAllocazione = data.qtaAllocazione; + this.qtaProd = data.qtaProd; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rapConvProd = data.rapConvProd; + this.supplyDefault = data.supplyDefault; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.untMisProd = data.untMisProd; + } +} + +export class JtbCiclCq extends EntityBase { + codProd?: string | null; + controllo?: string | null; + idRiga?: number | null; + numFase?: number | null; + numRip?: number | null; + tipoValore?: TipoValore | null; + tipologia?: string | null; + type: "jtb_cicl_cq"; + valoreRif?: string | null; + + constructor(data: JtbCiclCq) { + super(data); + this.codProd = data.codProd; + this.controllo = data.controllo; + this.idRiga = data.idRiga; + this.numFase = data.numFase; + this.numRip = data.numRip; + this.tipoValore = data.tipoValore; + this.tipologia = data.tipologia; + this.valoreRif = data.valoreRif; + } +} + +export class JtbComBdg extends EntityBase { + codJcom?: string | null; + codJfas?: string | null; + idRiga?: number | null; + importoBdg?: number | null; + percBdg?: number | null; + tipoCosto?: number | null; + type: "jtb_com_bdg"; + + constructor(data: JtbComBdg) { + super(data); + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.idRiga = data.idRiga; + this.importoBdg = data.importoBdg; + this.percBdg = data.percBdg; + this.tipoCosto = data.tipoCosto; + } +} + +export class JtbComCostoStd extends EntityBase { + codJcom?: string | null; + codJfas?: string | null; + codParent?: string | null; + codProd?: string | null; + codProdPri?: string | null; + codProdRoot?: string | null; + costoManodopera?: number | null; + costoManodoperaComm?: number | null; + costoManodoperaMagaz?: number | null; + costoMateriali?: number | null; + costoSemilavorato?: number | null; + costoServizi?: number | null; + dataElaborazione?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagFoglia?: number | null; + flagPri?: string | null; + flagTipoCosto?: string | null; + hrTime?: number | null; + idRiga?: number | null; + itemId?: string | null; + livello?: number | null; + livelloPri?: number | null; + percSal?: number | null; + qtaEvasaProd?: number | null; + qtaProd?: number | null; + rapConvProd?: number | null; + risorseUmane?: number | null; + setupTime?: number | null; + tempoLavoro?: number | null; + type: "jtb_com_costo_std"; + untMisProd?: string | null; + + constructor(data: JtbComCostoStd) { + super(data); + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codParent = data.codParent; + this.codProd = data.codProd; + this.codProdPri = data.codProdPri; + this.codProdRoot = data.codProdRoot; + this.costoManodopera = data.costoManodopera; + this.costoManodoperaComm = data.costoManodoperaComm; + this.costoManodoperaMagaz = data.costoManodoperaMagaz; + this.costoMateriali = data.costoMateriali; + this.costoSemilavorato = data.costoSemilavorato; + this.costoServizi = data.costoServizi; + this.dataElaborazione = data.dataElaborazione; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagFoglia = data.flagFoglia; + this.flagPri = data.flagPri; + this.flagTipoCosto = data.flagTipoCosto; + this.hrTime = data.hrTime; + this.idRiga = data.idRiga; + this.itemId = data.itemId; + this.livello = data.livello; + this.livelloPri = data.livelloPri; + this.percSal = data.percSal; + this.qtaEvasaProd = data.qtaEvasaProd; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.risorseUmane = data.risorseUmane; + this.setupTime = data.setupTime; + this.tempoLavoro = data.tempoLavoro; + this.untMisProd = data.untMisProd; + } +} + +export class JtbComImporti extends EntityBase { + carat?: string | null; + codJcom?: string | null; + codMstp?: string | null; + codMtip?: string | null; + idRiga?: number | null; + importo?: number | null; + note?: string | null; + qta?: number | null; + type: "jtb_com_importi"; + valoreCarat?: string | null; + + constructor(data: JtbComImporti) { + super(data); + this.carat = data.carat; + this.codJcom = data.codJcom; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.idRiga = data.idRiga; + this.importo = data.importo; + this.note = data.note; + this.qta = data.qta; + this.valoreCarat = data.valoreCarat; + } +} + +export class JtbComStato extends EntityBase { + flagAttivo?: string | null; + statoCommessa?: string | null; + type: "jtb_com_stato"; + + constructor(data: JtbComStato) { + super(data); + this.flagAttivo = data.flagAttivo; + this.statoCommessa = data.statoCommessa; + } +} + +export class JtbComTipo extends EntityBase { + tipoCommessa?: string | null; + type: "jtb_com_tipo"; + + constructor(data: JtbComTipo) { + super(data); + this.tipoCommessa = data.tipoCommessa; + } +} + +export class JtbComt extends EntityBase { + cambioDivi?: number | null; + cambioDiviCont?: number | null; + cig?: string | null; + codAnag?: string | null; + codDivi?: string | null; + codDiviCont?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codJflavTec?: string | null; + codMart?: string | null; + codVage?: string | null; + codVdes?: string | null; + cup?: string | null; + dataCons?: Date | null; + dataIniziLav?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagPubblica?: string | null; + gestione?: string | null; + importo?: number | null; + indirizzoEnte?: string | null; + jrlDisOrd?: JrlDisOrd[] | null; + jtbComCostoStd?: JtbComCostoStd[] | null; + jtbComImporti?: JtbComImporti[] | null; + manuali?: string | null; + matricola?: string | null; + note?: string | null; + noteCons?: string | null; + noteTecniche?: string | null; + numOrd?: number | null; + percComp?: number | null; + precode?: string | null; + responsabileCom?: string | null; + rifComm?: string | null; + statoCommessa?: string | null; + tipoAnag?: string | null; + tipoCommessa?: string | null; + type: "jtb_comt"; + + constructor(data: JtbComt) { + super(data); + this.cambioDivi = data.cambioDivi; + this.cambioDiviCont = data.cambioDiviCont; + this.cig = data.cig; + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codDiviCont = data.codDiviCont; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codJflavTec = data.codJflavTec; + this.codMart = data.codMart; + this.codVage = data.codVage; + this.codVdes = data.codVdes; + this.cup = data.cup; + this.dataCons = data.dataCons; + this.dataIniziLav = data.dataIniziLav; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagPubblica = data.flagPubblica; + this.gestione = data.gestione; + this.importo = data.importo; + this.indirizzoEnte = data.indirizzoEnte; + this.jrlDisOrd = data.jrlDisOrd; + this.jtbComCostoStd = data.jtbComCostoStd; + this.jtbComImporti = data.jtbComImporti; + this.manuali = data.manuali; + this.matricola = data.matricola; + this.note = data.note; + this.noteCons = data.noteCons; + this.noteTecniche = data.noteTecniche; + this.numOrd = data.numOrd; + this.percComp = data.percComp; + this.precode = data.precode; + this.responsabileCom = data.responsabileCom; + this.rifComm = data.rifComm; + this.statoCommessa = data.statoCommessa; + this.tipoAnag = data.tipoAnag; + this.tipoCommessa = data.tipoCommessa; + } +} + +export class JtbDisegni extends EntityBase { + codDisegno?: string | null; + codJcom?: string | null; + codMart?: string | null; + dataDisegno?: Date | null; + descrizione?: string | null; + disegnatore?: string | null; + jtbDisegniFiles?: JtbDisegniFiles[] | null; + note?: string | null; + type: "jtb_disegni"; + + constructor(data: JtbDisegni) { + super(data); + this.codDisegno = data.codDisegno; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataDisegno = data.dataDisegno; + this.descrizione = data.descrizione; + this.disegnatore = data.disegnatore; + this.jtbDisegniFiles = data.jtbDisegniFiles; + this.note = data.note; + } +} + +export class JtbDisegniFiles extends EntityBase { + codDisegno?: string | null; + content?: string | null; + fileName?: string | null; + fileType?: string | null; + note?: string | null; + originalSize?: number | null; + parameters?: string | null; + type: "jtb_disegni_files"; + + constructor(data: JtbDisegniFiles) { + super(data); + this.codDisegno = data.codDisegno; + this.content = data.content; + this.fileName = data.fileName; + this.fileType = data.fileType; + this.note = data.note; + this.originalSize = data.originalSize; + this.parameters = data.parameters; + } +} + +export class JtbDistClavDir extends EntityBase { + activityDescription?: string | null; + activityTypeId?: string | null; + codJcosDir?: string | null; + codJfas?: string | null; + codProd?: string | null; + descrizione?: string | null; + duration?: number | null; + durationType?: string | null; + flagFasePref?: string | null; + flagTipologia?: string | null; + hrNum?: number | null; + hrTime?: number | null; + idRiga?: number | null; + jtbDistClavDirDett?: JtbDistClavDirDett[] | null; + jtbDistClavDirTempiProd?: JtbDistClavDirTempiProd[] | null; + numFase?: number | null; + qtaAllocazione?: number | null; + qtaLav?: number | null; + rapConvClav?: number | null; + setupTime?: number | null; + timeType?: string | null; + type: "jtb_dist_clav_dir"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: JtbDistClavDir) { + super(data); + this.activityDescription = data.activityDescription; + this.activityTypeId = data.activityTypeId; + this.codJcosDir = data.codJcosDir; + this.codJfas = data.codJfas; + this.codProd = data.codProd; + this.descrizione = data.descrizione; + this.duration = data.duration; + this.durationType = data.durationType; + this.flagFasePref = data.flagFasePref; + this.flagTipologia = data.flagTipologia; + this.hrNum = data.hrNum; + this.hrTime = data.hrTime; + this.idRiga = data.idRiga; + this.jtbDistClavDirDett = data.jtbDistClavDirDett; + this.jtbDistClavDirTempiProd = data.jtbDistClavDirTempiProd; + this.numFase = data.numFase; + this.qtaAllocazione = data.qtaAllocazione; + this.qtaLav = data.qtaLav; + this.rapConvClav = data.rapConvClav; + this.setupTime = data.setupTime; + this.timeType = data.timeType; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class JtbDistClavDirDett extends EntityBase { + activityTypeId?: string | null; + codProd?: string | null; + flagTipologia?: string | null; + gIniz?: number | null; + hrNum?: number | null; + hrTime?: number | null; + idRiga?: number | null; + idRigaAct?: number | null; + note?: string | null; + timeType?: string | null; + type: "jtb_dist_clav_dir_dett"; + + constructor(data: JtbDistClavDirDett) { + super(data); + this.activityTypeId = data.activityTypeId; + this.codProd = data.codProd; + this.flagTipologia = data.flagTipologia; + this.gIniz = data.gIniz; + this.hrNum = data.hrNum; + this.hrTime = data.hrTime; + this.idRiga = data.idRiga; + this.idRigaAct = data.idRigaAct; + this.note = data.note; + this.timeType = data.timeType; + } +} + +export class JtbDistClavDirTempiProd extends EntityBase { + codJfas?: string | null; + codProd?: string | null; + duration?: number | null; + idRiga?: number | null; + type: "jtb_dist_clav_dir_tempi_prod"; + + constructor(data: JtbDistClavDirTempiProd) { + super(data); + this.codJfas = data.codJfas; + this.codProd = data.codProd; + this.duration = data.duration; + this.idRiga = data.idRiga; + } +} + +export class JtbDistClavInd extends EntityBase { + codJcosInd?: string | null; + codProd?: string | null; + descrizione?: string | null; + idRiga?: number | null; + percCost?: number | null; + type: "jtb_dist_clav_ind"; + + constructor(data: JtbDistClavInd) { + super(data); + this.codJcosInd = data.codJcosInd; + this.codProd = data.codProd; + this.descrizione = data.descrizione; + this.idRiga = data.idRiga; + this.percCost = data.percCost; + } +} + +export class JtbDistMate extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codMart?: string | null; + codProd?: string | null; + cod_prod_pri?: string | null; + costoUnt?: number | null; + dataUltMod?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + excludedColumns?: string[] | null; + flagPri?: string | null; + idRiga?: number | null; + modificatoDa?: string | null; + note?: string | null; + numFase?: number | null; + parent?: any | null; + percSfrido?: number | null; + qtaStd?: number | null; + queryTimeoutSeconds?: number | null; + rapConvDist?: number | null; + rifProgetto?: string | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "jtb_dist_mate"; + untMisDist?: string | null; + + constructor(data: JtbDistMate) { + super(data); + this.applicationName = data.applicationName; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.cod_prod_pri = data.cod_prod_pri; + this.costoUnt = data.costoUnt; + this.dataUltMod = data.dataUltMod; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.excludedColumns = data.excludedColumns; + this.flagPri = data.flagPri; + this.idRiga = data.idRiga; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.numFase = data.numFase; + this.parent = data.parent; + this.percSfrido = data.percSfrido; + this.qtaStd = data.qtaStd; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rapConvDist = data.rapConvDist; + this.rifProgetto = data.rifProgetto; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.untMisDist = data.untMisDist; + } +} + +export class JtbFasi extends EntityBase { + codJCal?: string | null; + codJfas?: string | null; + codJfasParent?: string | null; + codMdepLav?: string | null; + codMfas?: string | null; + descrizEstesa?: string | null; + descrizione?: string | null; + flagAttivo?: string | null; + flagCheck?: string | null; + flagTipologia?: string | null; + idJfas?: string | null; + maxAllocazione?: number | null; + pathIcona?: string | null; + prodStd?: number | null; + progressivoSscc?: number | null; + tipoProd?: string | null; + type: "jtb_fasi"; + umAllocazione?: string | null; + umProd?: string | null; + + constructor(data: JtbFasi) { + super(data); + this.codJCal = data.codJCal; + this.codJfas = data.codJfas; + this.codJfasParent = data.codJfasParent; + this.codMdepLav = data.codMdepLav; + this.codMfas = data.codMfas; + this.descrizEstesa = data.descrizEstesa; + this.descrizione = data.descrizione; + this.flagAttivo = data.flagAttivo; + this.flagCheck = data.flagCheck; + this.flagTipologia = data.flagTipologia; + this.idJfas = data.idJfas; + this.maxAllocazione = data.maxAllocazione; + this.pathIcona = data.pathIcona; + this.prodStd = data.prodStd; + this.progressivoSscc = data.progressivoSscc; + this.tipoProd = data.tipoProd; + this.umAllocazione = data.umAllocazione; + this.umProd = data.umProd; + } +} + +export class JtbFasiAtt extends EntityBase { + codJfas?: string | null; + datetimeEnd?: Date | null; + datetimeStart?: Date | null; + listaOrd?: string | null; + qtaAllocate?: number | null; + type: "jtb_fasi_att"; + + constructor(data: JtbFasiAtt) { + super(data); + this.codJfas = data.codJfas; + this.datetimeEnd = data.datetimeEnd; + this.datetimeStart = data.datetimeStart; + this.listaOrd = data.listaOrd; + this.qtaAllocate = data.qtaAllocate; + } +} + +export class JtbFasiCosti extends EntityBase { + anno?: number | null; + codJfas?: string | null; + costo?: number | null; + dataCalc?: Date | null; + mese?: number | null; + note?: string | null; + type: "jtb_fasi_costi"; + + constructor(data: JtbFasiCosti) { + super(data); + this.anno = data.anno; + this.codJfas = data.codJfas; + this.costo = data.costo; + this.dataCalc = data.dataCalc; + this.mese = data.mese; + this.note = data.note; + } +} + +export class JtbFasiImpMesi extends EntityBase { + anno?: number | null; + codJfas?: string | null; + costoBudget?: number | null; + id?: number | null; + importoMensile?: number | null; + importoUnitario?: number | null; + jtbFasiImpMesiDett?: JtbFasiImpMesiDett[] | null; + mese?: number | null; + type: "jtb_fasi_imp_mesi"; + voceCostoRicavo?: string | null; + + constructor(data: JtbFasiImpMesi) { + super(data); + this.anno = data.anno; + this.codJfas = data.codJfas; + this.costoBudget = data.costoBudget; + this.id = data.id; + this.importoMensile = data.importoMensile; + this.importoUnitario = data.importoUnitario; + this.jtbFasiImpMesiDett = data.jtbFasiImpMesiDett; + this.mese = data.mese; + this.voceCostoRicavo = data.voceCostoRicavo; + } +} + +export class JtbFasiImpMesiDett extends EntityBase { + codCcon?: string | null; + costoDettaglio?: number | null; + idFasiImpMesi?: number | null; + type: "jtb_fasi_imp_mesi_dett"; + + constructor(data: JtbFasiImpMesiDett) { + super(data); + this.codCcon = data.codCcon; + this.costoDettaglio = data.costoDettaglio; + this.idFasiImpMesi = data.idFasiImpMesi; + } +} + +export class JtbFlav extends EntityBase { + activityTypeId?: string | null; + altreMansioni?: string | null; + attestati?: string | null; + badge?: string | null; + cambioDiviCont?: number | null; + cap?: string | null; + categoria?: string | null; + codDiviCont?: string | null; + codIntercode?: string | null; + codJcal?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codJfle?: string | null; + codiceFiscale?: string | null; + cognome?: string | null; + comune?: string | null; + comuneNascita?: string | null; + costoOrd?: number | null; + costoStra?: number | null; + costoTrasfG?: number | null; + costoViag?: number | null; + dataAssunz?: Date | null; + dataFineLavoro?: Date | null; + dataInizLav?: Date | null; + dataNascita?: Date | null; + eMail?: string | null; + flagAutoMunito?: string | null; + flagCapoReparto?: string | null; + flagCdl?: string | null; + iban?: string | null; + idFlav?: string | null; + incarico?: string | null; + indennita?: number | null; + indirizzo?: string | null; + jtbFlavEventi?: JtbFlavEventi[] | null; + livello?: string | null; + nome?: string | null; + note?: string | null; + numCiv?: string | null; + numTelefono?: string | null; + oreContrat?: number | null; + password?: string | null; + patente?: string | null; + precode?: string | null; + sesso?: string | null; + statoCivile?: string | null; + tipoContratto?: string | null; + titoloStudio?: string | null; + totOreSett?: number | null; + type: "jtb_flav"; + + constructor(data: JtbFlav) { + super(data); + this.activityTypeId = data.activityTypeId; + this.altreMansioni = data.altreMansioni; + this.attestati = data.attestati; + this.badge = data.badge; + this.cambioDiviCont = data.cambioDiviCont; + this.cap = data.cap; + this.categoria = data.categoria; + this.codDiviCont = data.codDiviCont; + this.codIntercode = data.codIntercode; + this.codJcal = data.codJcal; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codJfle = data.codJfle; + this.codiceFiscale = data.codiceFiscale; + this.cognome = data.cognome; + this.comune = data.comune; + this.comuneNascita = data.comuneNascita; + this.costoOrd = data.costoOrd; + this.costoStra = data.costoStra; + this.costoTrasfG = data.costoTrasfG; + this.costoViag = data.costoViag; + this.dataAssunz = data.dataAssunz; + this.dataFineLavoro = data.dataFineLavoro; + this.dataInizLav = data.dataInizLav; + this.dataNascita = data.dataNascita; + this.eMail = data.eMail; + this.flagAutoMunito = data.flagAutoMunito; + this.flagCapoReparto = data.flagCapoReparto; + this.flagCdl = data.flagCdl; + this.iban = data.iban; + this.idFlav = data.idFlav; + this.incarico = data.incarico; + this.indennita = data.indennita; + this.indirizzo = data.indirizzo; + this.jtbFlavEventi = data.jtbFlavEventi; + this.livello = data.livello; + this.nome = data.nome; + this.note = data.note; + this.numCiv = data.numCiv; + this.numTelefono = data.numTelefono; + this.oreContrat = data.oreContrat; + this.password = data.password; + this.patente = data.patente; + this.precode = data.precode; + this.sesso = data.sesso; + this.statoCivile = data.statoCivile; + this.tipoContratto = data.tipoContratto; + this.titoloStudio = data.titoloStudio; + this.totOreSett = data.totOreSett; + } +} + +export class JtbFlavEventi extends EntityBase { + autorizzatoDa?: string | null; + categoria?: string | null; + codJcau?: string | null; + codJflav?: string | null; + dataAutoriz?: Date | null; + dataEvento?: Date | null; + dataIns?: Date | null; + dataMod?: Date | null; + flagAutorizza?: string | null; + ggFerie?: number | null; + inseritoDa?: string | null; + modificatoDa?: string | null; + note?: string | null; + totOreSett?: number | null; + type: "jtb_flav_eventi"; + valIndennita?: number | null; + valPagaBase?: number | null; + valUnaTantum?: number | null; + + constructor(data: JtbFlavEventi) { + super(data); + this.autorizzatoDa = data.autorizzatoDa; + this.categoria = data.categoria; + this.codJcau = data.codJcau; + this.codJflav = data.codJflav; + this.dataAutoriz = data.dataAutoriz; + this.dataEvento = data.dataEvento; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.flagAutorizza = data.flagAutorizza; + this.ggFerie = data.ggFerie; + this.inseritoDa = data.inseritoDa; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.totOreSett = data.totOreSett; + this.valIndennita = data.valIndennita; + this.valPagaBase = data.valPagaBase; + this.valUnaTantum = data.valUnaTantum; + } +} + +export class JtbGiustifica extends EntityBase { + codIntercode?: string | null; + flagAttivo?: string | null; + flagFerie?: string | null; + flagPermesso?: boolean | null; + flagRecupero?: string | null; + giustificativo?: string | null; + jtbGiustificaRow?: JtbGiustificaRow[] | null; + percPaga?: number | null; + type: "jtb_giustifica"; + + constructor(data: JtbGiustifica) { + super(data); + this.codIntercode = data.codIntercode; + this.flagAttivo = data.flagAttivo; + this.flagFerie = data.flagFerie; + this.flagPermesso = data.flagPermesso; + this.flagRecupero = data.flagRecupero; + this.giustificativo = data.giustificativo; + this.jtbGiustificaRow = data.jtbGiustificaRow; + this.percPaga = data.percPaga; + } +} + +export class JtbGiustificaRow extends EntityBase { + aGg?: number | null; + daGg?: number | null; + giustificativo?: string | null; + percPaga?: number | null; + type: "jtb_giustifica_row"; + + constructor(data: JtbGiustificaRow) { + super(data); + this.aGg = data.aGg; + this.daGg = data.daGg; + this.giustificativo = data.giustificativo; + this.percPaga = data.percPaga; + } +} + +export class JtbLotr extends EntityBase { + codJfas?: string | null; + dataOrd?: Date | null; + gestione?: string | null; + idLotto?: number | null; + idRiga?: number | null; + numOrd?: number | null; + type: "jtb_lotr"; + + constructor(data: JtbLotr) { + super(data); + this.codJfas = data.codJfas; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.idLotto = data.idLotto; + this.idRiga = data.idRiga; + this.numOrd = data.numOrd; + } +} + +export class JtbLott extends EntityBase { + codJfas?: string | null; + codJflav?: string | null; + dataChiusura?: Date | null; + dataLotto?: Date | null; + flagComp?: string | null; + idLotto?: number | null; + jtbLotr?: JtbLotr[] | null; + tipoLotto?: string | null; + type: "jtb_lott"; + + constructor(data: JtbLott) { + super(data); + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.dataChiusura = data.dataChiusura; + this.dataLotto = data.dataLotto; + this.flagComp = data.flagComp; + this.idLotto = data.idLotto; + this.jtbLotr = data.jtbLotr; + this.tipoLotto = data.tipoLotto; + } +} + +export class JtbMansioni extends EntityBase { + categoria?: string | null; + jrlMansioneReparto?: JrlMansioneReparto[] | null; + type: "jtb_mansioni"; + + constructor(data: JtbMansioni) { + super(data); + this.categoria = data.categoria; + this.jrlMansioneReparto = data.jrlMansioneReparto; + } +} + +export class JtbOffr extends EntityBase { + annoOff?: number | null; + codArtForn?: string | null; + codJcom?: string | null; + codMart?: string | null; + codSpes?: string | null; + dataCons?: Date | null; + dataScadRichOff?: Date | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + note?: string | null; + numOff?: number | null; + qtaCnf?: number | null; + qtaOff?: number | null; + qtaProd?: number | null; + rapConv?: number | null; + rapConvProd?: number | null; + rigaOff?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + statoRichiesta?: number | null; + type: "jtb_offr"; + untMis?: string | null; + untMisProd?: string | null; + valBaseAsta?: number | null; + valUnt?: number | null; + + constructor(data: JtbOffr) { + super(data); + this.annoOff = data.annoOff; + this.codArtForn = data.codArtForn; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codSpes = data.codSpes; + this.dataCons = data.dataCons; + this.dataScadRichOff = data.dataScadRichOff; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.note = data.note; + this.numOff = data.numOff; + this.qtaCnf = data.qtaCnf; + this.qtaOff = data.qtaOff; + this.qtaProd = data.qtaProd; + this.rapConv = data.rapConv; + this.rapConvProd = data.rapConvProd; + this.rigaOff = data.rigaOff; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.statoRichiesta = data.statoRichiesta; + this.untMis = data.untMis; + this.untMisProd = data.untMisProd; + this.valBaseAsta = data.valBaseAsta; + this.valUnt = data.valUnt; + } +} + +export class JtbOfft extends EntityBase { + annoOff?: number | null; + cap?: string | null; + citta?: string | null; + codAnag?: string | null; + codDivi?: string | null; + codFisc?: string | null; + compilatoDa?: string | null; + dataOff?: Date | null; + eMail?: string | null; + fax?: string | null; + indirizzo?: string | null; + jtbOffr?: JtbOffr[] | null; + nazione?: string | null; + note?: string | null; + numOff?: number | null; + partIva?: string | null; + personaRif?: string | null; + prov?: string | null; + ragSoc?: string | null; + rifFabbisogno?: string | null; + rifOfferta?: string | null; + telefono?: string | null; + type: "jtb_offt"; + + constructor(data: JtbOfft) { + super(data); + this.annoOff = data.annoOff; + this.cap = data.cap; + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codFisc = data.codFisc; + this.compilatoDa = data.compilatoDa; + this.dataOff = data.dataOff; + this.eMail = data.eMail; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.jtbOffr = data.jtbOffr; + this.nazione = data.nazione; + this.note = data.note; + this.numOff = data.numOff; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.rifFabbisogno = data.rifFabbisogno; + this.rifOfferta = data.rifOfferta; + this.telefono = data.telefono; + } +} + +export class JtbPianoMac extends EntityBase { + codLavoraz?: string | null; + dataPiano?: Date | null; + flagEtichetta?: string | null; + lotto?: string | null; + numCnfPrev?: number | null; + numLotto?: number | null; + type: "jtb_piano_mac"; + + constructor(data: JtbPianoMac) { + super(data); + this.codLavoraz = data.codLavoraz; + this.dataPiano = data.dataPiano; + this.flagEtichetta = data.flagEtichetta; + this.lotto = data.lotto; + this.numCnfPrev = data.numCnfPrev; + this.numLotto = data.numLotto; + } +} + +export class JtbRLavr extends EntityBase { + aOra?: Date | null; + activityId?: string | null; + activityTypeId?: string | null; + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codMart?: string | null; + codMtip?: string | null; + costoOra?: number | null; + daOra?: Date | null; + dataIns?: Date | null; + dataLav?: Date | null; + dataMod?: Date | null; + flagSospeso?: string | null; + flagTipoTempo?: number | null; + flagTipologia?: string | null; + idLotto?: number | null; + idPosizione?: number | null; + idRiga?: number | null; + inseritoDa?: string | null; + lat?: number | null; + lng?: number | null; + matricola?: string | null; + modificatoDa?: string | null; + note?: string | null; + numRisorse?: number | null; + oraFine?: string | null; + oraIniz?: string | null; + ore?: number | null; + qtaProd?: number | null; + tipoOrelav?: string | null; + type: "jtb_rlavr"; + + constructor(data: JtbRLavr) { + super(data); + this.aOra = data.aOra; + this.activityId = data.activityId; + this.activityTypeId = data.activityTypeId; + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codMart = data.codMart; + this.codMtip = data.codMtip; + this.costoOra = data.costoOra; + this.daOra = data.daOra; + this.dataIns = data.dataIns; + this.dataLav = data.dataLav; + this.dataMod = data.dataMod; + this.flagSospeso = data.flagSospeso; + this.flagTipoTempo = data.flagTipoTempo; + this.flagTipologia = data.flagTipologia; + this.idLotto = data.idLotto; + this.idPosizione = data.idPosizione; + this.idRiga = data.idRiga; + this.inseritoDa = data.inseritoDa; + this.lat = data.lat; + this.lng = data.lng; + this.matricola = data.matricola; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.numRisorse = data.numRisorse; + this.oraFine = data.oraFine; + this.oraIniz = data.oraIniz; + this.ore = data.ore; + this.qtaProd = data.qtaProd; + this.tipoOrelav = data.tipoOrelav; + } +} + +export class JtbRLavt extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codJflav?: string | null; + controllatoDa?: string | null; + costoTrasf?: number | null; + dataControllo?: Date | null; + dataEsportazione?: Date | null; + dataIns?: Date | null; + dataLav?: Date | null; + dataMod?: Date | null; + esportatoDa?: string | null; + flagIndennita?: string | null; + flagTrasferta?: string | null; + flagTrasfertaEstera?: string | null; + giustificativo?: string | null; + inseritoDa?: string | null; + jtbRlavr?: JtbRLavr[] | null; + modificatoDa?: string | null; + note?: string | null; + oreAssenza?: number | null; + percPaga?: number | null; + type: "jtb_rlavt"; + + constructor(data: JtbRLavt) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codJflav = data.codJflav; + this.controllatoDa = data.controllatoDa; + this.costoTrasf = data.costoTrasf; + this.dataControllo = data.dataControllo; + this.dataEsportazione = data.dataEsportazione; + this.dataIns = data.dataIns; + this.dataLav = data.dataLav; + this.dataMod = data.dataMod; + this.esportatoDa = data.esportatoDa; + this.flagIndennita = data.flagIndennita; + this.flagTrasferta = data.flagTrasferta; + this.flagTrasfertaEstera = data.flagTrasfertaEstera; + this.giustificativo = data.giustificativo; + this.inseritoDa = data.inseritoDa; + this.jtbRlavr = data.jtbRlavr; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.oreAssenza = data.oreAssenza; + this.percPaga = data.percPaga; + } +} + +export class JtbRicorrenze extends EntityBase { + anno?: number | null; + compleanno?: boolean | null; + data?: Date | null; + descrizione?: string | null; + flagReply?: string | null; + isCompleanno?: boolean | null; + type: "jtb_ricorrenze"; + + constructor(data: JtbRicorrenze) { + super(data); + this.anno = data.anno; + this.compleanno = data.compleanno; + this.data = data.data; + this.descrizione = data.descrizione; + this.flagReply = data.flagReply; + this.isCompleanno = data.isCompleanno; + } +} + +export class JtbSchedaCq extends EntityBase { + codCq?: string | null; + descrizione?: string | null; + jtbSchedaCqr?: JtbSchedaCqr[] | null; + keyFunction?: string | null; + type: "jtb_scheda_cq"; + + constructor(data: JtbSchedaCq) { + super(data); + this.codCq = data.codCq; + this.descrizione = data.descrizione; + this.jtbSchedaCqr = data.jtbSchedaCqr; + this.keyFunction = data.keyFunction; + } +} + +export class JtbSchedaCqr extends EntityBase { + codCq?: string | null; + controllo?: string | null; + idRiga?: number | null; + numRip?: number | null; + type: "jtb_scheda_cqr"; + valoreRif?: string | null; + + constructor(data: JtbSchedaCqr) { + super(data); + this.codCq = data.codCq; + this.controllo = data.controllo; + this.idRiga = data.idRiga; + this.numRip = data.numRip; + this.valoreRif = data.valoreRif; + } +} + +export class JtbSchedaScompr extends EntityBase { + codMart?: string | null; + idRiga?: number | null; + idScheda?: string | null; + numMart?: number | null; + partitaMag?: string | null; + qtaMart?: number | null; + tipologia?: string | null; + type: "jtb_scheda_scompr"; + + constructor(data: JtbSchedaScompr) { + super(data); + this.codMart = data.codMart; + this.idRiga = data.idRiga; + this.idScheda = data.idScheda; + this.numMart = data.numMart; + this.partitaMag = data.partitaMag; + this.qtaMart = data.qtaMart; + this.tipologia = data.tipologia; + } +} + +export class JtbSchedaScompt extends EntityBase { + codLavoraz?: string | null; + codProd?: string | null; + dataScheda?: Date | null; + flagRegistrato?: string | null; + idScheda?: string | null; + idSchedaAcc?: string | null; + jtbSchedaScompr?: JtbSchedaScompr[] | null; + numProdLav?: number | null; + partitaMagProd?: string | null; + qtaProdLav?: number | null; + type: "jtb_scheda_scompt"; + + constructor(data: JtbSchedaScompt) { + super(data); + this.codLavoraz = data.codLavoraz; + this.codProd = data.codProd; + this.dataScheda = data.dataScheda; + this.flagRegistrato = data.flagRegistrato; + this.idScheda = data.idScheda; + this.idSchedaAcc = data.idSchedaAcc; + this.jtbSchedaScompr = data.jtbSchedaScompr; + this.numProdLav = data.numProdLav; + this.partitaMagProd = data.partitaMagProd; + this.qtaProdLav = data.qtaProdLav; + } +} + +export class JtbSforn extends EntityBase { + codAnag?: string | null; + codDivi?: string | null; + type: "jtb_sforn"; + + constructor(data: JtbSforn) { + super(data); + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + } +} + +export class JtbSlist extends EntityBase { + aAltezza?: number | null; + aLarghezza?: number | null; + aLunghezza?: number | null; + aQta?: number | null; + codAnag?: string | null; + codProd?: string | null; + codSpes?: string | null; + criterioProd?: string | null; + daAltezza?: number | null; + daLarghezza?: number | null; + daLunghezza?: number | null; + daQta?: number | null; + flagFornPref?: string | null; + idRiga?: number | null; + qta?: number | null; + tipoAzione?: string | null; + type: "jtb_slist"; + untMisServ?: string | null; + valUnt?: number | null; + + constructor(data: JtbSlist) { + super(data); + this.aAltezza = data.aAltezza; + this.aLarghezza = data.aLarghezza; + this.aLunghezza = data.aLunghezza; + this.aQta = data.aQta; + this.codAnag = data.codAnag; + this.codProd = data.codProd; + this.codSpes = data.codSpes; + this.criterioProd = data.criterioProd; + this.daAltezza = data.daAltezza; + this.daLarghezza = data.daLarghezza; + this.daLunghezza = data.daLunghezza; + this.daQta = data.daQta; + this.flagFornPref = data.flagFornPref; + this.idRiga = data.idRiga; + this.qta = data.qta; + this.tipoAzione = data.tipoAzione; + this.untMisServ = data.untMisServ; + this.valUnt = data.valUnt; + } +} + +export class JtbSlistProd extends EntityBase { + codAnag?: string | null; + codMart?: string | null; + codProd?: string | null; + codSpes?: string | null; + idRiga?: number | null; + type: "jtb_slist_prod"; + + constructor(data: JtbSlistProd) { + super(data); + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.codSpes = data.codSpes; + this.idRiga = data.idRiga; + } +} + +export class JtbStrCosti extends EntityBase { + codFiltro?: string | null; + codStrCosti?: string | null; + descrizione?: string | null; + type: "jtb_str_costi"; + + constructor(data: JtbStrCosti) { + super(data); + this.codFiltro = data.codFiltro; + this.codStrCosti = data.codStrCosti; + this.descrizione = data.descrizione; + } +} + +export class JtbStrCostir extends EntityBase { + codJcosDir?: string | null; + codJcosInd?: string | null; + codStrCosti?: string | null; + descrizione?: string | null; + idRiga?: number | null; + numFase?: number | null; + qtaLav?: number | null; + rapConv?: number | null; + tipoCalc?: string | null; + type: "jtb_str_costir"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: JtbStrCostir) { + super(data); + this.codJcosDir = data.codJcosDir; + this.codJcosInd = data.codJcosInd; + this.codStrCosti = data.codStrCosti; + this.descrizione = data.descrizione; + this.idRiga = data.idRiga; + this.numFase = data.numFase; + this.qtaLav = data.qtaLav; + this.rapConv = data.rapConv; + this.tipoCalc = data.tipoCalc; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class LancioProduzione { + codForn?: string | null; + numFase?: number | null; + prodotti?: string[] | null; + + constructor(data: LancioProduzione) { + this.codForn = data.codForn; + this.numFase = data.numFase; + this.prodotti = data.prodotti; + } +} + +export class LaranciaClienteDTO { + address_1?: string | null; + address_type?: string | null; + address_type_name?: string | null; + carta_fidelity?: string | null; + city?: string | null; + civico?: string | null; + datanascita?: string | null; + email?: string | null; + first_name?: string | null; + last_name?: string | null; + name?: string | null; + password?: string | null; + phone_1?: string | null; + sesso?: string | null; + usergroup_name?: string | null; + username?: string | null; + zip?: string | null; + + constructor(data: LaranciaClienteDTO) { + this.address_1 = data.address_1; + this.address_type = data.address_type; + this.address_type_name = data.address_type_name; + this.carta_fidelity = data.carta_fidelity; + this.city = data.city; + this.civico = data.civico; + this.datanascita = data.datanascita; + this.email = data.email; + this.first_name = data.first_name; + this.last_name = data.last_name; + this.name = data.name; + this.password = data.password; + this.phone_1 = data.phone_1; + this.sesso = data.sesso; + this.usergroup_name = data.usergroup_name; + this.username = data.username; + this.zip = data.zip; + } +} + +export class LaranciaProdottoDTO { + category_path?: string | null; + colore?: string | null; + file_description?: string | null; + file_meta?: string | null; + file_ordering?: string | null; + file_title?: string | null; + file_url?: string | null; + file_url_thumb?: string | null; + manufacturer_name?: string | null; + multi_variant_fields?: string | null; + multi_variant_title?: string | null; + product_desc?: string | null; + product_discount_id?: string | null; + product_in_stock?: number | null; + product_mpn?: string | null; + product_name?: string | null; + product_override_price?: number | null; + product_parent_sku?: string | null; + product_price?: number | null; + product_s_desc?: string | null; + product_sku?: string | null; + product_tax_id?: string | null; + published?: string | null; + taglia?: string | null; + + constructor(data: LaranciaProdottoDTO) { + this.category_path = data.category_path; + this.colore = data.colore; + this.file_description = data.file_description; + this.file_meta = data.file_meta; + this.file_ordering = data.file_ordering; + this.file_title = data.file_title; + this.file_url = data.file_url; + this.file_url_thumb = data.file_url_thumb; + this.manufacturer_name = data.manufacturer_name; + this.multi_variant_fields = data.multi_variant_fields; + this.multi_variant_title = data.multi_variant_title; + this.product_desc = data.product_desc; + this.product_discount_id = data.product_discount_id; + this.product_in_stock = data.product_in_stock; + this.product_mpn = data.product_mpn; + this.product_name = data.product_name; + this.product_override_price = data.product_override_price; + this.product_parent_sku = data.product_parent_sku; + this.product_price = data.product_price; + this.product_s_desc = data.product_s_desc; + this.product_sku = data.product_sku; + this.product_tax_id = data.product_tax_id; + this.published = data.published; + this.taglia = data.taglia; + } +} + +export class LatLng { + lat?: number | null; + lng?: number | null; + + constructor(data: LatLng) { + this.lat = data.lat; + this.lng = data.lng; + } +} + +export class LavorazioneOliveCaratDTO { + caratResa?: string | null; + caratTemperatura?: string | null; + codMart?: string | null; + partitaMag?: string | null; + valoreResa?: string | null; + valoreTemperatura?: string | null; + + constructor(data: LavorazioneOliveCaratDTO) { + this.caratResa = data.caratResa; + this.caratTemperatura = data.caratTemperatura; + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + this.valoreResa = data.valoreResa; + this.valoreTemperatura = data.valoreTemperatura; + } +} + +export class LavorazioneOliveDTO { + codAnagOld?: string | null; + codDtipOld?: string | null; + codMartAvvinamento?: string | null; + codMartOlive?: string | null; + codMdep?: string | null; + codProdOlio?: string | null; + dataDocOld?: Date | null; + dataReg?: Date | null; + docProdOlio?: OlioProductionDTO | null; + isCausaleContoTerzi?: string | null; + lavorazioneOliveCarat?: LavorazioneOliveCaratDTO[] | null; + lavorazioneOliveDett?: LavorazioneOliveDettDTO[] | null; + numDocOld?: number | null; + operation?: OperationType | null; + partitaMagOlio?: string | null; + partitaMagOlive?: string | null; + qtaOlive?: number | null; + qtaProdOlio?: number | null; + ragSocFornOlive?: string | null; + serDocOld?: string | null; + untMisOlio?: string | null; + untMisOlive?: string | null; + + constructor(data: LavorazioneOliveDTO) { + this.codAnagOld = data.codAnagOld; + this.codDtipOld = data.codDtipOld; + this.codMartAvvinamento = data.codMartAvvinamento; + this.codMartOlive = data.codMartOlive; + this.codMdep = data.codMdep; + this.codProdOlio = data.codProdOlio; + this.dataDocOld = data.dataDocOld; + this.dataReg = data.dataReg; + this.docProdOlio = data.docProdOlio; + this.isCausaleContoTerzi = data.isCausaleContoTerzi; + this.lavorazioneOliveCarat = data.lavorazioneOliveCarat; + this.lavorazioneOliveDett = data.lavorazioneOliveDett; + this.numDocOld = data.numDocOld; + this.operation = data.operation; + this.partitaMagOlio = data.partitaMagOlio; + this.partitaMagOlive = data.partitaMagOlive; + this.qtaOlive = data.qtaOlive; + this.qtaProdOlio = data.qtaProdOlio; + this.ragSocFornOlive = data.ragSocFornOlive; + this.serDocOld = data.serDocOld; + this.untMisOlio = data.untMisOlio; + this.untMisOlive = data.untMisOlive; + } +} + +export class LavorazioneOliveDettDTO { + codMart?: string | null; + partitaMag?: string | null; + qta?: number | null; + untMis?: string | null; + + constructor(data: LavorazioneOliveDettDTO) { + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + this.untMis = data.untMis; + } +} + +export class LicenseStatusDTO { + expiringDate?: Date | null; + partIva?: string | null; + quality?: Quality | null; + status?: Status | null; + + constructor(data: LicenseStatusDTO) { + this.expiringDate = data.expiringDate; + this.partIva = data.partIva; + this.quality = data.quality; + this.status = data.status; + } +} + +export class LightSettingsDTO { + color?: string | null; + lightOffDuration?: number | null; + lightOnDuration?: number | null; + + constructor(data: LightSettingsDTO) { + this.color = data.color; + this.lightOffDuration = data.lightOffDuration; + this.lightOnDuration = data.lightOnDuration; + } +} + +export class ListColliDTO { + collo?: LogisticColloDTO[] | null; + + constructor(data: ListColliDTO) { + this.collo = data.collo; + } +} + +export class ListiniDTO implements Serializable { + vtb_list?: VtbListDTO[] | null; + vtb_scon?: VtbSconDTO[] | null; + + constructor(data: ListiniDTO) { + this.vtb_list = data.vtb_list; + this.vtb_scon = data.vtb_scon; + } +} + +export class ListiniOrdiniAcquistoDTO { + cod_alis?: string | null; + cod_art_for?: string | null; + cod_mart?: string | null; + descrizione?: string | null; + flag_qta_multipla?: string | null; + qta_cnf?: number | null; + qta_min_ord?: number | null; + unt_mis_acq?: string | null; + + constructor(data: ListiniOrdiniAcquistoDTO) { + this.cod_alis = data.cod_alis; + this.cod_art_for = data.cod_art_for; + this.cod_mart = data.cod_mart; + this.descrizione = data.descrizione; + this.flag_qta_multipla = data.flag_qta_multipla; + this.qta_cnf = data.qta_cnf; + this.qta_min_ord = data.qta_min_ord; + this.unt_mis_acq = data.unt_mis_acq; + } +} + +export class ListiniTaglieDTO implements Serializable { + l?: string | null; + p?: number | null; + r?: number | null; + + constructor(data: ListiniTaglieDTO) { + this.l = data.l; + this.p = data.p; + this.r = data.r; + } +} + +export class ListiniVenditaAllinePrezziDTO { + gruppiMerc?: string[] | null; + listini?: string[] | null; + tipoEquivalenza?: string[] | null; + + constructor(data: ListiniVenditaAllinePrezziDTO) { + this.gruppiMerc = data.gruppiMerc; + this.listini = data.listini; + this.tipoEquivalenza = data.tipoEquivalenza; + } +} + +export class ListinoAcquistoSmetarDTO { + altezzaMM?: number | null; + codArt?: string | null; + descrizioneArt?: string | null; + importoEuro?: number | null; + lunghezzaMM?: number | null; + metro?: boolean | null; + pesoKg?: number | null; + profonditaMM?: number | null; + qtaImballoStandard?: number | null; + qtaMultiplaOrdinabile?: number | null; + untMis?: string | null; + + constructor(data: ListinoAcquistoSmetarDTO) { + this.altezzaMM = data.altezzaMM; + this.codArt = data.codArt; + this.descrizioneArt = data.descrizioneArt; + this.importoEuro = data.importoEuro; + this.lunghezzaMM = data.lunghezzaMM; + this.metro = data.metro; + this.pesoKg = data.pesoKg; + this.profonditaMM = data.profonditaMM; + this.qtaImballoStandard = data.qtaImballoStandard; + this.qtaMultiplaOrdinabile = data.qtaMultiplaOrdinabile; + this.untMis = data.untMis; + } +} + +export class ListinoApuliaCarrefourDTO { + barcode?: string | null; + codAliq?: string | null; + codAlis?: string | null; + codArtFor?: string | null; + colliXPedane?: number | null; + countArtFor?: number | null; + dataIniz?: Date | null; + dataInizLisa?: Date | null; + descrizione?: string | null; + percOneri?: number | null; + precPromo?: number | null; + przAcq?: number | null; + przBaseProp?: number | null; + przVenSug?: number | null; + qtaCnf?: number | null; + tipoVariazione?: string | null; + untMisAcq?: string | null; + valPromo?: number | null; + + constructor(data: ListinoApuliaCarrefourDTO) { + this.barcode = data.barcode; + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.colliXPedane = data.colliXPedane; + this.countArtFor = data.countArtFor; + this.dataIniz = data.dataIniz; + this.dataInizLisa = data.dataInizLisa; + this.descrizione = data.descrizione; + this.percOneri = data.percOneri; + this.precPromo = data.precPromo; + this.przAcq = data.przAcq; + this.przBaseProp = data.przBaseProp; + this.przVenSug = data.przVenSug; + this.qtaCnf = data.qtaCnf; + this.tipoVariazione = data.tipoVariazione; + this.untMisAcq = data.untMisAcq; + this.valPromo = data.valPromo; + } +} + +export class LoadColliDTO { + activityId?: string | null; + calcPrz?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codVdes?: string | null; + codVvet?: string | null; + colli?: MtbColt[] | null; + controllaDepoDeiColli?: boolean | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + dataVers?: Date | null; + flagEvasoForzato?: string | null; + flagLeggiDatiOrd?: boolean | null; + gestione?: string | null; + note?: string | null; + numDoc?: number | null; + numOrd?: number | null; + saveDoc?: boolean | null; + serDoc?: string | null; + targa?: string | null; + + constructor(data: LoadColliDTO) { + this.activityId = data.activityId; + this.calcPrz = data.calcPrz; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.colli = data.colli; + this.controllaDepoDeiColli = data.controllaDepoDeiColli; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.dataVers = data.dataVers; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagLeggiDatiOrd = data.flagLeggiDatiOrd; + this.gestione = data.gestione; + this.note = data.note; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.saveDoc = data.saveDoc; + this.serDoc = data.serDoc; + this.targa = data.targa; + } +} + +export class LogDTO { + entryDate?: number | null; + exception?: string | null; + id?: string | null; + level?: string | null; + logger?: string | null; + message?: string | null; + rowsCount?: number | null; + + constructor(data: LogDTO) { + this.entryDate = data.entryDate; + this.exception = data.exception; + this.id = data.id; + this.level = data.level; + this.logger = data.logger; + this.message = data.message; + this.rowsCount = data.rowsCount; + } +} + +export class LogDataDTO { + filters?: LogFilterDTO | null; + first?: number | null; + multiSortMeta?: LogSortDTO[] | null; + rows?: number | null; + sortField?: string | null; + sortOrder?: number | null; + + constructor(data: LogDataDTO) { + this.filters = data.filters; + this.first = data.first; + this.multiSortMeta = data.multiSortMeta; + this.rows = data.rows; + this.sortField = data.sortField; + this.sortOrder = data.sortOrder; + } +} + +export class LogFilterDTO { + entryDate?: DataTableOperatorFilterMetaData | null; + global?: DataTableFilterMetaData | null; + level?: DataTableOperatorFilterMetaData | null; + logger?: DataTableOperatorFilterMetaData | null; + message?: DataTableOperatorFilterMetaData | null; + + constructor(data: LogFilterDTO) { + this.entryDate = data.entryDate; + this.global = data.global; + this.level = data.level; + this.logger = data.logger; + this.message = data.message; + } +} + +export class LogSortDTO { + field?: string | null; + order?: number | null; + + constructor(data: LogSortDTO) { + this.field = data.field; + this.order = data.order; + } +} + +export class LoginAziendaDTO implements Serializable { + db_tenant?: string | null; + endpointPvm?: string | null; + endpointRestApi?: string | null; + phpApi?: string | null; + profileDb?: string | null; + pvm_url?: string | null; + repoPhoto?: string | null; + repo_photos?: string | null; + repo_url?: string | null; + repo_url_php?: string | null; + + constructor(data: LoginAziendaDTO) { + this.db_tenant = data.db_tenant; + this.endpointPvm = data.endpointPvm; + this.endpointRestApi = data.endpointRestApi; + this.phpApi = data.phpApi; + this.profileDb = data.profileDb; + this.pvm_url = data.pvm_url; + this.repoPhoto = data.repoPhoto; + this.repo_photos = data.repo_photos; + this.repo_url = data.repo_url; + this.repo_url_php = data.repo_url_php; + } +} + +export class LoginDTO implements Serializable { + categorie?: CategorieClienteDTO[] | null; + forceupd?: ForceupdateDTO[] | null; + listini?: ElencoListiniDTO[] | null; + moduliPvm?: ModuloPvmDTO[] | null; + nazioni?: NazioniDTO[] | null; + paga?: PagamentiDTO[] | null; + rules?: string[] | null; + user?: UtenteDTO | null; + + constructor(data: LoginDTO) { + this.categorie = data.categorie; + this.forceupd = data.forceupd; + this.listini = data.listini; + this.moduliPvm = data.moduliPvm; + this.nazioni = data.nazioni; + this.paga = data.paga; + this.rules = data.rules; + this.user = data.user; + } +} + +export class LoginRequestDTO { + deviceId?: string | null; + md5User?: string | null; + password?: string | null; + username?: string | null; + + constructor(data: LoginRequestDTO) { + this.deviceId = data.deviceId; + this.md5User = data.md5User; + this.password = data.password; + this.username = data.username; + } +} + +export class LogisticArticoloDTO { + anno_stag?: string | null; + cod_barre?: string | null; + cod_col?: string | null; + cod_style?: string | null; + cod_tagl?: string | null; + desc_colori?: string | null; + descr_art?: string | null; + giacenza?: number | null; + + constructor(data: LogisticArticoloDTO) { + this.anno_stag = data.anno_stag; + this.cod_barre = data.cod_barre; + this.cod_col = data.cod_col; + this.cod_style = data.cod_style; + this.cod_tagl = data.cod_tagl; + this.desc_colori = data.desc_colori; + this.descr_art = data.descr_art; + this.giacenza = data.giacenza; + } +} + +export class LogisticClienteDTO { + cod_mdep?: string | null; + colloCliente?: LogisticColloDTO | null; + destinatario?: string | null; + rag_soc?: string | null; + + constructor(data: LogisticClienteDTO) { + this.cod_mdep = data.cod_mdep; + this.colloCliente = data.colloCliente; + this.destinatario = data.destinatario; + this.rag_soc = data.rag_soc; + } +} + +export class LogisticColloDTO { + annotazioni?: string | null; + cod_anag?: string | null; + cod_vdes?: string | null; + data_collo?: string | null; + gestione?: string | null; + num_collo?: number | null; + segno?: number | null; + ser_collo?: string | null; + + constructor(data: LogisticColloDTO) { + this.annotazioni = data.annotazioni; + this.cod_anag = data.cod_anag; + this.cod_vdes = data.cod_vdes; + this.data_collo = data.data_collo; + this.gestione = data.gestione; + this.num_collo = data.num_collo; + this.segno = data.segno; + this.ser_collo = data.ser_collo; + } +} + +export class LogoutRequestDTO { + deviceId?: string | null; + token?: string | null; + username?: string | null; + + constructor(data: LogoutRequestDTO) { + this.deviceId = data.deviceId; + this.token = data.token; + this.username = data.username; + } +} + +export class LoopDTO { + delayTime?: number | null; + id?: number | null; + runnable?: Runnable | null; + + constructor(data: LoopDTO) { + this.delayTime = data.delayTime; + this.id = data.id; + this.runnable = data.runnable; + } +} + +export class MRPCreaOrdineLavDTO { + dataScad?: Date | null; + ordine?: DtbOrdt | null; + ordiniSelezionati?: MRPOrdineDTO[] | null; + + constructor(data: MRPCreaOrdineLavDTO) { + this.dataScad = data.dataScad; + this.ordine = data.ordine; + this.ordiniSelezionati = data.ordiniSelezionati; + } +} + +export class MRPDailyConsumiDTO { + cod_mart?: string | null; + data?: Date | null; + qta?: number | null; + tipo_media?: string | null; + + constructor(data: MRPDailyConsumiDTO) { + this.cod_mart = data.cod_mart; + this.data = data.data; + this.qta = data.qta; + this.tipo_media = data.tipo_media; + } +} + +export class MRPDailyDatiDepoDTO { + codMart?: string | null; + codMdep?: string | null; + descrizione?: string | null; + disponibilita?: number | null; + scortaMax?: number | null; + scortaMin?: number | null; + + constructor(data: MRPDailyDatiDepoDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + this.disponibilita = data.disponibilita; + this.scortaMax = data.scortaMax; + this.scortaMin = data.scortaMin; + } +} + +export class MRPDailyPromoAcqDTO { + cod_mart?: string | null; + cod_promo?: string | null; + data_fine_promo?: Date | null; + data_iniz_promo?: Date | null; + descr_promo?: string | null; + + constructor(data: MRPDailyPromoAcqDTO) { + this.cod_mart = data.cod_mart; + this.cod_promo = data.cod_promo; + this.data_fine_promo = data.data_fine_promo; + this.data_iniz_promo = data.data_iniz_promo; + this.descr_promo = data.descr_promo; + } +} + +export class MRPDailySetupGruppiDTO { + agg_imp_prox?: boolean | null; + cod_mgrp?: string | null; + includi_budget?: boolean | null; + includi_sospesi?: boolean | null; + + constructor(data: MRPDailySetupGruppiDTO) { + this.agg_imp_prox = data.agg_imp_prox; + this.cod_mgrp = data.cod_mgrp; + this.includi_budget = data.includi_budget; + this.includi_sospesi = data.includi_sospesi; + } +} + +export class MRPDailySetupSottogruppiDTO { + cod_mgrp?: string | null; + cod_msgr?: string | null; + limit?: number | null; + tipo_media?: string | null; + + constructor(data: MRPDailySetupSottogruppiDTO) { + this.cod_mgrp = data.cod_mgrp; + this.cod_msgr = data.cod_msgr; + this.limit = data.limit; + this.tipo_media = data.tipo_media; + } +} + +export class MRPOrdineDTO { + cod_anag?: string | null; + cod_jcom?: string | null; + data_ord?: Date | null; + gestione?: string | null; + num_ord?: number | null; + + constructor(data: MRPOrdineDTO) { + this.cod_anag = data.cod_anag; + this.cod_jcom = data.cod_jcom; + this.data_ord = data.data_ord; + this.gestione = data.gestione; + this.num_ord = data.num_ord; + } +} + +export class OrderKeyDTO { + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + + constructor(data: OrderKeyDTO) { + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + } +} + +export class MachineOrderEventDTO extends OrderKeyDTO { + causale?: string | null; + codCmac?: string | null; + codJfas?: string | null; + evento?: string | null; + + constructor(data: MachineOrderEventDTO) { + super(data); + this.causale = data.causale; + this.codCmac = data.codCmac; + this.codJfas = data.codJfas; + this.evento = data.evento; + } +} + +export class MagAutoPickingRequestDTO { + inputCollo?: MtbColt | null; + magAutoPickingRow?: MagAutoPickingRowRequestDTO[] | null; + + constructor(data: MagAutoPickingRequestDTO) { + this.inputCollo = data.inputCollo; + this.magAutoPickingRow = data.magAutoPickingRow; + } +} + +export class MagAutoPickingRowRequestDTO { + codJcom?: string | null; + codMart?: string | null; + partitaMag?: string | null; + qta?: number | null; + rapConv?: number | null; + untMis?: string | null; + + constructor(data: MagAutoPickingRowRequestDTO) { + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + this.rapConv = data.rapConv; + this.untMis = data.untMis; + } +} + +export class MagazzinoAutomaticoMissionePickDTO { + inputCollo?: MtbColt | null; + magAutoPickingRow?: MagazzinoAutomaticoMissionePickItemDTO[] | null; + + constructor(data: MagazzinoAutomaticoMissionePickDTO) { + this.inputCollo = data.inputCollo; + this.magAutoPickingRow = data.magAutoPickingRow; + } +} + +export class MagazzinoAutomaticoMissionePickItemDTO { + codMart?: string | null; + qta?: number | null; + rapConv?: number | null; + untMis?: string | null; + + constructor(data: MagazzinoAutomaticoMissionePickItemDTO) { + this.codMart = data.codMart; + this.qta = data.qta; + this.rapConv = data.rapConv; + this.untMis = data.untMis; + } +} + +export class MagazzinoAutomaticoPickItemRequestDTO { + codMart?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaTot?: number | null; + untMis?: string | null; + + constructor(data: MagazzinoAutomaticoPickItemRequestDTO) { + this.codMart = data.codMart; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaTot = data.qtaTot; + this.untMis = data.untMis; + } +} + +export class MagazzinoAutomaticoPickItemsRequestDTO { + defaultGestioneOfNewUDS?: string | null; + defaultGestioneOfNewUDSEnum?: GestioneEnum | null; + inputMtbColt?: MtbColt | null; + itemsToPick?: MagazzinoAutomaticoPickItemRequestDTO[] | null; + ordersOfNewUDS?: DtbOrdr[] | null; + shouldCreateUDS?: boolean | null; + + constructor(data: MagazzinoAutomaticoPickItemsRequestDTO) { + this.defaultGestioneOfNewUDS = data.defaultGestioneOfNewUDS; + this.defaultGestioneOfNewUDSEnum = data.defaultGestioneOfNewUDSEnum; + this.inputMtbColt = data.inputMtbColt; + this.itemsToPick = data.itemsToPick; + this.ordersOfNewUDS = data.ordersOfNewUDS; + this.shouldCreateUDS = data.shouldCreateUDS; + } +} + +export class MagazzinoAutomaticoPutItemsRequestDTO { + inputMtbColt?: MtbColt | null; + + constructor(data: MagazzinoAutomaticoPutItemsRequestDTO) { + this.inputMtbColt = data.inputMtbColt; + } +} + +export class MagazzinoBufferVersamentoMaterialeCloseRequestDTO { + inputMtbColt?: MtbColt | null; + numCnfDaScaricare?: number | null; + oraFineVersamento?: Date | null; + qtaTotDaScaricare?: number | null; + + constructor(data: MagazzinoBufferVersamentoMaterialeCloseRequestDTO) { + this.inputMtbColt = data.inputMtbColt; + this.numCnfDaScaricare = data.numCnfDaScaricare; + this.oraFineVersamento = data.oraFineVersamento; + this.qtaTotDaScaricare = data.qtaTotDaScaricare; + } +} + +export class MagazzinoBufferVersamentoMaterialeEditRequestDTO { + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataCollo?: Date | null; + dataColloRif?: Date | null; + descPosizione?: string | null; + gestione?: string | null; + gestioneRif?: string | null; + numCnfVers?: number | null; + numCollo?: number | null; + numColloRif?: number | null; + oraFinePrep?: Date | null; + oraInizPrep?: Date | null; + partitaMag?: string | null; + posizione?: string | null; + qtaCnf?: number | null; + qtaVers?: number | null; + serCollo?: string | null; + serColloRif?: string | null; + + constructor(data: MagazzinoBufferVersamentoMaterialeEditRequestDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataCollo = data.dataCollo; + this.dataColloRif = data.dataColloRif; + this.descPosizione = data.descPosizione; + this.gestione = data.gestione; + this.gestioneRif = data.gestioneRif; + this.numCnfVers = data.numCnfVers; + this.numCollo = data.numCollo; + this.numColloRif = data.numColloRif; + this.oraFinePrep = data.oraFinePrep; + this.oraInizPrep = data.oraInizPrep; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + this.qtaCnf = data.qtaCnf; + this.qtaVers = data.qtaVers; + this.serCollo = data.serCollo; + this.serColloRif = data.serColloRif; + } +} + +export class MagazzinoBufferVersamentoMaterialeRequestDTO { + codJfas?: string | null; + dataCollo?: Date | null; + inputMtbColt?: MtbColt | null; + numCollo?: number | null; + serCollo?: string | null; + + constructor(data: MagazzinoBufferVersamentoMaterialeRequestDTO) { + this.codJfas = data.codJfas; + this.dataCollo = data.dataCollo; + this.inputMtbColt = data.inputMtbColt; + this.numCollo = data.numCollo; + this.serCollo = data.serCollo; + } +} + +export class MagentoOrderDTO extends DialogoJsonDTO { + status?: string | null; + trackNumber?: string[] | null; + + constructor(data: MagentoOrderDTO) { + super(data); + this.status = data.status; + this.trackNumber = data.trackNumber; + } +} + +export class MagentoOrderStatusDTO extends DialogoJsonDTO { + status?: number | null; + trackingNumber?: string | null; + + constructor(data: MagentoOrderStatusDTO) { + super(data); + this.status = data.status; + this.trackingNumber = data.trackingNumber; + } +} + +export class MapGetCustomerItemInfo { + codAnag?: string | null; + codMart?: string | null; + codVdes?: string | null; + dataOrd?: Date | null; + numOrdProv?: number | null; + passedCodVlis?: string | null; + serie?: string | null; + + constructor(data: MapGetCustomerItemInfo) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codVdes = data.codVdes; + this.dataOrd = data.dataOrd; + this.numOrdProv = data.numOrdProv; + this.passedCodVlis = data.passedCodVlis; + this.serie = data.serie; + } +} + +export class MaterialeScaricoDTO { + cifreDec?: number | null; + codMart?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagDig?: string | null; + flagEvaso?: string | null; + flagTracciabilita?: string | null; + gruppoContoMp?: string | null; + numFase?: number | null; + partitaMag?: string | null; + qtaEvasa?: number | null; + qtaEvasaProd?: number | null; + qtaMate?: number | null; + qtaProdOrd?: number | null; + rapConv?: number | null; + rigaOrd?: number | null; + systemNote?: string | null; + untOrd?: string | null; + + constructor(data: MaterialeScaricoDTO) { + this.cifreDec = data.cifreDec; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagDig = data.flagDig; + this.flagEvaso = data.flagEvaso; + this.flagTracciabilita = data.flagTracciabilita; + this.gruppoContoMp = data.gruppoContoMp; + this.numFase = data.numFase; + this.partitaMag = data.partitaMag; + this.qtaEvasa = data.qtaEvasa; + this.qtaEvasaProd = data.qtaEvasaProd; + this.qtaMate = data.qtaMate; + this.qtaProdOrd = data.qtaProdOrd; + this.rapConv = data.rapConv; + this.rigaOrd = data.rigaOrd; + this.systemNote = data.systemNote; + this.untOrd = data.untOrd; + } +} + +export class MaterialeVersatoSuOrdineDTO { + codMart?: string | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + gestione?: string | null; + numCnf?: number | null; + numCollo?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaCnfArt?: number | null; + qtaVersata?: number | null; + rapConv2?: number | null; + serCollo?: string | null; + untMis?: string | null; + untMis2?: string | null; + + constructor(data: MaterialeVersatoSuOrdineDTO) { + this.codMart = data.codMart; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaCnfArt = data.qtaCnfArt; + this.qtaVersata = data.qtaVersata; + this.rapConv2 = data.rapConv2; + this.serCollo = data.serCollo; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + } +} + +export class MaterialiDaDistintaDTO { + codMart?: string | null; + codParent?: string | null; + codProd?: string | null; + codProdPri?: string | null; + descrione?: string | null; + descrizioneEstesa?: string | null; + itemId?: string | null; + livello?: number | null; + percSfrido?: number | null; + qtaProd?: number | null; + rapConvProd?: number | null; + rapConvSemilav?: number | null; + untMisProd?: string | null; + + constructor(data: MaterialiDaDistintaDTO) { + this.codMart = data.codMart; + this.codParent = data.codParent; + this.codProd = data.codProd; + this.codProdPri = data.codProdPri; + this.descrione = data.descrione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.itemId = data.itemId; + this.livello = data.livello; + this.percSfrido = data.percSfrido; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.rapConvSemilav = data.rapConvSemilav; + this.untMisProd = data.untMisProd; + } +} + +export interface Member { + declaringClass?: Class | null; + modifiers?: number | null; + name?: string | null; + synthetic?: boolean | null; +} + +export class MenuConfigDTO { + menusByAzienda?: { [index: string]: StbMenuDTO[] } | null; + stbMenuOpz?: StbMenuOpzDTO[] | null; + stbTipoAzienda?: StbTipoAziendaDTO[] | null; + version?: number | null; + + constructor(data: MenuConfigDTO) { + this.menusByAzienda = data.menusByAzienda; + this.stbMenuOpz = data.stbMenuOpz; + this.stbTipoAzienda = data.stbTipoAzienda; + this.version = data.version; + } +} + +export class MerceDaRipartireDTO { + codJfas?: string | null; + codMart?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + idLotto?: number | null; + partitaMag?: string | null; + qtaDoc?: number | null; + rientro?: boolean | null; + untDoc?: string | null; + + constructor(data: MerceDaRipartireDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.idLotto = data.idLotto; + this.partitaMag = data.partitaMag; + this.qtaDoc = data.qtaDoc; + this.rientro = data.rientro; + this.untDoc = data.untDoc; + } +} + +export class MerceOrdiniAcquistoDTO { + cod_mart?: string | null; + cod_mdep?: string | null; + listino?: string | null; + qta_ord?: number | null; + + constructor(data: MerceOrdiniAcquistoDTO) { + this.cod_mart = data.cod_mart; + this.cod_mdep = data.cod_mdep; + this.listino = data.listino; + this.qta_ord = data.qta_ord; + } +} + +export class MesStopOrdineDTO { + $terminaLavorazioneLinea?: boolean | null; + codDtipCar?: string | null; + codDtipScar?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codMdepScar?: string | null; + creaCaricoDaCollo?: boolean | null; + creaScaricoDaCollo?: boolean | null; + effettuaCaricoProdotto?: boolean | null; + effettuaSCaricoMateriali?: boolean | null; + ordLav?: DtbOrdt | null; + terminaLavorazione?: boolean | null; + + constructor(data: MesStopOrdineDTO) { + this.$terminaLavorazioneLinea = data.$terminaLavorazioneLinea; + this.codDtipCar = data.codDtipCar; + this.codDtipScar = data.codDtipScar; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codMdepScar = data.codMdepScar; + this.creaCaricoDaCollo = data.creaCaricoDaCollo; + this.creaScaricoDaCollo = data.creaScaricoDaCollo; + this.effettuaCaricoProdotto = data.effettuaCaricoProdotto; + this.effettuaSCaricoMateriali = data.effettuaSCaricoMateriali; + this.ordLav = data.ordLav; + this.terminaLavorazione = data.terminaLavorazione; + } +} + +export class MessageDTO { + analyticsLabel?: string | null; + android?: AndroidConfigDTO | null; + apns?: ApnsConfigDTO | null; + condition?: string | null; + data?: { [index: string]: string } | null; + notification?: NotificationDTO | null; + token?: string | null; + topic?: string | null; + userName?: string | null; + webpush?: WebpushConfigDTO | null; + + constructor(data: MessageDTO) { + this.analyticsLabel = data.analyticsLabel; + this.android = data.android; + this.apns = data.apns; + this.condition = data.condition; + this.data = data.data; + this.notification = data.notification; + this.token = data.token; + this.topic = data.topic; + this.userName = data.userName; + this.webpush = data.webpush; + } +} + +export class MigrationStatusDTO { + errorMessage?: string | null; + id?: string | null; + migrationCode?: number | null; + profileDb?: string | null; + status?: MigrationStatusEnum | null; + + constructor(data: MigrationStatusDTO) { + this.errorMessage = data.errorMessage; + this.id = data.id; + this.migrationCode = data.migrationCode; + this.profileDb = data.profileDb; + this.status = data.status; + } +} + +export class ModellinoDTO { + activityDescription?: string | null; + activityId?: string | null; + category?: string | null; + dataInsAct?: Date | null; + subcategory?: string | null; + userCreator?: string | null; + username?: string | null; + + constructor(data: ModellinoDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.category = data.category; + this.dataInsAct = data.dataInsAct; + this.subcategory = data.subcategory; + this.userCreator = data.userCreator; + this.username = data.username; + } +} + +export class ModificheDistintaDTO { + codMart?: string | null; + codMartSostitutivo?: number | null; + partitaMag?: string | null; + valUnt?: number | null; + + constructor(data: ModificheDistintaDTO) { + this.codMart = data.codMart; + this.codMartSostitutivo = data.codMartSostitutivo; + this.partitaMag = data.partitaMag; + this.valUnt = data.valUnt; + } +} + +export class ModuloPvmDTO implements Serializable { + idModulo?: string | null; + title?: string | null; + + constructor(data: ModuloPvmDTO) { + this.idModulo = data.idModulo; + this.title = data.title; + } +} + +export class MovimentoPuddy { + causale?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: MovimentoPuddy) { + this.causale = data.causale; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class MrlAartSchTecSet extends EntityBase { + codMart?: string | null; + codSch?: string | null; + id?: number | null; + type: "mrl_aart_sch_tec_set"; + + constructor(data: MrlAartSchTecSet) { + super(data); + this.codMart = data.codMart; + this.codSch = data.codSch; + this.id = data.id; + } +} + +export class MrlDepoArtEsclusiWms extends EntityBase { + codMart?: string | null; + codMdep?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + flagEscludiAcq?: boolean | null; + flagEscludiLav?: boolean | null; + flagEscludiVen?: boolean | null; + id?: number | null; + type: "mrl_depo_art_esclusi_wms"; + + constructor(data: MrlDepoArtEsclusiWms) { + super(data); + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.flagEscludiAcq = data.flagEscludiAcq; + this.flagEscludiLav = data.flagEscludiLav; + this.flagEscludiVen = data.flagEscludiVen; + this.id = data.id; + } +} + +export class MrlPartitaMagAttached extends EntityBase { + codMart?: string | null; + idAttach?: string | null; + partitaMag?: string | null; + type: "mrl_partita_mag_attached"; + + constructor(data: MrlPartitaMagAttached) { + super(data); + this.codMart = data.codMart; + this.idAttach = data.idAttach; + this.partitaMag = data.partitaMag; + } +} + +export class MrlSartAttached extends EntityBase { + anno?: number | null; + dataValorizzazione?: Date | null; + id?: number | null; + idAttach?: string | null; + tipoValorizzazione?: string | null; + type: "mrl_sart_attached"; + utente?: string | null; + + constructor(data: MrlSartAttached) { + super(data); + this.anno = data.anno; + this.dataValorizzazione = data.dataValorizzazione; + this.id = data.id; + this.idAttach = data.idAttach; + this.tipoValorizzazione = data.tipoValorizzazione; + this.utente = data.utente; + } +} + +export class MrpDailyMaterialInputDTO { + articoli?: string[] | null; + clienti?: string[] | null; + dataCons?: Date | null; + depositi?: string[] | null; + gruppiMerc?: string[] | null; + orderBy?: string | null; + page?: number | null; + pageSize?: number | null; + soloArtDis?: boolean | null; + soloConDati?: boolean | null; + sottoFamMerc?: string[] | null; + sottoGruppiMerc?: string[] | null; + sottoTipiMerc?: string[] | null; + tipiMerc?: string[] | null; + whereCond?: string | null; + + constructor(data: MrpDailyMaterialInputDTO) { + this.articoli = data.articoli; + this.clienti = data.clienti; + this.dataCons = data.dataCons; + this.depositi = data.depositi; + this.gruppiMerc = data.gruppiMerc; + this.orderBy = data.orderBy; + this.page = data.page; + this.pageSize = data.pageSize; + this.soloArtDis = data.soloArtDis; + this.soloConDati = data.soloConDati; + this.sottoFamMerc = data.sottoFamMerc; + this.sottoGruppiMerc = data.sottoGruppiMerc; + this.sottoTipiMerc = data.sottoTipiMerc; + this.tipiMerc = data.tipiMerc; + this.whereCond = data.whereCond; + } +} + +export class MrpDailyMaterialReqDTO { + articolo?: string | null; + cod_mart?: string | null; + cod_mgrp?: string | null; + cod_msfa?: string | null; + cod_msgr?: string | null; + cod_mstp?: string | null; + cod_mtip?: string | null; + cod_prod?: string | null; + colli_pedana?: number | null; + consumi?: MRPDailyConsumiDTO[] | null; + consumi_medi?: number | null; + criticita?: boolean | null; + datiGg?: DatiGg[] | null; + depositi?: { [index: string]: any }[] | null; + descr_pedana?: string | null; + descrizione?: string | null; + descrizione_estesa?: string | null; + dettaglio?: MrpDailyMaterialReqDetDTO[] | null; + disponibilita?: number | null; + distinta_attiva?: boolean | null; + empty?: boolean | null; + flag_attivo?: boolean | null; + flag_dig?: string | null; + giacenza?: number | null; + has_promo?: boolean | null; + id?: number | null; + ingredienti?: string | null; + num_periodi?: number | null; + promozioni?: MRPDailyPromoAcqDTO[] | null; + qtaOrdvSospesi?: number | null; + qta_arrivi?: number | null; + qta_arrivi_prox?: number | null; + qta_cnf?: number | null; + qta_imp_prox_budget?: number | null; + qta_imp_prox_contr?: number | null; + qta_imp_prox_ord?: number | null; + qta_impegni?: number | null; + qta_ordv_sospesi?: number | null; + rap_conv2?: number | null; + rap_conv3?: number | null; + rap_conv_prod?: number | null; + rows_count?: number | null; + scorta_min?: number | null; + sotto_scorta?: boolean | null; + tipo_media?: string | null; + um?: string | null; + unt_mis?: string | null; + unt_mis2?: string | null; + unt_mis3?: string | null; + unt_mis_prod?: string | null; + + constructor(data: MrpDailyMaterialReqDTO) { + this.articolo = data.articolo; + this.cod_mart = data.cod_mart; + this.cod_mgrp = data.cod_mgrp; + this.cod_msfa = data.cod_msfa; + this.cod_msgr = data.cod_msgr; + this.cod_mstp = data.cod_mstp; + this.cod_mtip = data.cod_mtip; + this.cod_prod = data.cod_prod; + this.colli_pedana = data.colli_pedana; + this.consumi = data.consumi; + this.consumi_medi = data.consumi_medi; + this.criticita = data.criticita; + this.datiGg = data.datiGg; + this.depositi = data.depositi; + this.descr_pedana = data.descr_pedana; + this.descrizione = data.descrizione; + this.descrizione_estesa = data.descrizione_estesa; + this.dettaglio = data.dettaglio; + this.disponibilita = data.disponibilita; + this.distinta_attiva = data.distinta_attiva; + this.empty = data.empty; + this.flag_attivo = data.flag_attivo; + this.flag_dig = data.flag_dig; + this.giacenza = data.giacenza; + this.has_promo = data.has_promo; + this.id = data.id; + this.ingredienti = data.ingredienti; + this.num_periodi = data.num_periodi; + this.promozioni = data.promozioni; + this.qtaOrdvSospesi = data.qtaOrdvSospesi; + this.qta_arrivi = data.qta_arrivi; + this.qta_arrivi_prox = data.qta_arrivi_prox; + this.qta_cnf = data.qta_cnf; + this.qta_imp_prox_budget = data.qta_imp_prox_budget; + this.qta_imp_prox_contr = data.qta_imp_prox_contr; + this.qta_imp_prox_ord = data.qta_imp_prox_ord; + this.qta_impegni = data.qta_impegni; + this.qta_ordv_sospesi = data.qta_ordv_sospesi; + this.rap_conv2 = data.rap_conv2; + this.rap_conv3 = data.rap_conv3; + this.rap_conv_prod = data.rap_conv_prod; + this.rows_count = data.rows_count; + this.scorta_min = data.scorta_min; + this.sotto_scorta = data.sotto_scorta; + this.tipo_media = data.tipo_media; + this.um = data.um; + this.unt_mis = data.unt_mis; + this.unt_mis2 = data.unt_mis2; + this.unt_mis3 = data.unt_mis3; + this.unt_mis_prod = data.unt_mis_prod; + } +} + +export class MrpDailyMaterialReqDetDTO { + causale?: string | null; + cod_jcom?: string | null; + cod_mart?: string | null; + cod_mdep?: string | null; + cod_tcol_UL?: string | null; + colli?: number | null; + colliCalc?: number | null; + colli_pedana?: number | null; + data_mrp?: Date | null; + data_ord?: Date | null; + disponibilitaImmediata?: number | null; + flag_sospeso?: boolean | null; + gestione?: string | null; + is_ord_trasf?: boolean | null; + num_ord?: number | null; + ordTrasf?: boolean | null; + partita_mag?: string | null; + pedane?: number | null; + qta?: number | null; + stato_partita?: string | null; + tipo_pedana?: string | null; + unt_mis?: string | null; + + constructor(data: MrpDailyMaterialReqDetDTO) { + this.causale = data.causale; + this.cod_jcom = data.cod_jcom; + this.cod_mart = data.cod_mart; + this.cod_mdep = data.cod_mdep; + this.cod_tcol_UL = data.cod_tcol_UL; + this.colli = data.colli; + this.colliCalc = data.colliCalc; + this.colli_pedana = data.colli_pedana; + this.data_mrp = data.data_mrp; + this.data_ord = data.data_ord; + this.disponibilitaImmediata = data.disponibilitaImmediata; + this.flag_sospeso = data.flag_sospeso; + this.gestione = data.gestione; + this.is_ord_trasf = data.is_ord_trasf; + this.num_ord = data.num_ord; + this.ordTrasf = data.ordTrasf; + this.partita_mag = data.partita_mag; + this.pedane = data.pedane; + this.qta = data.qta; + this.stato_partita = data.stato_partita; + this.tipo_pedana = data.tipo_pedana; + this.unt_mis = data.unt_mis; + } +} + +export class MtbAart extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + articoloComposto?: string | null; + barCode?: string | null; + cambioDiviCar?: number | null; + cambioDiviScar?: number | null; + classificazioneAbc?: string | null; + codAliq?: string | null; + codBarreImb?: string | null; + codCconCosti?: string | null; + codCconRicavi?: string | null; + codDgrpArt?: string | null; + codDiviCar?: string | null; + codDiviScar?: string | null; + codEcrCat?: string | null; + codEcrMcat?: string | null; + codEcrRep?: string | null; + codEcrStipo?: string | null; + codEcrTipo?: string | null; + codFornCv?: string | null; + codGrpBolla?: string | null; + codJfasCosti?: string | null; + codJfasRicavi?: string | null; + codMart?: string | null; + codMartStat?: string | null; + codMcon?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + codNcIntracee?: string | null; + codScoArt?: string | null; + codTcolUi?: string | null; + codTcolUl?: string | null; + codUltClie?: string | null; + codUltForn?: string | null; + colliPedana?: number | null; + colliStrato?: number | null; + cpa?: string | null; + dataUltCar?: Date | null; + dataUltScar?: Date | null; + dataUltVar?: Date | null; + descrCassa?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + descrizioneStat?: string | null; + diacod?: string | null; + esposizioneComp?: string | null; + esposizioneCompAcq?: string | null; + excludedColumns?: string[] | null; + flagArrPrzVendIva?: boolean | null; + flagCalcPrz?: string | null; + flagCalcPrzAcq?: string | null; + flagColliPedanaFisso?: string | null; + flagEsponiPrz?: string | null; + flagInclListino?: string | null; + flagKit?: string | null; + flagMovArtMag?: string | null; + flagPesoEgalizzato?: boolean | null; + flagQtaCnfFissa?: string | null; + flagRapConvVariabile?: string | null; + flagStampaDocVend?: boolean | null; + flagStampaDocuVend?: boolean | null; + flagStato?: string | null; + flagTracciabilita?: string | null; + ggScadPartita?: number | null; + idArtEqui?: string | null; + ingredienti?: string | null; + jtbCicl?: JtbCicl[] | null; + marchio?: string | null; + mrlAartSchTecSet?: MrlAartSchTecSet[] | null; + mtbAartAnag?: MtbAartAnag[] | null; + mtbAartBarCode?: MtbAartBarCode[] | null; + mtbAartCarat?: MtbAartCarat[] | null; + mtbAartDesc?: MtbAartDesc[] | null; + mtbAartEqui?: MtbAartEqui | null; + mtbAartEqui_descrizione?: string | null; + mtbAartLink?: MtbAartLink[] | null; + mtbAartMarchio?: MtbAartMarchio | null; + mtbComp?: MtbComp[] | null; + mtbLisa?: MtbLisa[] | null; + mtbPartitaMag?: MtbPartitaMag[] | null; + mtbSpes?: MtbSpes[] | null; + mtbUntMis?: MtbUntMis[] | null; + note?: string | null; + parent?: any | null; + partIvaProd?: string | null; + percSfrido?: number | null; + pesoKg?: number | null; + plu?: string | null; + posizione?: string | null; + qtaCnf?: number | null; + qtaMultiplaOrd?: number | null; + queryTimeoutSeconds?: number | null; + ragSocProd?: string | null; + rapConv2?: number | null; + rapConv3?: number | null; + sezione?: number | null; + sezioneDogana?: string | null; + tableName?: string | null; + taraKg?: number | null; + taric?: string | null; + tipoCodice?: string | null; + tipoCodiceImballo?: string | null; + tipoReg?: string | null; + tipoStock?: string | null; + transactionGroupId?: number | null; + type: "mtb_aart"; + untMis?: string | null; + untMis2?: string | null; + untMis3?: string | null; + valUltCar?: number | null; + valUltScar?: number | null; + volumeMc?: number | null; + + constructor(data: MtbAart) { + super(data); + this.applicationName = data.applicationName; + this.articoloComposto = data.articoloComposto; + this.barCode = data.barCode; + this.cambioDiviCar = data.cambioDiviCar; + this.cambioDiviScar = data.cambioDiviScar; + this.classificazioneAbc = data.classificazioneAbc; + this.codAliq = data.codAliq; + this.codBarreImb = data.codBarreImb; + this.codCconCosti = data.codCconCosti; + this.codCconRicavi = data.codCconRicavi; + this.codDgrpArt = data.codDgrpArt; + this.codDiviCar = data.codDiviCar; + this.codDiviScar = data.codDiviScar; + this.codEcrCat = data.codEcrCat; + this.codEcrMcat = data.codEcrMcat; + this.codEcrRep = data.codEcrRep; + this.codEcrStipo = data.codEcrStipo; + this.codEcrTipo = data.codEcrTipo; + this.codFornCv = data.codFornCv; + this.codGrpBolla = data.codGrpBolla; + this.codJfasCosti = data.codJfasCosti; + this.codJfasRicavi = data.codJfasRicavi; + this.codMart = data.codMart; + this.codMartStat = data.codMartStat; + this.codMcon = data.codMcon; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.codNcIntracee = data.codNcIntracee; + this.codScoArt = data.codScoArt; + this.codTcolUi = data.codTcolUi; + this.codTcolUl = data.codTcolUl; + this.codUltClie = data.codUltClie; + this.codUltForn = data.codUltForn; + this.colliPedana = data.colliPedana; + this.colliStrato = data.colliStrato; + this.cpa = data.cpa; + this.dataUltCar = data.dataUltCar; + this.dataUltScar = data.dataUltScar; + this.dataUltVar = data.dataUltVar; + this.descrCassa = data.descrCassa; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.descrizioneStat = data.descrizioneStat; + this.diacod = data.diacod; + this.esposizioneComp = data.esposizioneComp; + this.esposizioneCompAcq = data.esposizioneCompAcq; + this.excludedColumns = data.excludedColumns; + this.flagArrPrzVendIva = data.flagArrPrzVendIva; + this.flagCalcPrz = data.flagCalcPrz; + this.flagCalcPrzAcq = data.flagCalcPrzAcq; + this.flagColliPedanaFisso = data.flagColliPedanaFisso; + this.flagEsponiPrz = data.flagEsponiPrz; + this.flagInclListino = data.flagInclListino; + this.flagKit = data.flagKit; + this.flagMovArtMag = data.flagMovArtMag; + this.flagPesoEgalizzato = data.flagPesoEgalizzato; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagRapConvVariabile = data.flagRapConvVariabile; + this.flagStampaDocVend = data.flagStampaDocVend; + this.flagStampaDocuVend = data.flagStampaDocuVend; + this.flagStato = data.flagStato; + this.flagTracciabilita = data.flagTracciabilita; + this.ggScadPartita = data.ggScadPartita; + this.idArtEqui = data.idArtEqui; + this.ingredienti = data.ingredienti; + this.jtbCicl = data.jtbCicl; + this.marchio = data.marchio; + this.mrlAartSchTecSet = data.mrlAartSchTecSet; + this.mtbAartAnag = data.mtbAartAnag; + this.mtbAartBarCode = data.mtbAartBarCode; + this.mtbAartCarat = data.mtbAartCarat; + this.mtbAartDesc = data.mtbAartDesc; + this.mtbAartEqui = data.mtbAartEqui; + this.mtbAartEqui_descrizione = data.mtbAartEqui_descrizione; + this.mtbAartLink = data.mtbAartLink; + this.mtbAartMarchio = data.mtbAartMarchio; + this.mtbComp = data.mtbComp; + this.mtbLisa = data.mtbLisa; + this.mtbPartitaMag = data.mtbPartitaMag; + this.mtbSpes = data.mtbSpes; + this.mtbUntMis = data.mtbUntMis; + this.note = data.note; + this.parent = data.parent; + this.partIvaProd = data.partIvaProd; + this.percSfrido = data.percSfrido; + this.pesoKg = data.pesoKg; + this.plu = data.plu; + this.posizione = data.posizione; + this.qtaCnf = data.qtaCnf; + this.qtaMultiplaOrd = data.qtaMultiplaOrd; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.ragSocProd = data.ragSocProd; + this.rapConv2 = data.rapConv2; + this.rapConv3 = data.rapConv3; + this.sezione = data.sezione; + this.sezioneDogana = data.sezioneDogana; + this.tableName = data.tableName; + this.taraKg = data.taraKg; + this.taric = data.taric; + this.tipoCodice = data.tipoCodice; + this.tipoCodiceImballo = data.tipoCodiceImballo; + this.tipoReg = data.tipoReg; + this.tipoStock = data.tipoStock; + this.transactionGroupId = data.transactionGroupId; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + this.valUltCar = data.valUltCar; + this.valUltScar = data.valUltScar; + this.volumeMc = data.volumeMc; + } +} + +export class MtbAartAnag extends EntityBase { + barCode?: string | null; + codAnag?: string | null; + codCol?: string | null; + codGrpBolla?: string | null; + codMart?: string | null; + codMartAnag?: string | null; + codTagl?: string | null; + colliPedana?: number | null; + descArtAnag?: string | null; + ggShelflife?: number | null; + id?: number | null; + note?: string | null; + type: "mtb_aart_anag"; + + constructor(data: MtbAartAnag) { + super(data); + this.barCode = data.barCode; + this.codAnag = data.codAnag; + this.codCol = data.codCol; + this.codGrpBolla = data.codGrpBolla; + this.codMart = data.codMart; + this.codMartAnag = data.codMartAnag; + this.codTagl = data.codTagl; + this.colliPedana = data.colliPedana; + this.descArtAnag = data.descArtAnag; + this.ggShelflife = data.ggShelflife; + this.id = data.id; + this.note = data.note; + } +} + +export class MtbAartAss extends EntityBase { + codMartGenerico?: string | null; + codMartSpecifico?: string | null; + codMgrp?: string | null; + type: "mtb_aart_ass"; + + constructor(data: MtbAartAss) { + super(data); + this.codMartGenerico = data.codMartGenerico; + this.codMartSpecifico = data.codMartSpecifico; + this.codMgrp = data.codMgrp; + } +} + +export class MtbAartBarCode extends EntityBase { + codBarre?: string | null; + codMart?: string | null; + flagPrimario?: string | null; + qtaCnf?: number | null; + tipoCodBarre?: string | null; + type: "mtb_aart_bar_code"; + + constructor(data: MtbAartBarCode) { + super(data); + this.codBarre = data.codBarre; + this.codMart = data.codMart; + this.flagPrimario = data.flagPrimario; + this.qtaCnf = data.qtaCnf; + this.tipoCodBarre = data.tipoCodBarre; + } +} + +export class MtbAartCarat extends EntityBase { + carat?: string | null; + chkCompatibilita?: boolean | null; + codMart?: string | null; + note?: string | null; + type: "mtb_aart_carat"; + valCarat?: string | null; + + constructor(data: MtbAartCarat) { + super(data); + this.carat = data.carat; + this.chkCompatibilita = data.chkCompatibilita; + this.codMart = data.codMart; + this.note = data.note; + this.valCarat = data.valCarat; + } +} + +export class MtbAartCaratMix extends EntityBase { + carat?: string | null; + idCarat?: number | null; + risultato?: string | null; + type: "mtb_aart_carat_mix"; + valCarat1?: string | null; + valCarat2?: string | null; + + constructor(data: MtbAartCaratMix) { + super(data); + this.carat = data.carat; + this.idCarat = data.idCarat; + this.risultato = data.risultato; + this.valCarat1 = data.valCarat1; + this.valCarat2 = data.valCarat2; + } +} + +export class MtbAartCosto extends EntityBase { + codMart?: string | null; + costoMercato?: number | null; + costoStandard?: number | null; + dataCosto?: Date | null; + idCosto?: number | null; + jsonCostoMercato?: string | null; + jsonCostoStandard?: string | null; + type: "mtb_aart_costo"; + + constructor(data: MtbAartCosto) { + super(data); + this.codMart = data.codMart; + this.costoMercato = data.costoMercato; + this.costoStandard = data.costoStandard; + this.dataCosto = data.dataCosto; + this.idCosto = data.idCosto; + this.jsonCostoMercato = data.jsonCostoMercato; + this.jsonCostoStandard = data.jsonCostoStandard; + } +} + +export class MtbAartDesc extends EntityBase { + codLingua?: string | null; + codMart?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + type: "mtb_aart_desc"; + + constructor(data: MtbAartDesc) { + super(data); + this.codLingua = data.codLingua; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + } +} + +export class MtbAartEqui extends EntityBase { + descrizione?: string | null; + descrizioneEstera?: string | null; + flagEquiCosto?: string | null; + flagEquiPrezzo?: string | null; + idArtEqui?: string | null; + type: "mtb_aart_equi"; + + constructor(data: MtbAartEqui) { + super(data); + this.descrizione = data.descrizione; + this.descrizioneEstera = data.descrizioneEstera; + this.flagEquiCosto = data.flagEquiCosto; + this.flagEquiPrezzo = data.flagEquiPrezzo; + this.idArtEqui = data.idArtEqui; + } +} + +export class MtbAartEquiLog extends EntityBase { + codMart?: string | null; + dataVariazione?: Date | null; + id?: number | null; + idArtEqui?: string | null; + mtbAartEquiLogDet?: MtbAartEquiLogDet[] | null; + note?: string | null; + tipoVariazione?: string | null; + type: "mtb_aart_equi_log"; + userName?: string | null; + + constructor(data: MtbAartEquiLog) { + super(data); + this.codMart = data.codMart; + this.dataVariazione = data.dataVariazione; + this.id = data.id; + this.idArtEqui = data.idArtEqui; + this.mtbAartEquiLogDet = data.mtbAartEquiLogDet; + this.note = data.note; + this.tipoVariazione = data.tipoVariazione; + this.userName = data.userName; + } +} + +export class MtbAartEquiLogDet extends EntityBase { + codAlis?: string | null; + codMdep?: string | null; + id?: number | null; + idLog?: number | null; + przAcq?: number | null; + type: "mtb_aart_equi_log_det"; + + constructor(data: MtbAartEquiLogDet) { + super(data); + this.codAlis = data.codAlis; + this.codMdep = data.codMdep; + this.id = data.id; + this.idLog = data.idLog; + this.przAcq = data.przAcq; + } +} + +export class MtbAartLink extends EntityBase { + b64Content?: string | null; + codMart?: string | null; + descrizioneLink?: string | null; + idAttach?: string | null; + idRiga?: number | null; + pathLink?: string | null; + type: "mtb_aart_link"; + + constructor(data: MtbAartLink) { + super(data); + this.b64Content = data.b64Content; + this.codMart = data.codMart; + this.descrizioneLink = data.descrizioneLink; + this.idAttach = data.idAttach; + this.idRiga = data.idRiga; + this.pathLink = data.pathLink; + } +} + +export class MtbAartMarchio extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + excludedColumns?: string[] | null; + marchio?: string | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "mtb_aart_marchio"; + + constructor(data: MtbAartMarchio) { + super(data); + this.applicationName = data.applicationName; + this.excludedColumns = data.excludedColumns; + this.marchio = data.marchio; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class MtbAartParam extends EntityBase { + codDiviCont?: string | null; + codMartCls?: string | null; + costoStd?: number | null; + parametro?: string | null; + type: "mtb_aart_param"; + valMax?: number | null; + valMin?: number | null; + + constructor(data: MtbAartParam) { + super(data); + this.codDiviCont = data.codDiviCont; + this.codMartCls = data.codMartCls; + this.costoStd = data.costoStd; + this.parametro = data.parametro; + this.valMax = data.valMax; + this.valMin = data.valMin; + } +} + +export class MtbAartQta extends EntityBase { + codMart?: string | null; + codMdep?: string | null; + ctMaxOrd?: number | null; + dataFine?: Date | null; + dataIniz?: Date | null; + idRiga?: number | null; + type: "mtb_aart_qta"; + + constructor(data: MtbAartQta) { + super(data); + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.ctMaxOrd = data.ctMaxOrd; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.idRiga = data.idRiga; + } +} + +export class MtbAartSpec extends EntityBase { + codMart?: string | null; + costoUntSpec?: number | null; + criterioVal?: string | null; + dataInizVal?: Date | null; + note?: string | null; + type: "mtb_aart_spec"; + + constructor(data: MtbAartSpec) { + super(data); + this.codMart = data.codMart; + this.costoUntSpec = data.costoUntSpec; + this.criterioVal = data.criterioVal; + this.dataInizVal = data.dataInizVal; + this.note = data.note; + } +} + +export class MtbAccRecc extends EntityBase { + accisa?: number | null; + annoProt?: number | null; + arc?: string | null; + causale?: string | null; + codAcc?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMart?: string | null; + codProd?: string | null; + codUff?: string | null; + dataDoc?: Date | null; + dataReg?: Date | null; + dataRif?: string | null; + dataTrasmG?: Date | null; + dataTrasmM?: Date | null; + dettArc?: number | null; + grad?: number | null; + idRiga?: number | null; + litAnid?: number | null; + litIdr?: number | null; + mittDest?: string | null; + nazione?: string | null; + numCnf?: number | null; + numDoc?: number | null; + numDocAcc?: number | null; + numProgrArc?: number | null; + numProt?: string | null; + pesoKg?: number | null; + posFisc?: string | null; + progrRiga?: number | null; + qtaCar?: number | null; + qtaScar?: number | null; + serDoc?: string | null; + tipoDoc?: string | null; + tipoFile?: string | null; + tipoMovi?: string | null; + tipoRec?: string | null; + tipoReg?: string | null; + tipoRic?: string | null; + tipoStoc?: string | null; + type: "mtb_acc_recc"; + valoreFisso?: number | null; + volCnf?: number | null; + + constructor(data: MtbAccRecc) { + super(data); + this.accisa = data.accisa; + this.annoProt = data.annoProt; + this.arc = data.arc; + this.causale = data.causale; + this.codAcc = data.codAcc; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.codUff = data.codUff; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.dataRif = data.dataRif; + this.dataTrasmG = data.dataTrasmG; + this.dataTrasmM = data.dataTrasmM; + this.dettArc = data.dettArc; + this.grad = data.grad; + this.idRiga = data.idRiga; + this.litAnid = data.litAnid; + this.litIdr = data.litIdr; + this.mittDest = data.mittDest; + this.nazione = data.nazione; + this.numCnf = data.numCnf; + this.numDoc = data.numDoc; + this.numDocAcc = data.numDocAcc; + this.numProgrArc = data.numProgrArc; + this.numProt = data.numProt; + this.pesoKg = data.pesoKg; + this.posFisc = data.posFisc; + this.progrRiga = data.progrRiga; + this.qtaCar = data.qtaCar; + this.qtaScar = data.qtaScar; + this.serDoc = data.serDoc; + this.tipoDoc = data.tipoDoc; + this.tipoFile = data.tipoFile; + this.tipoMovi = data.tipoMovi; + this.tipoRec = data.tipoRec; + this.tipoReg = data.tipoReg; + this.tipoRic = data.tipoRic; + this.tipoStoc = data.tipoStoc; + this.valoreFisso = data.valoreFisso; + this.volCnf = data.volCnf; + } +} + +export class MtbAccRecf extends EntityBase { + accisa?: number | null; + codAcc?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMart?: string | null; + dataDoc?: Date | null; + dataReg?: Date | null; + dataRif?: string | null; + disponibile?: number | null; + idRiga?: number | null; + impegnato?: number | null; + litAnid?: number | null; + litIdr?: number | null; + numDoc?: number | null; + precedente?: number | null; + serDoc?: string | null; + svincolato?: number | null; + tipoFile?: string | null; + tipoRec?: string | null; + tipoRic?: string | null; + type: "mtb_acc_recf"; + + constructor(data: MtbAccRecf) { + super(data); + this.accisa = data.accisa; + this.codAcc = data.codAcc; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.dataRif = data.dataRif; + this.disponibile = data.disponibile; + this.idRiga = data.idRiga; + this.impegnato = data.impegnato; + this.litAnid = data.litAnid; + this.litIdr = data.litIdr; + this.numDoc = data.numDoc; + this.precedente = data.precedente; + this.serDoc = data.serDoc; + this.svincolato = data.svincolato; + this.tipoFile = data.tipoFile; + this.tipoRec = data.tipoRec; + this.tipoRic = data.tipoRic; + } +} + +export class MtbAccRecg extends EntityBase { + annoProt?: number | null; + capacita?: string | null; + causale?: number | null; + codAcc?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMart?: string | null; + codTagl?: string | null; + codUff?: string | null; + dataDoc?: Date | null; + dataReg?: Date | null; + dataRif?: string | null; + dataTrasmG?: Date | null; + dataTrasmM?: Date | null; + idRiga?: number | null; + importo?: number | null; + lottoA?: number | null; + lottoDa?: number | null; + numContr?: number | null; + numDoc?: number | null; + numProt?: string | null; + progrRiga?: number | null; + qtaCar?: number | null; + qtaScar?: number | null; + serContr?: string | null; + serDoc?: string | null; + tipoContr?: string | null; + tipoDoc?: string | null; + tipoFile?: string | null; + tipoRec?: string | null; + tipoRic?: string | null; + type: "mtb_acc_recg"; + + constructor(data: MtbAccRecg) { + super(data); + this.annoProt = data.annoProt; + this.capacita = data.capacita; + this.causale = data.causale; + this.codAcc = data.codAcc; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.codTagl = data.codTagl; + this.codUff = data.codUff; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.dataRif = data.dataRif; + this.dataTrasmG = data.dataTrasmG; + this.dataTrasmM = data.dataTrasmM; + this.idRiga = data.idRiga; + this.importo = data.importo; + this.lottoA = data.lottoA; + this.lottoDa = data.lottoDa; + this.numContr = data.numContr; + this.numDoc = data.numDoc; + this.numProt = data.numProt; + this.progrRiga = data.progrRiga; + this.qtaCar = data.qtaCar; + this.qtaScar = data.qtaScar; + this.serContr = data.serContr; + this.serDoc = data.serDoc; + this.tipoContr = data.tipoContr; + this.tipoDoc = data.tipoDoc; + this.tipoFile = data.tipoFile; + this.tipoRec = data.tipoRec; + this.tipoRic = data.tipoRic; + } +} + +export class MtbColr extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + artAPeso?: string | null; + barcodeUlIn?: string | null; + barcodeUlOut?: string | null; + causale?: MtbColrCausale | null; + codAnagDoc?: string | null; + codArtFor?: string | null; + codBarre?: string | null; + codCol?: string | null; + codDtipDoc?: string | null; + codJcom?: string | null; + codMart?: string | null; + codMdepIn?: string | null; + codMdepOut?: string | null; + codTagl?: string | null; + dataCollo?: Date | null; + dataColloRif?: Date | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + dataScadPartita?: Date | null; + datetimeRow?: Date | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + flagQtaCnfFissa?: string | null; + gestione?: string | null; + gestioneRif?: string | null; + idRigaDoc?: number | null; + insPartitaMag?: string | null; + mtbColrInfoProd?: MtbColrInfoProd | null; + mtbPartitaMag?: MtbPartitaMag | null; + mtbPartitaMag_descrizione?: string | null; + note?: string | null; + numCnf?: number | null; + numCollo?: number | null; + numColloRif?: number | null; + numDoc?: number | null; + numEtich?: number | null; + numOrd?: number | null; + parent?: any | null; + partitaMag?: string | null; + pesoLordoKg?: number | null; + pesoNettoKg?: number | null; + posizioneIn?: string | null; + posizioneOut?: string | null; + qtaCnf?: number | null; + qtaCol?: number | null; + queryTimeoutSeconds?: number | null; + riga?: number | null; + rigaOrd?: number | null; + segno?: number | null; + serCollo?: string | null; + serColloRif?: string | null; + serDoc?: string | null; + systemNote?: string | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "mtb_colr"; + utente?: string | null; + + constructor(data: MtbColr) { + super(data); + this.applicationName = data.applicationName; + this.artAPeso = data.artAPeso; + this.barcodeUlIn = data.barcodeUlIn; + this.barcodeUlOut = data.barcodeUlOut; + this.causale = data.causale; + this.codAnagDoc = data.codAnagDoc; + this.codArtFor = data.codArtFor; + this.codBarre = data.codBarre; + this.codCol = data.codCol; + this.codDtipDoc = data.codDtipDoc; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codMdepIn = data.codMdepIn; + this.codMdepOut = data.codMdepOut; + this.codTagl = data.codTagl; + this.dataCollo = data.dataCollo; + this.dataColloRif = data.dataColloRif; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.dataScadPartita = data.dataScadPartita; + this.datetimeRow = data.datetimeRow; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.gestione = data.gestione; + this.gestioneRif = data.gestioneRif; + this.idRigaDoc = data.idRigaDoc; + this.insPartitaMag = data.insPartitaMag; + this.mtbColrInfoProd = data.mtbColrInfoProd; + this.mtbPartitaMag = data.mtbPartitaMag; + this.mtbPartitaMag_descrizione = data.mtbPartitaMag_descrizione; + this.note = data.note; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numColloRif = data.numColloRif; + this.numDoc = data.numDoc; + this.numEtich = data.numEtich; + this.numOrd = data.numOrd; + this.parent = data.parent; + this.partitaMag = data.partitaMag; + this.pesoLordoKg = data.pesoLordoKg; + this.pesoNettoKg = data.pesoNettoKg; + this.posizioneIn = data.posizioneIn; + this.posizioneOut = data.posizioneOut; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.riga = data.riga; + this.rigaOrd = data.rigaOrd; + this.segno = data.segno; + this.serCollo = data.serCollo; + this.serColloRif = data.serColloRif; + this.serDoc = data.serDoc; + this.systemNote = data.systemNote; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.utente = data.utente; + } +} + +export class MtbColrInfoProd extends EntityBase { + contrassegnoDa?: string | null; + dataCollo?: Date | null; + gestione?: string | null; + id?: number | null; + numCollo?: number | null; + riga?: number | null; + serCollo?: string | null; + type: "mtb_colr_info_prod"; + + constructor(data: MtbColrInfoProd) { + super(data); + this.contrassegnoDa = data.contrassegnoDa; + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.id = data.id; + this.numCollo = data.numCollo; + this.riga = data.riga; + this.serCollo = data.serCollo; + } +} + +export class MtbCols extends EntityBase { + causale?: MtbColsCausale | null; + codMdep?: string | null; + dataCollo?: Date | null; + dataMove?: Date | null; + gestione?: string | null; + idRiga?: number | null; + modificatoDa?: string | null; + numCollo?: number | null; + posizione?: string | null; + serCollo?: string | null; + type: "mtb_cols"; + + constructor(data: MtbCols) { + super(data); + this.causale = data.causale; + this.codMdep = data.codMdep; + this.dataCollo = data.dataCollo; + this.dataMove = data.dataMove; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.modificatoDa = data.modificatoDa; + this.numCollo = data.numCollo; + this.posizione = data.posizione; + this.serCollo = data.serCollo; + } +} + +export class MtbColt extends EntityBase implements EquatableEntityInterface { + activityId?: string | null; + altezzaCm?: number | null; + annotazioni?: string | null; + applicationName?: string | null; + barcodeUl?: string | null; + calcPeso?: boolean | null; + cancellaRifDoc?: boolean | null; + codAnag?: string | null; + codDtip?: string | null; + codDtipProvv?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codTcol?: string | null; + codVdes?: string | null; + codVlis?: string | null; + dataCollo?: Date | null; + dataDistribuzione?: Date | null; + dataDoc?: Date | null; + dataDocProvv?: Date | null; + dataIns?: Date | null; + dataOrd?: Date | null; + dataUltMod?: Date | null; + dataVers?: Date | null; + excludedColumns?: string[] | null; + filtroOrdini?: string | null; + flagColloAnonimo?: string | null; + flagStampato?: string | null; + gestione?: string | null; + idLotto?: number | null; + idPesata?: string | null; + insPartitaMag?: string | null; + larghezzaCm?: number | null; + lunghezzaCm?: number | null; + modificatoDa?: string | null; + mtbColr?: MtbColr[] | null; + mtbCols?: MtbCols[] | null; + numCollo?: number | null; + numDoc?: number | null; + numDocProvv?: number | null; + numOrd?: number | null; + oraFinePrep?: Date | null; + oraInizPrep?: Date | null; + ordine?: DtbOrdt | null; + parent?: any | null; + pesoKg?: number | null; + pesoNettoKg?: number | null; + posizione?: string | null; + preparatoDa?: string | null; + progressivoUl?: number | null; + queryTimeoutSeconds?: number | null; + rifOrd?: string | null; + segno?: number | null; + serCollo?: string | null; + serDoc?: string | null; + serDocProvv?: string | null; + stpPrz?: string | null; + tableName?: string | null; + trackNumber?: string | null; + transactionGroupId?: number | null; + type: "mtb_colt"; + updateColliFromDoc?: boolean | null; + + constructor(data: MtbColt) { + super(data); + this.activityId = data.activityId; + this.altezzaCm = data.altezzaCm; + this.annotazioni = data.annotazioni; + this.applicationName = data.applicationName; + this.barcodeUl = data.barcodeUl; + this.calcPeso = data.calcPeso; + this.cancellaRifDoc = data.cancellaRifDoc; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codDtipProvv = data.codDtipProvv; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codTcol = data.codTcol; + this.codVdes = data.codVdes; + this.codVlis = data.codVlis; + this.dataCollo = data.dataCollo; + this.dataDistribuzione = data.dataDistribuzione; + this.dataDoc = data.dataDoc; + this.dataDocProvv = data.dataDocProvv; + this.dataIns = data.dataIns; + this.dataOrd = data.dataOrd; + this.dataUltMod = data.dataUltMod; + this.dataVers = data.dataVers; + this.excludedColumns = data.excludedColumns; + this.filtroOrdini = data.filtroOrdini; + this.flagColloAnonimo = data.flagColloAnonimo; + this.flagStampato = data.flagStampato; + this.gestione = data.gestione; + this.idLotto = data.idLotto; + this.idPesata = data.idPesata; + this.insPartitaMag = data.insPartitaMag; + this.larghezzaCm = data.larghezzaCm; + this.lunghezzaCm = data.lunghezzaCm; + this.modificatoDa = data.modificatoDa; + this.mtbColr = data.mtbColr; + this.mtbCols = data.mtbCols; + this.numCollo = data.numCollo; + this.numDoc = data.numDoc; + this.numDocProvv = data.numDocProvv; + this.numOrd = data.numOrd; + this.oraFinePrep = data.oraFinePrep; + this.oraInizPrep = data.oraInizPrep; + this.ordine = data.ordine; + this.parent = data.parent; + this.pesoKg = data.pesoKg; + this.pesoNettoKg = data.pesoNettoKg; + this.posizione = data.posizione; + this.preparatoDa = data.preparatoDa; + this.progressivoUl = data.progressivoUl; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rifOrd = data.rifOrd; + this.segno = data.segno; + this.serCollo = data.serCollo; + this.serDoc = data.serDoc; + this.serDocProvv = data.serDocProvv; + this.stpPrz = data.stpPrz; + this.tableName = data.tableName; + this.trackNumber = data.trackNumber; + this.transactionGroupId = data.transactionGroupId; + this.updateColliFromDoc = data.updateColliFromDoc; + } +} + +export class MtbComp extends EntityBase { + codComp?: string | null; + codMart?: string | null; + codMartAlternativi?: string | null; + percPrezzo?: number | null; + qtaStd?: number | null; + type: "mtb_comp"; + + constructor(data: MtbComp) { + super(data); + this.codComp = data.codComp; + this.codMart = data.codMart; + this.codMartAlternativi = data.codMartAlternativi; + this.percPrezzo = data.percPrezzo; + this.qtaStd = data.qtaStd; + } +} + +export class MtbConf extends EntityBase { + codMcon?: string | null; + descrizione?: string | null; + type: "mtb_conf"; + + constructor(data: MtbConf) { + super(data); + this.codMcon = data.codMcon; + this.descrizione = data.descrizione; + } +} + +export class MtbDepo extends EntityBase { + cap?: string | null; + chkGiacenzaNeg?: boolean | null; + citta?: string | null; + codAnag?: string | null; + codCcau?: string | null; + codCcon?: string | null; + codDtip?: string | null; + codDtipFat?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codMdepCv?: string | null; + codMdepReso?: string | null; + codVdes?: string | null; + codVlis?: string | null; + dataFineVent?: Date | null; + dataInizVent?: Date | null; + datiCatastali?: string | null; + descrizione?: string | null; + eMail?: string | null; + fax?: string | null; + flagContoVendita?: string | null; + flagGestisciTracc?: boolean | null; + flagMovimentabile?: string | null; + flagTipoNegozio?: string | null; + flagVal?: string | null; + idDepoSian?: number | null; + indirizzo?: string | null; + mrlDepoArtEsclusiWms?: MrlDepoArtEsclusiWms[] | null; + mtbDepoCasse?: MtbDepoCasse[] | null; + mtbDepoIntercode?: MtbDepoIntercode[] | null; + mtbDepoMarcatempo?: MtbDepoMarcatempo[] | null; + mtbDepoOper?: MtbDepoOper[] | null; + mtbDepoPosizioni?: MtbDepoPosizioni[] | null; + nazione?: string | null; + ntbTipiInca?: NtbTipiInca[] | null; + percDepo?: number | null; + prov?: string | null; + serie?: string | null; + sitoWeb?: string | null; + tel?: string | null; + type: "mtb_depo"; + valDepo?: number | null; + + constructor(data: MtbDepo) { + super(data); + this.cap = data.cap; + this.chkGiacenzaNeg = data.chkGiacenzaNeg; + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codCcau = data.codCcau; + this.codCcon = data.codCcon; + this.codDtip = data.codDtip; + this.codDtipFat = data.codDtipFat; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codMdepCv = data.codMdepCv; + this.codMdepReso = data.codMdepReso; + this.codVdes = data.codVdes; + this.codVlis = data.codVlis; + this.dataFineVent = data.dataFineVent; + this.dataInizVent = data.dataInizVent; + this.datiCatastali = data.datiCatastali; + this.descrizione = data.descrizione; + this.eMail = data.eMail; + this.fax = data.fax; + this.flagContoVendita = data.flagContoVendita; + this.flagGestisciTracc = data.flagGestisciTracc; + this.flagMovimentabile = data.flagMovimentabile; + this.flagTipoNegozio = data.flagTipoNegozio; + this.flagVal = data.flagVal; + this.idDepoSian = data.idDepoSian; + this.indirizzo = data.indirizzo; + this.mrlDepoArtEsclusiWms = data.mrlDepoArtEsclusiWms; + this.mtbDepoCasse = data.mtbDepoCasse; + this.mtbDepoIntercode = data.mtbDepoIntercode; + this.mtbDepoMarcatempo = data.mtbDepoMarcatempo; + this.mtbDepoOper = data.mtbDepoOper; + this.mtbDepoPosizioni = data.mtbDepoPosizioni; + this.nazione = data.nazione; + this.ntbTipiInca = data.ntbTipiInca; + this.percDepo = data.percDepo; + this.prov = data.prov; + this.serie = data.serie; + this.sitoWeb = data.sitoWeb; + this.tel = data.tel; + this.valDepo = data.valDepo; + } +} + +export class MtbDepoArt extends EntityBase { + codMart?: string | null; + codMdep?: string | null; + flagAttivo?: string | null; + type: "mtb_depo_art"; + + constructor(data: MtbDepoArt) { + super(data); + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.flagAttivo = data.flagAttivo; + } +} + +export class MtbDepoCasse extends EntityBase { + codCassa?: string | null; + codDtipFat?: string | null; + codMdep?: string | null; + flagTipoNumerazione?: string | null; + matricola?: string | null; + serDoc?: string | null; + type: "mtb_depo_casse"; + + constructor(data: MtbDepoCasse) { + super(data); + this.codCassa = data.codCassa; + this.codDtipFat = data.codDtipFat; + this.codMdep = data.codMdep; + this.flagTipoNumerazione = data.flagTipoNumerazione; + this.matricola = data.matricola; + this.serDoc = data.serDoc; + } +} + +export class MtbDepoCluster extends EntityBase { + codCluster?: string | null; + codJfas?: string | null; + codMdep?: string | null; + id?: number | null; + type: "mtb_depo_cluster"; + + constructor(data: MtbDepoCluster) { + super(data); + this.codCluster = data.codCluster; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.id = data.id; + } +} + +export class MtbDepoIntercode extends EntityBase { + codForn?: string | null; + codMdep?: string | null; + codVdes?: string | null; + emailOrdine?: string | null; + id?: number | null; + intercode?: string | null; + type: "mtb_depo_intercode"; + userName?: string | null; + + constructor(data: MtbDepoIntercode) { + super(data); + this.codForn = data.codForn; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.emailOrdine = data.emailOrdine; + this.id = data.id; + this.intercode = data.intercode; + this.userName = data.userName; + } +} + +export class MtbDepoMarcatempo extends EntityBase { + codMdep?: string | null; + idDisp?: string | null; + type: "mtb_depo_marcatempo"; + + constructor(data: MtbDepoMarcatempo) { + super(data); + this.codMdep = data.codMdep; + this.idDisp = data.idDisp; + } +} + +export class MtbDepoOper extends EntityBase { + codBarre?: string | null; + codMdep?: string | null; + codMdepOper?: string | null; + descrizione?: string | null; + flagStorno?: string | null; + type: "mtb_depo_oper"; + + constructor(data: MtbDepoOper) { + super(data); + this.codBarre = data.codBarre; + this.codMdep = data.codMdep; + this.codMdepOper = data.codMdepOper; + this.descrizione = data.descrizione; + this.flagStorno = data.flagStorno; + } +} + +export class MtbDepoPosizioni extends EntityBase { + capacita?: number | null; + codMdep?: string | null; + descrizione?: string | null; + flagMonoCollo?: string | null; + flagSilosLiquidi?: boolean | null; + idPosizione?: number | null; + posizione?: string | null; + postiPallet?: number | null; + priorita?: number | null; + stbPosizioni?: StbPosizioni | null; + tipoMagazAutomatico?: string | null; + type: "mtb_depo_posizioni"; + + constructor(data: MtbDepoPosizioni) { + super(data); + this.capacita = data.capacita; + this.codMdep = data.codMdep; + this.descrizione = data.descrizione; + this.flagMonoCollo = data.flagMonoCollo; + this.flagSilosLiquidi = data.flagSilosLiquidi; + this.idPosizione = data.idPosizione; + this.posizione = data.posizione; + this.postiPallet = data.postiPallet; + this.priorita = data.priorita; + this.stbPosizioni = data.stbPosizioni; + this.tipoMagazAutomatico = data.tipoMagazAutomatico; + } +} + +export class MtbDepoTipi extends EntityBase { + codTipoDepo?: string | null; + descrizione?: string | null; + gestisciColli?: boolean | null; + type: "mtb_depo_tipi"; + + constructor(data: MtbDepoTipi) { + super(data); + this.codTipoDepo = data.codTipoDepo; + this.descrizione = data.descrizione; + this.gestisciColli = data.gestisciColli; + } +} + +export class MtbEcrCateg extends EntityBase { + codEcrCat?: string | null; + codEcrMcat?: string | null; + descrizione?: string | null; + mtbEcrTipo?: MtbEcrTipo[] | null; + type: "mtb_ecr_categ"; + + constructor(data: MtbEcrCateg) { + super(data); + this.codEcrCat = data.codEcrCat; + this.codEcrMcat = data.codEcrMcat; + this.descrizione = data.descrizione; + this.mtbEcrTipo = data.mtbEcrTipo; + } +} + +export class MtbEcrMcateg extends EntityBase { + codEcrMcat?: string | null; + codEcrRep?: string | null; + descrizione?: string | null; + mtbEcrCateg?: MtbEcrCateg[] | null; + type: "mtb_ecr_mcateg"; + + constructor(data: MtbEcrMcateg) { + super(data); + this.codEcrMcat = data.codEcrMcat; + this.codEcrRep = data.codEcrRep; + this.descrizione = data.descrizione; + this.mtbEcrCateg = data.mtbEcrCateg; + } +} + +export class MtbEcrReparti extends EntityBase { + attachId?: string | null; + codEcrRep?: string | null; + descrizione?: string | null; + mtbEcrMcateg?: MtbEcrMcateg[] | null; + type: "mtb_ecr_reparti"; + + constructor(data: MtbEcrReparti) { + super(data); + this.attachId = data.attachId; + this.codEcrRep = data.codEcrRep; + this.descrizione = data.descrizione; + this.mtbEcrMcateg = data.mtbEcrMcateg; + } +} + +export class MtbEcrStipo extends EntityBase { + codEcrStipo?: string | null; + codEcrTipo?: string | null; + descrizione?: string | null; + type: "mtb_ecr_stipo"; + + constructor(data: MtbEcrStipo) { + super(data); + this.codEcrStipo = data.codEcrStipo; + this.codEcrTipo = data.codEcrTipo; + this.descrizione = data.descrizione; + } +} + +export class MtbEcrTipo extends EntityBase { + codEcrCat?: string | null; + codEcrTipo?: string | null; + descrizione?: string | null; + mtbEcrStipo?: MtbEcrStipo[] | null; + type: "mtb_ecr_tipo"; + + constructor(data: MtbEcrTipo) { + super(data); + this.codEcrCat = data.codEcrCat; + this.codEcrTipo = data.codEcrTipo; + this.descrizione = data.descrizione; + this.mtbEcrStipo = data.mtbEcrStipo; + } +} + +export class MtbGrpBolla extends EntityBase { + codGrpBolla?: string | null; + descrizione?: string | null; + mtbGrpBollar?: MtbGrpBollar[] | null; + type: "mtb_grp_bolla"; + + constructor(data: MtbGrpBolla) { + super(data); + this.codGrpBolla = data.codGrpBolla; + this.descrizione = data.descrizione; + this.mtbGrpBollar = data.mtbGrpBollar; + } +} + +export class MtbGrpBollar extends EntityBase { + codGrpBolla?: string | null; + codPagaAlt?: string | null; + tipoPaga?: string | null; + type: "mtb_grp_bollar"; + + constructor(data: MtbGrpBollar) { + super(data); + this.codGrpBolla = data.codGrpBolla; + this.codPagaAlt = data.codPagaAlt; + this.tipoPaga = data.tipoPaga; + } +} + +export class MtbGrup extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codMgrp?: string | null; + costiArtObb?: boolean | null; + criterioVal?: string | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + flagAttivo?: boolean | null; + flagTracciabilita?: boolean | null; + flagValMag?: string | null; + logoWeb?: string | null; + mtbSfam?: MtbSfam[] | null; + mtbSgrp?: MtbSgrp[] | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + ricaviArtObb?: boolean | null; + tableName?: string | null; + tipoMgrp?: TipoGruppo | null; + transactionGroupId?: number | null; + type: "mtb_grup"; + + constructor(data: MtbGrup) { + super(data); + this.applicationName = data.applicationName; + this.codMgrp = data.codMgrp; + this.costiArtObb = data.costiArtObb; + this.criterioVal = data.criterioVal; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.flagAttivo = data.flagAttivo; + this.flagTracciabilita = data.flagTracciabilita; + this.flagValMag = data.flagValMag; + this.logoWeb = data.logoWeb; + this.mtbSfam = data.mtbSfam; + this.mtbSgrp = data.mtbSgrp; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.ricaviArtObb = data.ricaviArtObb; + this.tableName = data.tableName; + this.tipoMgrp = data.tipoMgrp; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class MtbGrupCosti extends EntityBase { + codMgrp?: string | null; + descrizione?: string | null; + idRiga?: number | null; + percCosto?: number | null; + type: "mtb_grup_costi"; + + constructor(data: MtbGrupCosti) { + super(data); + this.codMgrp = data.codMgrp; + this.descrizione = data.descrizione; + this.idRiga = data.idRiga; + this.percCosto = data.percCosto; + } +} + +export class MtbGrupLingua extends EntityBase { + codLingua?: string | null; + codMgrp?: string | null; + descrizioneEstera?: string | null; + type: "mtb_grup_lingua"; + + constructor(data: MtbGrupLingua) { + super(data); + this.codLingua = data.codLingua; + this.codMgrp = data.codMgrp; + this.descrizioneEstera = data.descrizioneEstera; + } +} + +export class MtbGrupSgrpAss extends EntityBase { + codMgrp?: string | null; + codMsgr?: string | null; + len?: number | null; + type: "mtb_grup_sgrp_ass"; + value?: string | null; + + constructor(data: MtbGrupSgrpAss) { + super(data); + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.len = data.len; + this.value = data.value; + } +} + +export class MtbInvenr extends EntityBase { + codCol?: string | null; + codMart?: string | null; + codMdep?: string | null; + codTagl?: string | null; + costoInv?: number | null; + dataCreate?: Date | null; + dataInventario?: Date | null; + dataOraInv?: Date | null; + dataScadPartitaMag?: Date | null; + dataUltMod?: Date | null; + descrizione?: string | null; + giacenzaConf?: number | null; + giacenzaDb?: number | null; + idDisp?: string | null; + idInventario?: number | null; + idRiga?: number | null; + modificatoDa?: string | null; + mtbPartitaMag?: MtbPartitaMag | null; + numConf?: number | null; + partitaMag?: string | null; + qtaInv?: number | null; + regolaCalcoloCosto?: string | null; + riassegnaCosto?: boolean | null; + scanCodBarre?: string | null; + type: "mtb_invenr"; + untMis?: string | null; + zona?: string | null; + + constructor(data: MtbInvenr) { + super(data); + this.codCol = data.codCol; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTagl = data.codTagl; + this.costoInv = data.costoInv; + this.dataCreate = data.dataCreate; + this.dataInventario = data.dataInventario; + this.dataOraInv = data.dataOraInv; + this.dataScadPartitaMag = data.dataScadPartitaMag; + this.dataUltMod = data.dataUltMod; + this.descrizione = data.descrizione; + this.giacenzaConf = data.giacenzaConf; + this.giacenzaDb = data.giacenzaDb; + this.idDisp = data.idDisp; + this.idInventario = data.idInventario; + this.idRiga = data.idRiga; + this.modificatoDa = data.modificatoDa; + this.mtbPartitaMag = data.mtbPartitaMag; + this.numConf = data.numConf; + this.partitaMag = data.partitaMag; + this.qtaInv = data.qtaInv; + this.regolaCalcoloCosto = data.regolaCalcoloCosto; + this.riassegnaCosto = data.riassegnaCosto; + this.scanCodBarre = data.scanCodBarre; + this.untMis = data.untMis; + this.zona = data.zona; + } +} + +export class MtbInvent extends EntityBase { + causale?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + dataDoc?: Date | null; + dataIns?: Date | null; + dataInventario?: Date | null; + dataOraFine?: Date | null; + dataOraInizio?: Date | null; + dataReg?: Date | null; + dataVer?: Date | null; + filtro?: string | null; + flagOperazione?: string | null; + flagStato?: string | null; + idInventario?: number | null; + inseritoDa?: string | null; + mtbInvenr?: MtbInvenr[] | null; + numDoc?: number | null; + registratoDa?: string | null; + regolaCalcoloCosto?: string | null; + serDoc?: string | null; + tipoGiacenza?: string | null; + tipoVerifica?: string | null; + type: "mtb_invent"; + verificatoDa?: string | null; + + constructor(data: MtbInvent) { + super(data); + this.causale = data.causale; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.dataDoc = data.dataDoc; + this.dataIns = data.dataIns; + this.dataInventario = data.dataInventario; + this.dataOraFine = data.dataOraFine; + this.dataOraInizio = data.dataOraInizio; + this.dataReg = data.dataReg; + this.dataVer = data.dataVer; + this.filtro = data.filtro; + this.flagOperazione = data.flagOperazione; + this.flagStato = data.flagStato; + this.idInventario = data.idInventario; + this.inseritoDa = data.inseritoDa; + this.mtbInvenr = data.mtbInvenr; + this.numDoc = data.numDoc; + this.registratoDa = data.registratoDa; + this.regolaCalcoloCosto = data.regolaCalcoloCosto; + this.serDoc = data.serDoc; + this.tipoGiacenza = data.tipoGiacenza; + this.tipoVerifica = data.tipoVerifica; + this.verificatoDa = data.verificatoDa; + } +} + +export class MtbLisa extends EntityBase { + codAliq?: string | null; + codAlis?: string | null; + codArtFor?: string | null; + codBarre?: string | null; + codBarreImb?: string | null; + codMart?: string | null; + colliPedana?: number | null; + colliStrato?: number | null; + dataAggPrz?: Date | null; + dataUltPrezzo?: Date | null; + descrArtForn?: string | null; + famiglia?: string | null; + flagAttivo?: string | null; + flagFornPref?: string | null; + flagQtaMultipla?: string | null; + ggApprovig?: number | null; + note?: string | null; + perc1?: number | null; + perc2?: number | null; + perc3?: number | null; + perc4?: number | null; + percOneri?: number | null; + percPromo?: number | null; + przAcq?: number | null; + przVenSug?: number | null; + qtaCnf?: number | null; + qtaMinOrd?: number | null; + rapConv?: number | null; + shelfLife?: number | null; + tipoAzione?: string | null; + type: "mtb_lisa"; + untMisAcq?: string | null; + valOneri?: number | null; + valPromo?: number | null; + + constructor(data: MtbLisa) { + super(data); + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codBarre = data.codBarre; + this.codBarreImb = data.codBarreImb; + this.codMart = data.codMart; + this.colliPedana = data.colliPedana; + this.colliStrato = data.colliStrato; + this.dataAggPrz = data.dataAggPrz; + this.dataUltPrezzo = data.dataUltPrezzo; + this.descrArtForn = data.descrArtForn; + this.famiglia = data.famiglia; + this.flagAttivo = data.flagAttivo; + this.flagFornPref = data.flagFornPref; + this.flagQtaMultipla = data.flagQtaMultipla; + this.ggApprovig = data.ggApprovig; + this.note = data.note; + this.perc1 = data.perc1; + this.perc2 = data.perc2; + this.perc3 = data.perc3; + this.perc4 = data.perc4; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.przAcq = data.przAcq; + this.przVenSug = data.przVenSug; + this.qtaCnf = data.qtaCnf; + this.qtaMinOrd = data.qtaMinOrd; + this.rapConv = data.rapConv; + this.shelfLife = data.shelfLife; + this.tipoAzione = data.tipoAzione; + this.untMisAcq = data.untMisAcq; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + } +} + +export class MtbLisaCostoData extends EntityBase { + codAnag?: string | null; + codArtFor?: string | null; + codDtip?: string | null; + codMart?: string | null; + codPromo?: string | null; + costoLisa?: number | null; + dataDoc?: Date | null; + dataReg?: Date | null; + id?: number | null; + listino?: string | null; + numDoc?: number | null; + partIva?: string | null; + serDoc?: string | null; + type: "mtb_lisa_costo_data"; + + constructor(data: MtbLisaCostoData) { + super(data); + this.codAnag = data.codAnag; + this.codArtFor = data.codArtFor; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.codPromo = data.codPromo; + this.costoLisa = data.costoLisa; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.id = data.id; + this.listino = data.listino; + this.numDoc = data.numDoc; + this.partIva = data.partIva; + this.serDoc = data.serDoc; + } +} + +export class MtbLisaData extends EntityBase { + codAliq?: string | null; + codAlis?: string | null; + codArtFor?: string | null; + codBarre?: string | null; + codBarreImb?: string | null; + codMart?: string | null; + colliPedana?: number | null; + colliStrato?: number | null; + dataAggPrz?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + descrArtForn?: string | null; + famiglia?: string | null; + flagAttivo?: string | null; + flagFornPref?: string | null; + flagQtaMultipla?: string | null; + flagTipoPromo?: string | null; + ggApprovig?: number | null; + inseritoDa?: string | null; + modificatoDa?: string | null; + mtbLisa?: MtbLisa | null; + mtbLisaPromo?: MtbLisaPromo | null; + note?: string | null; + noteCommerciali?: string | null; + partitaMag?: string | null; + perc1?: number | null; + perc2?: number | null; + perc3?: number | null; + perc4?: number | null; + percOneri?: number | null; + percPromo?: number | null; + percPromo1?: number | null; + percPromo2?: number | null; + percPromo3?: number | null; + percPromo4?: number | null; + percProv?: number | null; + przAcq?: number | null; + przVenSug?: number | null; + qtaAcqContr?: number | null; + qtaCnf?: number | null; + qtaMinOrd?: number | null; + rapConv?: number | null; + rifPartitaMag?: MtbPartitaMag | null; + scontoCartoni?: number | null; + scontoPedane?: number | null; + scontoStrato?: number | null; + shelfLife?: number | null; + tipoVariazione?: string | null; + type: "mtb_lisa_data"; + untMisAcq?: string | null; + valOneri?: number | null; + valPromo?: number | null; + valProv?: number | null; + versione?: number | null; + + constructor(data: MtbLisaData) { + super(data); + this.codAliq = data.codAliq; + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codBarre = data.codBarre; + this.codBarreImb = data.codBarreImb; + this.codMart = data.codMart; + this.colliPedana = data.colliPedana; + this.colliStrato = data.colliStrato; + this.dataAggPrz = data.dataAggPrz; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.descrArtForn = data.descrArtForn; + this.famiglia = data.famiglia; + this.flagAttivo = data.flagAttivo; + this.flagFornPref = data.flagFornPref; + this.flagQtaMultipla = data.flagQtaMultipla; + this.flagTipoPromo = data.flagTipoPromo; + this.ggApprovig = data.ggApprovig; + this.inseritoDa = data.inseritoDa; + this.modificatoDa = data.modificatoDa; + this.mtbLisa = data.mtbLisa; + this.mtbLisaPromo = data.mtbLisaPromo; + this.note = data.note; + this.noteCommerciali = data.noteCommerciali; + this.partitaMag = data.partitaMag; + this.perc1 = data.perc1; + this.perc2 = data.perc2; + this.perc3 = data.perc3; + this.perc4 = data.perc4; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.percPromo1 = data.percPromo1; + this.percPromo2 = data.percPromo2; + this.percPromo3 = data.percPromo3; + this.percPromo4 = data.percPromo4; + this.percProv = data.percProv; + this.przAcq = data.przAcq; + this.przVenSug = data.przVenSug; + this.qtaAcqContr = data.qtaAcqContr; + this.qtaCnf = data.qtaCnf; + this.qtaMinOrd = data.qtaMinOrd; + this.rapConv = data.rapConv; + this.rifPartitaMag = data.rifPartitaMag; + this.scontoCartoni = data.scontoCartoni; + this.scontoPedane = data.scontoPedane; + this.scontoStrato = data.scontoStrato; + this.shelfLife = data.shelfLife; + this.tipoVariazione = data.tipoVariazione; + this.untMisAcq = data.untMisAcq; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + this.valProv = data.valProv; + this.versione = data.versione; + } +} + +export class MtbLisaPromo extends EntityBase { + codAlis?: string | null; + codArtFor?: string | null; + percPromo1?: number | null; + percPromo2?: number | null; + percPromo3?: number | null; + percPromo4?: number | null; + type: "mtb_lisa_promo"; + versione?: number | null; + + constructor(data: MtbLisaPromo) { + super(data); + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.percPromo1 = data.percPromo1; + this.percPromo2 = data.percPromo2; + this.percPromo3 = data.percPromo3; + this.percPromo4 = data.percPromo4; + this.versione = data.versione; + } +} + +export class MtbLisv extends EntityBase { + addRicSpese?: boolean | null; + addScoSpese?: boolean | null; + addValSpese?: boolean | null; + aggiornatoDa?: string | null; + codMart?: string | null; + codTcolUi?: string | null; + codTcolUl?: string | null; + codVlis?: string | null; + colliPedana?: number | null; + dataAggPrz?: Date | null; + fissoProv?: number | null; + maggPrzVend?: number | null; + note?: string | null; + percGest?: number | null; + percIspe?: number | null; + percOneri?: number | null; + percPromo?: number | null; + percProv?: number | null; + percSco1?: number | null; + percSco2?: number | null; + percSco3?: number | null; + percSco4?: number | null; + posizione?: string | null; + przBase?: number | null; + przVend?: number | null; + przVendIva?: number | null; + rapConv?: number | null; + ricarica?: number | null; + type: "mtb_lisv"; + untMisVen?: string | null; + valGest?: number | null; + valIspe?: number | null; + valOneri?: number | null; + valPromo?: number | null; + + constructor(data: MtbLisv) { + super(data); + this.addRicSpese = data.addRicSpese; + this.addScoSpese = data.addScoSpese; + this.addValSpese = data.addValSpese; + this.aggiornatoDa = data.aggiornatoDa; + this.codMart = data.codMart; + this.codTcolUi = data.codTcolUi; + this.codTcolUl = data.codTcolUl; + this.codVlis = data.codVlis; + this.colliPedana = data.colliPedana; + this.dataAggPrz = data.dataAggPrz; + this.fissoProv = data.fissoProv; + this.maggPrzVend = data.maggPrzVend; + this.note = data.note; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.percProv = data.percProv; + this.percSco1 = data.percSco1; + this.percSco2 = data.percSco2; + this.percSco3 = data.percSco3; + this.percSco4 = data.percSco4; + this.posizione = data.posizione; + this.przBase = data.przBase; + this.przVend = data.przVend; + this.przVendIva = data.przVendIva; + this.rapConv = data.rapConv; + this.ricarica = data.ricarica; + this.untMisVen = data.untMisVen; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + } +} + +export class MtbLisvAgg4Cedi extends EntityBase { + codAlis?: string | null; + codAnag?: string | null; + codMart?: string | null; + codPromo?: string | null; + dataPopolamento?: Date | null; + type: "mtb_lisv_agg_4_cedi"; + valUntDoc?: number | null; + + constructor(data: MtbLisvAgg4Cedi) { + super(data); + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codPromo = data.codPromo; + this.dataPopolamento = data.dataPopolamento; + this.valUntDoc = data.valUntDoc; + } +} + +export class MtbLisvAgg4Lisa extends EntityBase { + codAlis?: string | null; + codArtFor?: string | null; + codMart?: string | null; + codMartAcq?: string | null; + codPromo?: string | null; + dataPopolamento?: Date | null; + dataValidita?: Date | null; + przLisa?: number | null; + type: "mtb_lisv_agg_4_lisa"; + + constructor(data: MtbLisvAgg4Lisa) { + super(data); + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.codMartAcq = data.codMartAcq; + this.codPromo = data.codPromo; + this.dataPopolamento = data.dataPopolamento; + this.dataValidita = data.dataValidita; + this.przLisa = data.przLisa; + } +} + +export class MtbLisvData extends EntityBase { + addRicSpese?: boolean | null; + addScoSpese?: boolean | null; + addValSpese?: boolean | null; + aggiornatoDa?: string | null; + codAliq?: string | null; + codMart?: string | null; + codPromo?: string | null; + codTcolUi?: string | null; + codTcolUl?: string | null; + codVlis?: string | null; + colliPedana?: number | null; + colliStrato?: number | null; + dataAggPrz?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + datiLogistici?: boolean | null; + descrPromo?: string | null; + descrizioneHtml?: string | null; + elenco_lisv_rif?: string | null; + fissoProv?: number | null; + flagEquiPrezzo?: string | null; + flagListIvaInclusa?: string | null; + flagPrzBloccato?: string | null; + flagVolantino?: boolean | null; + giacenza?: number | null; + idArtEqui?: string | null; + inseritoDa?: string | null; + listData?: { [index: string]: any } | null; + maggPrzVend?: number | null; + mtbLisv?: MtbLisv | null; + note?: string | null; + noteLisv?: string | null; + percGest?: number | null; + percIspe?: number | null; + percOneri?: number | null; + percPromo?: number | null; + percProv?: number | null; + percSco1?: number | null; + percSco2?: number | null; + percSco3?: number | null; + percSco4?: number | null; + posizione?: string | null; + przBase?: number | null; + przVend?: number | null; + przVendIva?: number | null; + przVendSug?: number | null; + qtaCnf?: number | null; + rapConv?: number | null; + ricarica?: number | null; + scontoCartoni?: number | null; + scontoPedane?: number | null; + scontoStrato?: number | null; + systemNote?: string | null; + tagliaMax?: string | null; + tagliaMin?: string | null; + tipoVariazione?: string | null; + ttbLisvTaglieData?: TtbLisvTaglieData[] | null; + type: "mtb_lisv_data"; + untMisVen?: string | null; + valGest?: number | null; + valIspe?: number | null; + valOneri?: number | null; + valPromo?: number | null; + versione?: number | null; + + constructor(data: MtbLisvData) { + super(data); + this.addRicSpese = data.addRicSpese; + this.addScoSpese = data.addScoSpese; + this.addValSpese = data.addValSpese; + this.aggiornatoDa = data.aggiornatoDa; + this.codAliq = data.codAliq; + this.codMart = data.codMart; + this.codPromo = data.codPromo; + this.codTcolUi = data.codTcolUi; + this.codTcolUl = data.codTcolUl; + this.codVlis = data.codVlis; + this.colliPedana = data.colliPedana; + this.colliStrato = data.colliStrato; + this.dataAggPrz = data.dataAggPrz; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.datiLogistici = data.datiLogistici; + this.descrPromo = data.descrPromo; + this.descrizioneHtml = data.descrizioneHtml; + this.elenco_lisv_rif = data.elenco_lisv_rif; + this.fissoProv = data.fissoProv; + this.flagEquiPrezzo = data.flagEquiPrezzo; + this.flagListIvaInclusa = data.flagListIvaInclusa; + this.flagPrzBloccato = data.flagPrzBloccato; + this.flagVolantino = data.flagVolantino; + this.giacenza = data.giacenza; + this.idArtEqui = data.idArtEqui; + this.inseritoDa = data.inseritoDa; + this.listData = data.listData; + this.maggPrzVend = data.maggPrzVend; + this.mtbLisv = data.mtbLisv; + this.note = data.note; + this.noteLisv = data.noteLisv; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.percProv = data.percProv; + this.percSco1 = data.percSco1; + this.percSco2 = data.percSco2; + this.percSco3 = data.percSco3; + this.percSco4 = data.percSco4; + this.posizione = data.posizione; + this.przBase = data.przBase; + this.przVend = data.przVend; + this.przVendIva = data.przVendIva; + this.przVendSug = data.przVendSug; + this.qtaCnf = data.qtaCnf; + this.rapConv = data.rapConv; + this.ricarica = data.ricarica; + this.scontoCartoni = data.scontoCartoni; + this.scontoPedane = data.scontoPedane; + this.scontoStrato = data.scontoStrato; + this.systemNote = data.systemNote; + this.tagliaMax = data.tagliaMax; + this.tagliaMin = data.tagliaMin; + this.tipoVariazione = data.tipoVariazione; + this.ttbLisvTaglieData = data.ttbLisvTaglieData; + this.untMisVen = data.untMisVen; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + this.versione = data.versione; + } +} + +export class MtbLisvDataSpese extends EntityBase { + a?: number | null; + codSpes?: string | null; + codVlis?: string | null; + da?: number | null; + dataIniz?: Date | null; + id?: number | null; + percRicarico?: number | null; + percSconto?: number | null; + type: "mtb_lisv_data_spese"; + valRicarico?: number | null; + versione?: number | null; + + constructor(data: MtbLisvDataSpese) { + super(data); + this.a = data.a; + this.codSpes = data.codSpes; + this.codVlis = data.codVlis; + this.da = data.da; + this.dataIniz = data.dataIniz; + this.id = data.id; + this.percRicarico = data.percRicarico; + this.percSconto = data.percSconto; + this.valRicarico = data.valRicarico; + this.versione = data.versione; + } +} + +export class MtbPart extends EntityBase { + codMart?: string | null; + codMdep?: string | null; + codUltClie?: string | null; + codUltForn?: string | null; + dataUltCar?: Date | null; + dataUltScar?: Date | null; + mtbPartDt?: MtbPartDt[] | null; + notePos?: string | null; + posizione?: string | null; + promoSett?: string | null; + promoSettPrec?: string | null; + qtaAccant?: number | null; + qtaCol?: number | null; + qtaEsistente?: number | null; + qtaImpCli?: number | null; + qtaImpLav?: number | null; + qtaOrdFor?: number | null; + scortaMax?: number | null; + scortaMin?: number | null; + type: "mtb_part"; + valUltCar?: number | null; + valUltScar?: number | null; + vendMese?: number | null; + vendMeseAnnoPrec?: number | null; + vendMesePrec?: number | null; + vendMesePrecAnnoPrec?: number | null; + vendSett?: number | null; + vendSettPrec?: number | null; + + constructor(data: MtbPart) { + super(data); + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codUltClie = data.codUltClie; + this.codUltForn = data.codUltForn; + this.dataUltCar = data.dataUltCar; + this.dataUltScar = data.dataUltScar; + this.mtbPartDt = data.mtbPartDt; + this.notePos = data.notePos; + this.posizione = data.posizione; + this.promoSett = data.promoSett; + this.promoSettPrec = data.promoSettPrec; + this.qtaAccant = data.qtaAccant; + this.qtaCol = data.qtaCol; + this.qtaEsistente = data.qtaEsistente; + this.qtaImpCli = data.qtaImpCli; + this.qtaImpLav = data.qtaImpLav; + this.qtaOrdFor = data.qtaOrdFor; + this.scortaMax = data.scortaMax; + this.scortaMin = data.scortaMin; + this.valUltCar = data.valUltCar; + this.valUltScar = data.valUltScar; + this.vendMese = data.vendMese; + this.vendMeseAnnoPrec = data.vendMeseAnnoPrec; + this.vendMesePrec = data.vendMesePrec; + this.vendMesePrecAnnoPrec = data.vendMesePrecAnnoPrec; + this.vendSett = data.vendSett; + this.vendSettPrec = data.vendSettPrec; + } +} + +export class MtbPartDt extends EntityBase { + codCol?: string | null; + codMart?: string | null; + codMdep?: string | null; + codTagl?: string | null; + concatena?: string | null; + partitaMag?: string | null; + qtaAccant?: number | null; + qtaCol?: number | null; + qtaEsistente?: number | null; + qtaImpCli?: number | null; + qtaImpLav?: number | null; + qtaOrdFor?: number | null; + type: "mtb_part_dt"; + + constructor(data: MtbPartDt) { + super(data); + this.codCol = data.codCol; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTagl = data.codTagl; + this.concatena = data.concatena; + this.partitaMag = data.partitaMag; + this.qtaAccant = data.qtaAccant; + this.qtaCol = data.qtaCol; + this.qtaEsistente = data.qtaEsistente; + this.qtaImpCli = data.qtaImpCli; + this.qtaImpLav = data.qtaImpLav; + this.qtaOrdFor = data.qtaOrdFor; + } +} + +export class MtbPartitaMag extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + barcode?: string | null; + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codMart?: string | null; + costoUntUmMag?: number | null; + dataAggPrz?: Date | null; + dataIns?: Date | null; + dataProd?: Date | null; + dataScad?: Date | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + flagImballoArendere?: string | null; + flagStato?: string | null; + mtbPartitaMagCarat?: MtbPartitaMagCarat[] | null; + nazioneProv?: string | null; + note?: string | null; + parent?: any | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + partitaMagSec?: string | null; + posizione?: string | null; + qtaAttesa?: number | null; + qtaCnf?: number | null; + queryTimeoutSeconds?: number | null; + rapConv2?: number | null; + rapConv3?: number | null; + scelta?: number | null; + tableName?: string | null; + taraCnfKg?: number | null; + transactionGroupId?: number | null; + type: "mtb_partita_mag"; + valUntUmMag?: number | null; + + constructor(data: MtbPartitaMag) { + super(data); + this.applicationName = data.applicationName; + this.barcode = data.barcode; + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codMart = data.codMart; + this.costoUntUmMag = data.costoUntUmMag; + this.dataAggPrz = data.dataAggPrz; + this.dataIns = data.dataIns; + this.dataProd = data.dataProd; + this.dataScad = data.dataScad; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.flagImballoArendere = data.flagImballoArendere; + this.flagStato = data.flagStato; + this.mtbPartitaMagCarat = data.mtbPartitaMagCarat; + this.nazioneProv = data.nazioneProv; + this.note = data.note; + this.parent = data.parent; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.partitaMagSec = data.partitaMagSec; + this.posizione = data.posizione; + this.qtaAttesa = data.qtaAttesa; + this.qtaCnf = data.qtaCnf; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rapConv2 = data.rapConv2; + this.rapConv3 = data.rapConv3; + this.scelta = data.scelta; + this.tableName = data.tableName; + this.taraCnfKg = data.taraCnfKg; + this.transactionGroupId = data.transactionGroupId; + this.valUntUmMag = data.valUntUmMag; + } +} + +export class MtbPartitaMagCarat extends EntityBase { + activityId?: string | null; + carat?: string | null; + chkCompatibilita?: boolean | null; + codMart?: string | null; + dataRilevazione?: Date | null; + fonte?: string | null; + idRiga?: number | null; + partitaMag?: string | null; + type: "mtb_partita_mag_carat"; + valCarat?: string | null; + + constructor(data: MtbPartitaMagCarat) { + super(data); + this.activityId = data.activityId; + this.carat = data.carat; + this.chkCompatibilita = data.chkCompatibilita; + this.codMart = data.codMart; + this.dataRilevazione = data.dataRilevazione; + this.fonte = data.fonte; + this.idRiga = data.idRiga; + this.partitaMag = data.partitaMag; + this.valCarat = data.valCarat; + } +} + +export class MtbSart extends EntityBase { + anno?: number | null; + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codMart?: string | null; + codMdep?: string | null; + dataUltCar?: Date | null; + dataUltScar?: Date | null; + numCar?: number | null; + numIniz?: number | null; + numScar?: number | null; + qtaCar?: number | null; + qtaCarCosto?: number | null; + qtaIniz?: number | null; + qtaScar?: number | null; + type: "mtb_sart"; + valCar?: number | null; + valCarCosto?: number | null; + valIniz?: number | null; + valScar?: number | null; + valUltCar?: number | null; + valUltScar?: number | null; + + constructor(data: MtbSart) { + super(data); + this.anno = data.anno; + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.dataUltCar = data.dataUltCar; + this.dataUltScar = data.dataUltScar; + this.numCar = data.numCar; + this.numIniz = data.numIniz; + this.numScar = data.numScar; + this.qtaCar = data.qtaCar; + this.qtaCarCosto = data.qtaCarCosto; + this.qtaIniz = data.qtaIniz; + this.qtaScar = data.qtaScar; + this.valCar = data.valCar; + this.valCarCosto = data.valCarCosto; + this.valIniz = data.valIniz; + this.valScar = data.valScar; + this.valUltCar = data.valUltCar; + this.valUltScar = data.valUltScar; + } +} + +export class MtbSartDt extends EntityBase { + anno?: number | null; + codCol?: string | null; + codMart?: string | null; + codMdep?: string | null; + codTagl?: string | null; + concatena?: string | null; + numCar?: number | null; + numIniz?: number | null; + numScar?: number | null; + partitaMag?: string | null; + qtaCar?: number | null; + qtaIniz?: number | null; + qtaScar?: number | null; + type: "mtb_sart_dt"; + + constructor(data: MtbSartDt) { + super(data); + this.anno = data.anno; + this.codCol = data.codCol; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTagl = data.codTagl; + this.concatena = data.concatena; + this.numCar = data.numCar; + this.numIniz = data.numIniz; + this.numScar = data.numScar; + this.partitaMag = data.partitaMag; + this.qtaCar = data.qtaCar; + this.qtaIniz = data.qtaIniz; + this.qtaScar = data.qtaScar; + } +} + +export class MtbSchTecSetr extends EntityBase { + codSch?: string | null; + codVar?: string | null; + descrizione?: string | null; + descrizioneEng?: string | null; + type: "mtb_sch_tec_setr"; + + constructor(data: MtbSchTecSetr) { + super(data); + this.codSch = data.codSch; + this.codVar = data.codVar; + this.descrizione = data.descrizione; + this.descrizioneEng = data.descrizioneEng; + } +} + +export class MtbSchTecSett extends EntityBase { + codSch?: string | null; + descrizione?: string | null; + mtbSchTecSetr?: MtbSchTecSetr[] | null; + type: "mtb_sch_tec_sett"; + + constructor(data: MtbSchTecSett) { + super(data); + this.codSch = data.codSch; + this.descrizione = data.descrizione; + this.mtbSchTecSetr = data.mtbSchTecSetr; + } +} + +export class MtbSchTecVar extends EntityBase { + codVar?: string | null; + descrizione?: string | null; + type: "mtb_sch_tec_var"; + + constructor(data: MtbSchTecVar) { + super(data); + this.codVar = data.codVar; + this.descrizione = data.descrizione; + } +} + +export class MtbSfam extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "mtb_sfam"; + + constructor(data: MtbSfam) { + super(data); + this.applicationName = data.applicationName; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class MtbSfamLingua extends EntityBase { + codLingua?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + descrizioneEstera?: string | null; + type: "mtb_sfam_lingua"; + + constructor(data: MtbSfamLingua) { + super(data); + this.codLingua = data.codLingua; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.descrizioneEstera = data.descrizioneEstera; + } +} + +export class MtbSgrp extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + chkGiacenzaNeg?: boolean | null; + codCconWip?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + contoRimFin?: string | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + flagReso?: boolean | null; + inclInStat?: string | null; + mtbSfam?: MtbSfam[] | null; + ordinamento?: number | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "mtb_sgrp"; + + constructor(data: MtbSgrp) { + super(data); + this.applicationName = data.applicationName; + this.chkGiacenzaNeg = data.chkGiacenzaNeg; + this.codCconWip = data.codCconWip; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.contoRimFin = data.contoRimFin; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.flagReso = data.flagReso; + this.inclInStat = data.inclInStat; + this.mtbSfam = data.mtbSfam; + this.ordinamento = data.ordinamento; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class MtbSgrpLingua extends EntityBase { + codLingua?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + descrizioneEstera?: string | null; + type: "mtb_sgrp_lingua"; + + constructor(data: MtbSgrpLingua) { + super(data); + this.codLingua = data.codLingua; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.descrizioneEstera = data.descrizioneEstera; + } +} + +export class MtbShelfLifeTolerance extends EntityBase { + id?: number | null; + rateToTolerance?: number | null; + shelfLifeMax?: number | null; + shelfLifeMin?: number | null; + type: "mtb_shelf_life_tolerance"; + + constructor(data: MtbShelfLifeTolerance) { + super(data); + this.id = data.id; + this.rateToTolerance = data.rateToTolerance; + this.shelfLifeMax = data.shelfLifeMax; + this.shelfLifeMin = data.shelfLifeMin; + } +} + +export class MtbSpes extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codMart?: string | null; + codSpes?: string | null; + flagIncAcq?: string | null; + flagIncInOneriAcq?: string | null; + flagIncInOneriVen?: string | null; + flagIncInPrz?: string | null; + flagIncLav?: string | null; + flagIncVen?: string | null; + importo?: number | null; + qtaSpes?: number | null; + type: "mtb_spes"; + + constructor(data: MtbSpes) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codMart = data.codMart; + this.codSpes = data.codSpes; + this.flagIncAcq = data.flagIncAcq; + this.flagIncInOneriAcq = data.flagIncInOneriAcq; + this.flagIncInOneriVen = data.flagIncInOneriVen; + this.flagIncInPrz = data.flagIncInPrz; + this.flagIncLav = data.flagIncLav; + this.flagIncVen = data.flagIncVen; + this.importo = data.importo; + this.qtaSpes = data.qtaSpes; + } +} + +export class MtbStip extends EntityBase { + codMstp?: string | null; + codMtip?: string | null; + descrizione?: string | null; + exprCalRapConv2?: string | null; + exprCalRapConv3?: string | null; + exprCalcDescrEstesa?: string | null; + flagBio?: boolean | null; + mtbTipiCarat?: MtbTipiCarat[] | null; + type: "mtb_stip"; + untMis1?: string | null; + untMis2?: string | null; + untMis3?: string | null; + + constructor(data: MtbStip) { + super(data); + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.descrizione = data.descrizione; + this.exprCalRapConv2 = data.exprCalRapConv2; + this.exprCalRapConv3 = data.exprCalRapConv3; + this.exprCalcDescrEstesa = data.exprCalcDescrEstesa; + this.flagBio = data.flagBio; + this.mtbTipiCarat = data.mtbTipiCarat; + this.untMis1 = data.untMis1; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + } +} + +export class MtbTcol extends EntityBase { + altezzaCm?: number | null; + circuito?: string | null; + codMart?: string | null; + codTcol?: string | null; + descrizione?: string | null; + flagUiUl?: string | null; + larghezzaCm?: number | null; + lunghezzaCm?: number | null; + numPezzi?: number | null; + pesoKg?: number | null; + taraKg?: number | null; + type: "mtb_tcol"; + + constructor(data: MtbTcol) { + super(data); + this.altezzaCm = data.altezzaCm; + this.circuito = data.circuito; + this.codMart = data.codMart; + this.codTcol = data.codTcol; + this.descrizione = data.descrizione; + this.flagUiUl = data.flagUiUl; + this.larghezzaCm = data.larghezzaCm; + this.lunghezzaCm = data.lunghezzaCm; + this.numPezzi = data.numPezzi; + this.pesoKg = data.pesoKg; + this.taraKg = data.taraKg; + } +} + +export class MtbTipi extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codMtip?: string | null; + descrizione?: string | null; + excludedColumns?: string[] | null; + flagAttivo?: boolean | null; + mtbStip?: MtbStip[] | null; + mtbTipiCarat?: MtbTipiCarat[] | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "mtb_tipi"; + + constructor(data: MtbTipi) { + super(data); + this.applicationName = data.applicationName; + this.codMtip = data.codMtip; + this.descrizione = data.descrizione; + this.excludedColumns = data.excludedColumns; + this.flagAttivo = data.flagAttivo; + this.mtbStip = data.mtbStip; + this.mtbTipiCarat = data.mtbTipiCarat; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + } +} + +export class MtbTipiCarat extends EntityBase { + carat?: string | null; + chkCompatibilita?: boolean | null; + codMstp?: string | null; + codMtip?: string | null; + descrizioneCarat?: string | null; + flagCaratPartita?: boolean | null; + flagInclDoc?: string | null; + note?: string | null; + rigaOrdCarat?: number | null; + type: "mtb_tipi_carat"; + untMisCarat?: string | null; + + constructor(data: MtbTipiCarat) { + super(data); + this.carat = data.carat; + this.chkCompatibilita = data.chkCompatibilita; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.descrizioneCarat = data.descrizioneCarat; + this.flagCaratPartita = data.flagCaratPartita; + this.flagInclDoc = data.flagInclDoc; + this.note = data.note; + this.rigaOrdCarat = data.rigaOrdCarat; + this.untMisCarat = data.untMisCarat; + } +} + +export class MtbUntMis extends EntityBase { + cifreDec?: number | null; + flagAttivo?: string | null; + flagDig?: string | null; + flagUnitaKg?: string | null; + grandezza?: Grandezza | null; + ordinamento?: number | null; + tipoUm?: TipoUM | null; + type: "mtb_unt_mis"; + untMis?: string | null; + + constructor(data: MtbUntMis) { + super(data); + this.cifreDec = data.cifreDec; + this.flagAttivo = data.flagAttivo; + this.flagDig = data.flagDig; + this.flagUnitaKg = data.flagUnitaKg; + this.grandezza = data.grandezza; + this.ordinamento = data.ordinamento; + this.tipoUm = data.tipoUm; + this.untMis = data.untMis; + } +} + +export class MultiDBTransactionConnection implements Connection { + autoCommit?: boolean | null; + catalog?: string | null; + clientInfo?: { [index: string]: any } | null; + closed?: boolean | null; + connection?: Connection | null; + holdability?: number | null; + metaData?: DatabaseMetaData | null; + networkTimeout?: number | null; + readOnly?: boolean | null; + savepoint?: string | null; + schema?: string | null; + transactionIsolation?: number | null; + typeMap?: { [index: string]: Class } | null; + warnings?: SQLWarning | null; + + constructor(data: MultiDBTransactionConnection) { + this.autoCommit = data.autoCommit; + this.catalog = data.catalog; + this.clientInfo = data.clientInfo; + this.closed = data.closed; + this.connection = data.connection; + this.holdability = data.holdability; + this.metaData = data.metaData; + this.networkTimeout = data.networkTimeout; + this.readOnly = data.readOnly; + this.savepoint = data.savepoint; + this.schema = data.schema; + this.transactionIsolation = data.transactionIsolation; + this.typeMap = data.typeMap; + this.warnings = data.warnings; + } +} + +export class MultiPairsDTO { + data?: PairsDTO[] | null; + + constructor(data: MultiPairsDTO) { + this.data = data.data; + } +} + +export class MvwSitArtUdcDetInventarioDTO { + articoloPartita?: ArticoloPartitaDTO | null; + barcodeUl?: string | null; + codGruppo?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMart?: string | null; + codMdep?: string | null; + codSottoGruppo?: string | null; + commessa?: string | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + dataScad?: Date | null; + descrizioneEstesa?: string | null; + descrizioneGruppo?: string | null; + descrizioneSottoGruppo?: string | null; + diacod?: string | null; + gestione?: string | null; + numCnf?: number | null; + numCollo?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + pesoLordoKG?: number | null; + pesoNettoKG?: number | null; + posizione?: string | null; + priorita?: number | null; + progressivoUl?: number | null; + qtaCnf?: number | null; + qtaCol?: number | null; + qtaOrd?: number | null; + qtaProdUnita?: number | null; + qtaSingolaUnita?: number | null; + rigaOrd?: number | null; + serCollo?: string | null; + untMis?: string | null; + + constructor(data: MvwSitArtUdcDetInventarioDTO) { + this.articoloPartita = data.articoloPartita; + this.barcodeUl = data.barcodeUl; + this.codGruppo = data.codGruppo; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codSottoGruppo = data.codSottoGruppo; + this.commessa = data.commessa; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.descrizioneEstesa = data.descrizioneEstesa; + this.descrizioneGruppo = data.descrizioneGruppo; + this.descrizioneSottoGruppo = data.descrizioneSottoGruppo; + this.diacod = data.diacod; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.pesoLordoKG = data.pesoLordoKG; + this.pesoNettoKG = data.pesoNettoKG; + this.posizione = data.posizione; + this.priorita = data.priorita; + this.progressivoUl = data.progressivoUl; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.qtaOrd = data.qtaOrd; + this.qtaProdUnita = data.qtaProdUnita; + this.qtaSingolaUnita = data.qtaSingolaUnita; + this.rigaOrd = data.rigaOrd; + this.serCollo = data.serCollo; + this.untMis = data.untMis; + } +} + +export class NazioniDTO implements Serializable { + descrizione?: string | null; + nazione?: string | null; + + constructor(data: NazioniDTO) { + this.descrizione = data.descrizione; + this.nazione = data.nazione; + } +} + +export class NewCliOrdAnag { + cap?: string | null; + citta?: string | null; + codAbi?: string | null; + codBanc?: string | null; + codCab?: string | null; + codFisc?: string | null; + codPaga?: string | null; + codScoCli?: string | null; + codVage?: string | null; + codVlis?: string | null; + codVtip?: string | null; + codVzon?: string | null; + cognome?: string | null; + cuuPa?: string | null; + diacod?: string | null; + email?: string | null; + emailPec?: string | null; + fax?: string | null; + flagPersonaFg?: string | null; + indirizzo?: string | null; + nazione?: string | null; + nome?: string | null; + nomeNegozio?: string | null; + note?: string | null; + partIva?: string | null; + personaRif?: string | null; + prov?: string | null; + ragSoc?: string | null; + ragSoc2?: string | null; + telefono?: string | null; + + constructor(data: NewCliOrdAnag) { + this.cap = data.cap; + this.citta = data.citta; + this.codAbi = data.codAbi; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.codFisc = data.codFisc; + this.codPaga = data.codPaga; + this.codScoCli = data.codScoCli; + this.codVage = data.codVage; + this.codVlis = data.codVlis; + this.codVtip = data.codVtip; + this.codVzon = data.codVzon; + this.cognome = data.cognome; + this.cuuPa = data.cuuPa; + this.diacod = data.diacod; + this.email = data.email; + this.emailPec = data.emailPec; + this.fax = data.fax; + this.flagPersonaFg = data.flagPersonaFg; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.nome = data.nome; + this.nomeNegozio = data.nomeNegozio; + this.note = data.note; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.ragSoc2 = data.ragSoc2; + this.telefono = data.telefono; + } +} + +export class NewCliOrdDTO { + DatiAnag?: NewCliOrdAnag | null; + DatiDest?: NewCliOrdDest | null; + codAnag?: string | null; + codAnagAss?: string | null; + codCcon?: string | null; + codForn?: string | null; + codVdes?: string | null; + codVdesAss?: string | null; + dataOrd?: string | null; + flagNewCli?: string | null; + gestione?: string | null; + intercode?: string | null; + numOrd?: number | null; + precodeAnag?: string | null; + precodeVdes?: string | null; + serie?: string | null; + tipoAnag?: string | null; + + constructor(data: NewCliOrdDTO) { + this.DatiAnag = data.DatiAnag; + this.DatiDest = data.DatiDest; + this.codAnag = data.codAnag; + this.codAnagAss = data.codAnagAss; + this.codCcon = data.codCcon; + this.codForn = data.codForn; + this.codVdes = data.codVdes; + this.codVdesAss = data.codVdesAss; + this.dataOrd = data.dataOrd; + this.flagNewCli = data.flagNewCli; + this.gestione = data.gestione; + this.intercode = data.intercode; + this.numOrd = data.numOrd; + this.precodeAnag = data.precodeAnag; + this.precodeVdes = data.precodeVdes; + this.serie = data.serie; + this.tipoAnag = data.tipoAnag; + } +} + +export class NewCliOrdDest { + cap?: string | null; + citta?: string | null; + destinatario?: string | null; + empty?: boolean | null; + fax?: string | null; + indirizzo?: string | null; + nazione?: string | null; + note?: string | null; + prov?: string | null; + telefono?: string | null; + + constructor(data: NewCliOrdDest) { + this.cap = data.cap; + this.citta = data.citta; + this.destinatario = data.destinatario; + this.empty = data.empty; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.note = data.note; + this.prov = data.prov; + this.telefono = data.telefono; + } +} + +export class NewCliOrdWebDTO { + cap?: string | null; + capDes?: string | null; + citta?: string | null; + cittaDes?: string | null; + codAnag?: string | null; + codFisc?: string | null; + codPaga?: string | null; + destinatario?: string | null; + eMail?: string | null; + eMailDes?: string | null; + fax?: string | null; + faxDes?: string | null; + flagElaborato?: string | null; + indirizzo?: string | null; + indirizzoDes?: string | null; + listino?: string | null; + nazione?: string | null; + nazioneDes?: string | null; + note?: string | null; + noteDes?: string | null; + partIva?: string | null; + personaRif?: string | null; + prov?: string | null; + provDes?: string | null; + ragSoc?: string | null; + telefono?: string | null; + telefonoDes?: string | null; + + constructor(data: NewCliOrdWebDTO) { + this.cap = data.cap; + this.capDes = data.capDes; + this.citta = data.citta; + this.cittaDes = data.cittaDes; + this.codAnag = data.codAnag; + this.codFisc = data.codFisc; + this.codPaga = data.codPaga; + this.destinatario = data.destinatario; + this.eMail = data.eMail; + this.eMailDes = data.eMailDes; + this.fax = data.fax; + this.faxDes = data.faxDes; + this.flagElaborato = data.flagElaborato; + this.indirizzo = data.indirizzo; + this.indirizzoDes = data.indirizzoDes; + this.listino = data.listino; + this.nazione = data.nazione; + this.nazioneDes = data.nazioneDes; + this.note = data.note; + this.noteDes = data.noteDes; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.prov = data.prov; + this.provDes = data.provDes; + this.ragSoc = data.ragSoc; + this.telefono = data.telefono; + this.telefonoDes = data.telefonoDes; + } +} + +export class NextNumOrdWebDTO { + anno?: number | null; + gestione?: string | null; + numOrd?: number | null; + serie?: string | null; + + constructor(data: NextNumOrdWebDTO) { + this.anno = data.anno; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.serie = data.serie; + } +} + +export class NotDisponibileDTO implements Serializable { + cod_style?: string | null; + + constructor(data: NotDisponibileDTO) { + this.cod_style = data.cod_style; + } +} + +export class NoteProduttive { + dataNota?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + note?: string | null; + numOrd?: number | null; + + constructor(data: NoteProduttive) { + this.dataNota = data.dataNota; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.note = data.note; + this.numOrd = data.numOrd; + } +} + +export class NotificaNoteModificateDTO { + codJfas?: string[] | null; + dataOrdLav?: string | null; + note?: string | null; + numOrdLav?: string | null; + + constructor(data: NotificaNoteModificateDTO) { + this.codJfas = data.codJfas; + this.dataOrdLav = data.dataOrdLav; + this.note = data.note; + this.numOrdLav = data.numOrdLav; + } +} + +export class NotificationDTO { + body?: string | null; + image?: string | null; + title?: string | null; + + constructor(data: NotificationDTO) { + this.body = data.body; + this.image = data.image; + this.title = data.title; + } +} + +export class NotizieArtDTO implements Serializable { + semaforo?: SemaforoDTO[] | null; + + constructor(data: NotizieArtDTO) { + this.semaforo = data.semaforo; + } +} + +export class NrlTipiIncaGtbPaga extends EntityBase { + codPaga?: string | null; + idInc?: number | null; + tipoInca?: string | null; + type: "nrl_tipi_inca_gtb_paga"; + + constructor(data: NrlTipiIncaGtbPaga) { + super(data); + this.codPaga = data.codPaga; + this.idInc = data.idInc; + this.tipoInca = data.tipoInca; + } +} + +export class NtbDocp extends EntityBase { + codCassa?: string | null; + codMdep?: string | null; + dataDoc?: Date | null; + descrPaga?: string | null; + idRiga?: number | null; + impPaga?: number | null; + ntbTipiInca?: NtbTipiInca | null; + tipoInca?: string | null; + type: "ntb_docp"; + + constructor(data: NtbDocp) { + super(data); + this.codCassa = data.codCassa; + this.codMdep = data.codMdep; + this.dataDoc = data.dataDoc; + this.descrPaga = data.descrPaga; + this.idRiga = data.idRiga; + this.impPaga = data.impPaga; + this.ntbTipiInca = data.ntbTipiInca; + this.tipoInca = data.tipoInca; + } +} + +export class NtbDocr extends EntityBase { + barCode?: string | null; + causale?: string | null; + causaleReso?: string | null; + codAliq?: string | null; + codCassa?: string | null; + codCol?: string | null; + codKit?: string | null; + codMart?: string | null; + codMdep?: string | null; + codTagl?: string | null; + codVlis?: string | null; + costo?: number | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + descrizione?: string | null; + dtbOrdt?: DtbOrdt | null; + idRiga?: number | null; + numOrd?: number | null; + promozione?: string | null; + przUntIva?: number | null; + puntiArt?: number | null; + qtaCnf?: number | null; + qtaDoc?: number | null; + rapConv?: number | null; + reparto?: string | null; + type: "ntb_docr"; + untMis?: string | null; + valSco?: number | null; + + constructor(data: NtbDocr) { + super(data); + this.barCode = data.barCode; + this.causale = data.causale; + this.causaleReso = data.causaleReso; + this.codAliq = data.codAliq; + this.codCassa = data.codCassa; + this.codCol = data.codCol; + this.codKit = data.codKit; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTagl = data.codTagl; + this.codVlis = data.codVlis; + this.costo = data.costo; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.dtbOrdt = data.dtbOrdt; + this.idRiga = data.idRiga; + this.numOrd = data.numOrd; + this.promozione = data.promozione; + this.przUntIva = data.przUntIva; + this.puntiArt = data.puntiArt; + this.qtaCnf = data.qtaCnf; + this.qtaDoc = data.qtaDoc; + this.rapConv = data.rapConv; + this.reparto = data.reparto; + this.untMis = data.untMis; + this.valSco = data.valSco; + } +} + +export class NtbDoct extends EntityBase { + barcodeScontrino?: string | null; + causale?: string | null; + codAnag?: string | null; + codAnagVal?: string | null; + codCassa?: string | null; + codCassaRif?: string | null; + codDivi?: string | null; + codDtipVal?: string | null; + codFidelity?: string | null; + codMdep?: string | null; + codOper?: string | null; + codVlis?: string | null; + controllatoDa?: string | null; + countFidelity?: number | null; + countPremio?: number | null; + dataChk?: Date | null; + dataDoc?: Date | null; + dataDocRif?: Date | null; + dataDocVal?: Date | null; + dataImport?: Date | null; + dataOrd?: Date | null; + dataScontr?: Date | null; + dateOnlyDoc?: Date | null; + flagChkGg?: string | null; + idScontr?: number | null; + importatoDa?: string | null; + mtbDepoCasse?: MtbDepoCasse | null; + mtbDepoOper?: MtbDepoOper | null; + ntbDocp?: NtbDocp[] | null; + ntbDocr?: NtbDocr[] | null; + numDocRif?: number | null; + numDocVal?: number | null; + numOrd?: number | null; + rifOrd?: string | null; + segueFattura?: boolean | null; + serDocVal?: string | null; + type: "ntb_doct"; + + constructor(data: NtbDoct) { + super(data); + this.barcodeScontrino = data.barcodeScontrino; + this.causale = data.causale; + this.codAnag = data.codAnag; + this.codAnagVal = data.codAnagVal; + this.codCassa = data.codCassa; + this.codCassaRif = data.codCassaRif; + this.codDivi = data.codDivi; + this.codDtipVal = data.codDtipVal; + this.codFidelity = data.codFidelity; + this.codMdep = data.codMdep; + this.codOper = data.codOper; + this.codVlis = data.codVlis; + this.controllatoDa = data.controllatoDa; + this.countFidelity = data.countFidelity; + this.countPremio = data.countPremio; + this.dataChk = data.dataChk; + this.dataDoc = data.dataDoc; + this.dataDocRif = data.dataDocRif; + this.dataDocVal = data.dataDocVal; + this.dataImport = data.dataImport; + this.dataOrd = data.dataOrd; + this.dataScontr = data.dataScontr; + this.dateOnlyDoc = data.dateOnlyDoc; + this.flagChkGg = data.flagChkGg; + this.idScontr = data.idScontr; + this.importatoDa = data.importatoDa; + this.mtbDepoCasse = data.mtbDepoCasse; + this.mtbDepoOper = data.mtbDepoOper; + this.ntbDocp = data.ntbDocp; + this.ntbDocr = data.ntbDocr; + this.numDocRif = data.numDocRif; + this.numDocVal = data.numDocVal; + this.numOrd = data.numOrd; + this.rifOrd = data.rifOrd; + this.segueFattura = data.segueFattura; + this.serDocVal = data.serDocVal; + } +} + +export class NtbDoctChk extends EntityBase { + codMdep?: string | null; + controllatoDa?: string | null; + dataChk?: Date | null; + dataDoc?: Date | null; + type: "ntb_doct_chk"; + + constructor(data: NtbDoctChk) { + super(data); + this.codMdep = data.codMdep; + this.controllatoDa = data.controllatoDa; + this.dataChk = data.dataChk; + this.dataDoc = data.dataDoc; + } +} + +export class NtbRapp extends EntityBase { + codCassa?: string | null; + codMdep?: string | null; + dataOraRapp?: Date | null; + flagChiusuraFiscale?: string | null; + idRapp?: number | null; + impPaga?: number | null; + ntbTipiInca?: NtbTipiInca | null; + tipoInca?: string | null; + type: "ntb_rapp"; + + constructor(data: NtbRapp) { + super(data); + this.codCassa = data.codCassa; + this.codMdep = data.codMdep; + this.dataOraRapp = data.dataOraRapp; + this.flagChiusuraFiscale = data.flagChiusuraFiscale; + this.idRapp = data.idRapp; + this.impPaga = data.impPaga; + this.ntbTipiInca = data.ntbTipiInca; + this.tipoInca = data.tipoInca; + } +} + +export class NtbRapr extends EntityBase { + codCassa?: string | null; + codMdep?: string | null; + dataOraRapp?: Date | null; + flagChiusuraFiscale?: string | null; + idRapp?: number | null; + idRiga?: number | null; + importo?: number | null; + note?: string | null; + tipoRiga?: string | null; + type: "ntb_rapr"; + + constructor(data: NtbRapr) { + super(data); + this.codCassa = data.codCassa; + this.codMdep = data.codMdep; + this.dataOraRapp = data.dataOraRapp; + this.flagChiusuraFiscale = data.flagChiusuraFiscale; + this.idRapp = data.idRapp; + this.idRiga = data.idRiga; + this.importo = data.importo; + this.note = data.note; + this.tipoRiga = data.tipoRiga; + } +} + +export class NtbRapt extends EntityBase { + codCassa?: string | null; + codMdep?: string | null; + codOper?: string | null; + corrNoInc?: number | null; + dataOraRapp?: Date | null; + dataRapp?: Date | null; + flagChiusuraFiscale?: string | null; + flagGgChiusa?: string | null; + flagImportato?: string | null; + idRapp?: number | null; + impCredito?: number | null; + impRimborso?: number | null; + ntbRapp?: NtbRapp[] | null; + ntbRapr?: NtbRapr[] | null; + numScontrFiscali?: number | null; + totAnnulli?: number | null; + totCorr?: number | null; + totSconti?: number | null; + type: "ntb_rapt"; + + constructor(data: NtbRapt) { + super(data); + this.codCassa = data.codCassa; + this.codMdep = data.codMdep; + this.codOper = data.codOper; + this.corrNoInc = data.corrNoInc; + this.dataOraRapp = data.dataOraRapp; + this.dataRapp = data.dataRapp; + this.flagChiusuraFiscale = data.flagChiusuraFiscale; + this.flagGgChiusa = data.flagGgChiusa; + this.flagImportato = data.flagImportato; + this.idRapp = data.idRapp; + this.impCredito = data.impCredito; + this.impRimborso = data.impRimborso; + this.ntbRapp = data.ntbRapp; + this.ntbRapr = data.ntbRapr; + this.numScontrFiscali = data.numScontrFiscali; + this.totAnnulli = data.totAnnulli; + this.totCorr = data.totCorr; + this.totSconti = data.totSconti; + } +} + +export class NtbTipiInca extends EntityBase { + codAliq?: string | null; + codCcon?: string | null; + codCconStornoCorr?: string | null; + codMdep?: string | null; + codPaga?: string | null; + descrizione?: string | null; + flagBuoni?: string | null; + flagTipoInca?: string | null; + nrlTipiIncaGtbPaga?: NrlTipiIncaGtbPaga | null; + tipoInca?: string | null; + type: "ntb_tipi_inca"; + + constructor(data: NtbTipiInca) { + super(data); + this.codAliq = data.codAliq; + this.codCcon = data.codCcon; + this.codCconStornoCorr = data.codCconStornoCorr; + this.codMdep = data.codMdep; + this.codPaga = data.codPaga; + this.descrizione = data.descrizione; + this.flagBuoni = data.flagBuoni; + this.flagTipoInca = data.flagTipoInca; + this.nrlTipiIncaGtbPaga = data.nrlTipiIncaGtbPaga; + this.tipoInca = data.tipoInca; + } +} + +export class NtbVariazioniExportLog extends EntityBase { + codVlis?: string | null; + dataExport?: Date | null; + formatFile?: string | null; + id?: number | null; + jsonString?: string | null; + type: "ntb_variazioni_export_log"; + userName?: string | null; + xmlFileName?: string | null; + + constructor(data: NtbVariazioniExportLog) { + super(data); + this.codVlis = data.codVlis; + this.dataExport = data.dataExport; + this.formatFile = data.formatFile; + this.id = data.id; + this.jsonString = data.jsonString; + this.userName = data.userName; + this.xmlFileName = data.xmlFileName; + } +} + +export interface ObjectStorage extends Annotation { +} + +export class OldUpdateDTO { + codAnag?: string | null; + codJcom?: string | null; + lastUpdate?: Date | null; + ragSoc?: string | null; + + constructor(data: OldUpdateDTO) { + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.lastUpdate = data.lastUpdate; + this.ragSoc = data.ragSoc; + } +} + +export class OlioProductionDTO { + dtbDoct?: DtbDoct | null; + mtbPartitaMagCarat?: MtbPartitaMagCarat[] | null; + rigaMov?: RigaMov[] | null; + saveDoc?: string | null; + + constructor(data: OlioProductionDTO) { + this.dtbDoct = data.dtbDoct; + this.mtbPartitaMagCarat = data.mtbPartitaMagCarat; + this.rigaMov = data.rigaMov; + this.saveDoc = data.saveDoc; + } +} + +export class OltbAnagFctoDTO { + codCua?: string | null; + codISONazione?: string | null; + codISTATCom?: string | null; + codISTATProv?: string | null; + codSoggetto?: number | null; + denomSoggetto?: string | null; + idFiscale?: string | null; + indirizzoSoggetto?: string | null; + statoDitta?: string | null; + + constructor(data: OltbAnagFctoDTO) { + this.codCua = data.codCua; + this.codISONazione = data.codISONazione; + this.codISTATCom = data.codISTATCom; + this.codISTATProv = data.codISTATProv; + this.codSoggetto = data.codSoggetto; + this.denomSoggetto = data.denomSoggetto; + this.idFiscale = data.idFiscale; + this.indirizzoSoggetto = data.indirizzoSoggetto; + this.statoDitta = data.statoDitta; + } +} + +export class OltbAnagfcto extends EntityBase { + codCua?: string | null; + codIsoNazione?: string | null; + codIstatCitta?: string | null; + codIstatProv?: string | null; + codSoggetto?: number | null; + dataFile?: Date | null; + denominazione?: string | null; + idDepo?: number | null; + idFiscale?: string | null; + indirizzo?: string | null; + progFile?: number | null; + stato?: string | null; + type: "oltb_anagfcto"; + + constructor(data: OltbAnagfcto) { + super(data); + this.codCua = data.codCua; + this.codIsoNazione = data.codIsoNazione; + this.codIstatCitta = data.codIstatCitta; + this.codIstatProv = data.codIstatProv; + this.codSoggetto = data.codSoggetto; + this.dataFile = data.dataFile; + this.denominazione = data.denominazione; + this.idDepo = data.idDepo; + this.idFiscale = data.idFiscale; + this.indirizzo = data.indirizzo; + this.progFile = data.progFile; + this.stato = data.stato; + } +} + +export class OltbOperRegiDTO { + annata?: number | null; + capacitaConf?: number | null; + codCategFine?: number | null; + codCategIniz?: number | null; + codCommittente?: number | null; + codCua?: string | null; + codMacroAreaFine?: number | null; + codMacroAreaIniz?: number | null; + codOperaz?: string | null; + codSoggetto?: number | null; + dataCertDop?: Date | null; + dataDoc?: Date | null; + dataOperaz?: Date | null; + dataOraMolitura?: Date | null; + dataOraRaccolta?: Date | null; + flagBioFine?: boolean | null; + flagBioIniz?: boolean | null; + flagCTerzi?: boolean | null; + flagEFFine?: boolean | null; + flagEFIniz?: boolean | null; + flagInConvFine?: boolean | null; + flagInConvIniz?: boolean | null; + flagNonEtichFine?: boolean | null; + flagNonEtichIniz?: boolean | null; + flagPSFFine?: boolean | null; + flagPSFIniz?: boolean | null; + idDepo?: number | null; + idSilosDest?: string | null; + idSilosStock?: string | null; + idStabProvDest?: number | null; + lottoOlio?: string | null; + note?: string | null; + numCertDop?: string | null; + numDoc?: string | null; + numOperaz?: number | null; + origineSpecFine?: string | null; + origineSpecIniz?: string | null; + qtaCarOlioConf?: number | null; + qtaCarOlioSfuso?: number | null; + qtaCarOlive?: number | null; + qtaCarSansa?: number | null; + qtaPerdite?: number | null; + qtaScarOlioConf?: number | null; + qtaScarOlioSfuso?: number | null; + qtaScarOlive?: number | null; + qtaScarSansa?: number | null; + serieCollariniA?: string | null; + serieCollariniDa?: string | null; + tipoRecord?: string | null; + + constructor(data: OltbOperRegiDTO) { + this.annata = data.annata; + this.capacitaConf = data.capacitaConf; + this.codCategFine = data.codCategFine; + this.codCategIniz = data.codCategIniz; + this.codCommittente = data.codCommittente; + this.codCua = data.codCua; + this.codMacroAreaFine = data.codMacroAreaFine; + this.codMacroAreaIniz = data.codMacroAreaIniz; + this.codOperaz = data.codOperaz; + this.codSoggetto = data.codSoggetto; + this.dataCertDop = data.dataCertDop; + this.dataDoc = data.dataDoc; + this.dataOperaz = data.dataOperaz; + this.dataOraMolitura = data.dataOraMolitura; + this.dataOraRaccolta = data.dataOraRaccolta; + this.flagBioFine = data.flagBioFine; + this.flagBioIniz = data.flagBioIniz; + this.flagCTerzi = data.flagCTerzi; + this.flagEFFine = data.flagEFFine; + this.flagEFIniz = data.flagEFIniz; + this.flagInConvFine = data.flagInConvFine; + this.flagInConvIniz = data.flagInConvIniz; + this.flagNonEtichFine = data.flagNonEtichFine; + this.flagNonEtichIniz = data.flagNonEtichIniz; + this.flagPSFFine = data.flagPSFFine; + this.flagPSFIniz = data.flagPSFIniz; + this.idDepo = data.idDepo; + this.idSilosDest = data.idSilosDest; + this.idSilosStock = data.idSilosStock; + this.idStabProvDest = data.idStabProvDest; + this.lottoOlio = data.lottoOlio; + this.note = data.note; + this.numCertDop = data.numCertDop; + this.numDoc = data.numDoc; + this.numOperaz = data.numOperaz; + this.origineSpecFine = data.origineSpecFine; + this.origineSpecIniz = data.origineSpecIniz; + this.qtaCarOlioConf = data.qtaCarOlioConf; + this.qtaCarOlioSfuso = data.qtaCarOlioSfuso; + this.qtaCarOlive = data.qtaCarOlive; + this.qtaCarSansa = data.qtaCarSansa; + this.qtaPerdite = data.qtaPerdite; + this.qtaScarOlioConf = data.qtaScarOlioConf; + this.qtaScarOlioSfuso = data.qtaScarOlioSfuso; + this.qtaScarOlive = data.qtaScarOlive; + this.qtaScarSansa = data.qtaScarSansa; + this.serieCollariniA = data.serieCollariniA; + this.serieCollariniDa = data.serieCollariniDa; + this.tipoRecord = data.tipoRecord; + } +} + +export class OltbOperazioni extends EntityBase { + codDtip?: string | null; + codOoper?: string | null; + filtroArticoliFine?: string | null; + filtroArticoloDa?: string | null; + flagArticoloA?: boolean | null; + flagArticoloDa?: boolean | null; + flagArticoloFine?: boolean | null; + flagFornitoreAziendale?: boolean | null; + flagLottoFine?: boolean | null; + flagOperazioniFrantoio?: boolean | null; + flagPosturaA?: boolean | null; + flagPosturaDa?: boolean | null; + operazione?: string | null; + tipoOperazione?: string | null; + type: "oltb_operazioni"; + + constructor(data: OltbOperazioni) { + super(data); + this.codDtip = data.codDtip; + this.codOoper = data.codOoper; + this.filtroArticoliFine = data.filtroArticoliFine; + this.filtroArticoloDa = data.filtroArticoloDa; + this.flagArticoloA = data.flagArticoloA; + this.flagArticoloDa = data.flagArticoloDa; + this.flagArticoloFine = data.flagArticoloFine; + this.flagFornitoreAziendale = data.flagFornitoreAziendale; + this.flagLottoFine = data.flagLottoFine; + this.flagOperazioniFrantoio = data.flagOperazioniFrantoio; + this.flagPosturaA = data.flagPosturaA; + this.flagPosturaDa = data.flagPosturaDa; + this.operazione = data.operazione; + this.tipoOperazione = data.tipoOperazione; + } +} + +export class OltbOperregi extends EntityBase { + activityId?: string | null; + annata?: number | null; + capacitaConf?: number | null; + codAnag?: string | null; + codCategFine?: number | null; + codCategIniz?: number | null; + codCommit?: number | null; + codCua?: string | null; + codDtip?: string | null; + codMacroareaFine?: number | null; + codMacroareaIniz?: number | null; + codMart?: string | null; + codMartFine?: string | null; + codMartFineIsDop?: boolean | null; + codMartIsDop?: boolean | null; + codOperaz?: string | null; + codSoggetto?: number | null; + dataCertifDop?: Date | null; + dataDoc?: Date | null; + dataDocSian?: Date | null; + dataFile?: Date | null; + dataOperaz?: Date | null; + dataOraMolitura?: Date | null; + dataoraRaccolta?: Date | null; + flagBioFine?: boolean | null; + flagBioIniz?: boolean | null; + flagCterzi?: boolean | null; + flagEfFine?: boolean | null; + flagEfIniz?: boolean | null; + flagInconversioneFine?: boolean | null; + flagInconversioneIniz?: boolean | null; + flagNonetichettatoFine?: boolean | null; + flagNonetichettatoIniz?: boolean | null; + flagPsfFine?: boolean | null; + flagPsfIniz?: boolean | null; + idDepo?: number | null; + idOperazione?: number | null; + idSilosDest?: string | null; + idSilosStock?: string | null; + idStabProvdest?: number | null; + lottoOlio?: string | null; + mtbPartitaMag?: MtbPartitaMag | null; + note?: string | null; + numCertifDop?: string | null; + numDoc?: number | null; + numDocSian?: string | null; + numOperaz?: number | null; + originespecFine?: string | null; + originespeciniz?: string | null; + progFile?: number | null; + qtaCarOlioconf?: number | null; + qtaCarOliosfuso?: number | null; + qtaCarOlive?: number | null; + qtaCarSansa?: number | null; + qtaPerdite?: number | null; + qtaScarOlioconf?: number | null; + qtaScarOliosfuso?: number | null; + qtaScarOlive?: number | null; + qtaScarSansa?: number | null; + serDoc?: string | null; + serieCollariA?: string | null; + serieCollariDa?: string | null; + tipoRecord?: string | null; + type: "oltb_operregi"; + + constructor(data: OltbOperregi) { + super(data); + this.activityId = data.activityId; + this.annata = data.annata; + this.capacitaConf = data.capacitaConf; + this.codAnag = data.codAnag; + this.codCategFine = data.codCategFine; + this.codCategIniz = data.codCategIniz; + this.codCommit = data.codCommit; + this.codCua = data.codCua; + this.codDtip = data.codDtip; + this.codMacroareaFine = data.codMacroareaFine; + this.codMacroareaIniz = data.codMacroareaIniz; + this.codMart = data.codMart; + this.codMartFine = data.codMartFine; + this.codMartFineIsDop = data.codMartFineIsDop; + this.codMartIsDop = data.codMartIsDop; + this.codOperaz = data.codOperaz; + this.codSoggetto = data.codSoggetto; + this.dataCertifDop = data.dataCertifDop; + this.dataDoc = data.dataDoc; + this.dataDocSian = data.dataDocSian; + this.dataFile = data.dataFile; + this.dataOperaz = data.dataOperaz; + this.dataOraMolitura = data.dataOraMolitura; + this.dataoraRaccolta = data.dataoraRaccolta; + this.flagBioFine = data.flagBioFine; + this.flagBioIniz = data.flagBioIniz; + this.flagCterzi = data.flagCterzi; + this.flagEfFine = data.flagEfFine; + this.flagEfIniz = data.flagEfIniz; + this.flagInconversioneFine = data.flagInconversioneFine; + this.flagInconversioneIniz = data.flagInconversioneIniz; + this.flagNonetichettatoFine = data.flagNonetichettatoFine; + this.flagNonetichettatoIniz = data.flagNonetichettatoIniz; + this.flagPsfFine = data.flagPsfFine; + this.flagPsfIniz = data.flagPsfIniz; + this.idDepo = data.idDepo; + this.idOperazione = data.idOperazione; + this.idSilosDest = data.idSilosDest; + this.idSilosStock = data.idSilosStock; + this.idStabProvdest = data.idStabProvdest; + this.lottoOlio = data.lottoOlio; + this.mtbPartitaMag = data.mtbPartitaMag; + this.note = data.note; + this.numCertifDop = data.numCertifDop; + this.numDoc = data.numDoc; + this.numDocSian = data.numDocSian; + this.numOperaz = data.numOperaz; + this.originespecFine = data.originespecFine; + this.originespeciniz = data.originespeciniz; + this.progFile = data.progFile; + this.qtaCarOlioconf = data.qtaCarOlioconf; + this.qtaCarOliosfuso = data.qtaCarOliosfuso; + this.qtaCarOlive = data.qtaCarOlive; + this.qtaCarSansa = data.qtaCarSansa; + this.qtaPerdite = data.qtaPerdite; + this.qtaScarOlioconf = data.qtaScarOlioconf; + this.qtaScarOliosfuso = data.qtaScarOliosfuso; + this.qtaScarOlive = data.qtaScarOlive; + this.qtaScarSansa = data.qtaScarSansa; + this.serDoc = data.serDoc; + this.serieCollariA = data.serieCollariA; + this.serieCollariDa = data.serieCollariDa; + this.tipoRecord = data.tipoRecord; + } +} + +export class OltbOperregiFile extends EntityBase { + aDataop?: Date | null; + codCua?: string | null; + daDataop?: Date | null; + dataFile?: Date | null; + flagEsportato?: boolean | null; + idDepo?: number | null; + oltbAnagfcto?: OltbAnagfcto[] | null; + oltbOperregi?: OltbOperregi[] | null; + progFile?: number | null; + type: "oltb_operregi_file"; + + constructor(data: OltbOperregiFile) { + super(data); + this.aDataop = data.aDataop; + this.codCua = data.codCua; + this.daDataop = data.daDataop; + this.dataFile = data.dataFile; + this.flagEsportato = data.flagEsportato; + this.idDepo = data.idDepo; + this.oltbAnagfcto = data.oltbAnagfcto; + this.oltbOperregi = data.oltbOperregi; + this.progFile = data.progFile; + } +} + +export class OltbOperregiLog extends EntityBase { + codCua?: string | null; + dataFile?: Date | null; + dataOperaz?: Date | null; + errorText?: string | null; + idDepo?: number | null; + idErr?: number | null; + numOperaz?: number | null; + progFile?: number | null; + tipoErrore?: number | null; + type: "oltb_operregi_log"; + + constructor(data: OltbOperregiLog) { + super(data); + this.codCua = data.codCua; + this.dataFile = data.dataFile; + this.dataOperaz = data.dataOperaz; + this.errorText = data.errorText; + this.idDepo = data.idDepo; + this.idErr = data.idErr; + this.numOperaz = data.numOperaz; + this.progFile = data.progFile; + this.tipoErrore = data.tipoErrore; + } +} + +export class OltbSoggetti extends EntityBase { + codAnag?: string | null; + codSoggetto?: number | null; + flagEsportato?: boolean | null; + type: "oltb_soggetti"; + + constructor(data: OltbSoggetti) { + super(data); + this.codAnag = data.codAnag; + this.codSoggetto = data.codSoggetto; + this.flagEsportato = data.flagEsportato; + } +} + +export class OperationFieldDTO { + defaultValues?: string[] | null; + name?: string | null; + password?: boolean | null; + required?: boolean | null; + type?: string | null; + + constructor(data: OperationFieldDTO) { + this.defaultValues = data.defaultValues; + this.name = data.name; + this.password = data.password; + this.required = data.required; + this.type = data.type; + } +} + +export class OrdChkConsDTO { + cittaCons?: string | null; + numCons?: number | null; + oraFine?: Date | null; + oraIniz?: Date | null; + + constructor(data: OrdChkConsDTO) { + this.cittaCons = data.cittaCons; + this.numCons = data.numCons; + this.oraFine = data.oraFine; + this.oraIniz = data.oraIniz; + } +} + +export class OrdLavDTO { + codAnag?: string | null; + codAnagProd?: string | null; + codJFlav?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codMdepProd?: string | null; + codProd?: string | null; + codTcolUl?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + dataOrd?: Date | null; + dataOrdRif?: Date | null; + descrizioneEstesaProd?: string | null; + descrizioneProd?: string | null; + gestione?: string | null; + gestioneRif?: string | null; + note?: string | null; + noteRiga?: string | null; + numOrd?: number | null; + numOrdRif?: number | null; + partitaMagProd?: string | null; + partite?: SaveProductionPlanPartiteDTO[] | null; + qtaProd?: number | null; + rapConvProd?: number | null; + rigaOrdRif?: number | null; + untMisProd?: string | null; + + constructor(data: OrdLavDTO) { + this.codAnag = data.codAnag; + this.codAnagProd = data.codAnagProd; + this.codJFlav = data.codJFlav; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codMdepProd = data.codMdepProd; + this.codProd = data.codProd; + this.codTcolUl = data.codTcolUl; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.dataOrd = data.dataOrd; + this.dataOrdRif = data.dataOrdRif; + this.descrizioneEstesaProd = data.descrizioneEstesaProd; + this.descrizioneProd = data.descrizioneProd; + this.gestione = data.gestione; + this.gestioneRif = data.gestioneRif; + this.note = data.note; + this.noteRiga = data.noteRiga; + this.numOrd = data.numOrd; + this.numOrdRif = data.numOrdRif; + this.partitaMagProd = data.partitaMagProd; + this.partite = data.partite; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.rigaOrdRif = data.rigaOrdRif; + this.untMisProd = data.untMisProd; + } +} + +export class OrdProdSetupDTO { + aggiungiGestione?: boolean | null; + assPeriodoFase?: boolean | null; + assegnaAttivita?: boolean | null; + checkDepTerzista?: boolean | null; + checkLockProd?: boolean | null; + codJcomRequired?: boolean | null; + codJflavDef?: string | null; + codSpesaTerzista?: string | null; + disableTriggerOrdL?: boolean | null; + existCodJfasEqui?: string | null; + faseTerzista?: string | null; + flagDescrizDaOrdine?: boolean | null; + genAutoCommOrdProd?: boolean | null; + generateLotto?: boolean | null; + generazioneAutomaticaLav?: boolean | null; + generazioneAutomaticaVend?: boolean | null; + partitaMagRequired?: boolean | null; + pesoInQtaLav?: boolean | null; + setupDepoCheckExistLotto?: { [index: string]: boolean } | null; + setupDepoGeneraLottoAuto?: { [index: string]: boolean } | null; + setupDepowhereCondEscludiProd?: { [index: string]: string } | null; + statoCommessa?: string | null; + tipoCommessa?: string | null; + tipoGenerazione?: string | null; + tipoValCosto?: string | null; + visCodJfas?: boolean | null; + visNoteRigaDist?: boolean | null; + + constructor(data: OrdProdSetupDTO) { + this.aggiungiGestione = data.aggiungiGestione; + this.assPeriodoFase = data.assPeriodoFase; + this.assegnaAttivita = data.assegnaAttivita; + this.checkDepTerzista = data.checkDepTerzista; + this.checkLockProd = data.checkLockProd; + this.codJcomRequired = data.codJcomRequired; + this.codJflavDef = data.codJflavDef; + this.codSpesaTerzista = data.codSpesaTerzista; + this.disableTriggerOrdL = data.disableTriggerOrdL; + this.existCodJfasEqui = data.existCodJfasEqui; + this.faseTerzista = data.faseTerzista; + this.flagDescrizDaOrdine = data.flagDescrizDaOrdine; + this.genAutoCommOrdProd = data.genAutoCommOrdProd; + this.generateLotto = data.generateLotto; + this.generazioneAutomaticaLav = data.generazioneAutomaticaLav; + this.generazioneAutomaticaVend = data.generazioneAutomaticaVend; + this.partitaMagRequired = data.partitaMagRequired; + this.pesoInQtaLav = data.pesoInQtaLav; + this.setupDepoCheckExistLotto = data.setupDepoCheckExistLotto; + this.setupDepoGeneraLottoAuto = data.setupDepoGeneraLottoAuto; + this.setupDepowhereCondEscludiProd = data.setupDepowhereCondEscludiProd; + this.statoCommessa = data.statoCommessa; + this.tipoCommessa = data.tipoCommessa; + this.tipoGenerazione = data.tipoGenerazione; + this.tipoValCosto = data.tipoValCosto; + this.visCodJfas = data.visCodJfas; + this.visNoteRigaDist = data.visNoteRigaDist; + } +} + +export class OrderEcommerceDTO { + anagrafica?: AnagraficaDTO | null; + order?: HeaderOrderDTO | null; + rowList?: RowOrderDTO[] | null; + + constructor(data: OrderEcommerceDTO) { + this.anagrafica = data.anagrafica; + this.order = data.order; + this.rowList = data.rowList; + } +} + +export class OrderEcommerceJsonDTO { + CustomerEmail?: string | null; + CustomerName?: string | null; + InvoiceData?: InvoiceDataDTO | null; + LastUpdateDate?: Date | null; + OrderId?: string | null; + OrderStatus?: string | null; + OrderTotal: OrderTotal; + Payment?: Payment | null; + PurchaseDate?: Date | null; + Rows?: RowOrderEcommerceDTO[] | null; + ShipServiceMode?: string | null; + ShippingAddress?: ShippingAddressDTO | null; + + constructor(data: OrderEcommerceJsonDTO) { + this.CustomerEmail = data.CustomerEmail; + this.CustomerName = data.CustomerName; + this.InvoiceData = data.InvoiceData; + this.LastUpdateDate = data.LastUpdateDate; + this.OrderId = data.OrderId; + this.OrderStatus = data.OrderStatus; + this.OrderTotal = data.OrderTotal; + this.Payment = data.Payment; + this.PurchaseDate = data.PurchaseDate; + this.Rows = data.Rows; + this.ShipServiceMode = data.ShipServiceMode; + this.ShippingAddress = data.ShippingAddress; + } +} + +export class OrderTotal { + CurrencyCode?: string | null; + DiscountAmount?: number | null; + GoodsAmount?: number | null; + ShipAmount?: number | null; + + constructor(data: OrderTotal) { + this.CurrencyCode = data.CurrencyCode; + this.DiscountAmount = data.DiscountAmount; + this.GoodsAmount = data.GoodsAmount; + this.ShipAmount = data.ShipAmount; + } +} + +export class OrderUpdateDTO { + id?: number | null; + status?: string | null; + + constructor(data: OrderUpdateDTO) { + this.id = data.id; + this.status = data.status; + } +} + +export class OrdifyOrdineDTO implements Cloneable { + codAbi?: string | null; + codAnag?: string | null; + codCab?: string | null; + codMdep?: string | null; + codPaga?: string | null; + codVdes?: string | null; + codVlis?: string | null; + dataCons?: Date | null; + dataOrdOff?: Date | null; + hashDispositivo?: string | null; + hashOrdine?: string | null; + newClie?: OrdineWebNewClieDTO | null; + newDest?: OrdineWebNewDestDTO | null; + note?: string | null; + numOrdOff?: number | null; + rows?: OrdifyOrdineRowDTO[] | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + termCons?: string | null; + testata?: string | null; + + constructor(data: OrdifyOrdineDTO) { + this.codAbi = data.codAbi; + this.codAnag = data.codAnag; + this.codCab = data.codCab; + this.codMdep = data.codMdep; + this.codPaga = data.codPaga; + this.codVdes = data.codVdes; + this.codVlis = data.codVlis; + this.dataCons = data.dataCons; + this.dataOrdOff = data.dataOrdOff; + this.hashDispositivo = data.hashDispositivo; + this.hashOrdine = data.hashOrdine; + this.newClie = data.newClie; + this.newDest = data.newDest; + this.note = data.note; + this.numOrdOff = data.numOrdOff; + this.rows = data.rows; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.termCons = data.termCons; + this.testata = data.testata; + } +} + +export class OrdifyOrdineRowDTO { + codMart?: string | null; + codPromo?: string | null; + codVlis?: string | null; + dataCons?: Date | null; + importo?: number | null; + note?: string | null; + qtaOmg?: number | null; + qtaOrd?: number | null; + qtaReso?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + untOrd?: string | null; + valUnt?: number | null; + + constructor(data: OrdifyOrdineRowDTO) { + this.codMart = data.codMart; + this.codPromo = data.codPromo; + this.codVlis = data.codVlis; + this.dataCons = data.dataCons; + this.importo = data.importo; + this.note = data.note; + this.qtaOmg = data.qtaOmg; + this.qtaOrd = data.qtaOrd; + this.qtaReso = data.qtaReso; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.untOrd = data.untOrd; + this.valUnt = data.valUnt; + } +} + +export class OrdifySospesoDTO { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + dataDocAsDate?: Date | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: OrdifySospesoDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.dataDocAsDate = data.dataDocAsDate; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class OrdikidsAnagraficaDTO implements Serializable { + blacklistLine?: string[] | null; + chiediBancaClie?: string | null; + citta?: string | null; + cod_anag?: string | null; + cod_paga?: string | null; + cod_sco_cli?: string | null; + cod_vlis?: string | null; + cod_vzon?: string | null; + dest?: DestinatariDTO[] | null; + e_mail?: string | null; + hasArticoliPreferiti?: number | null; + indirizzo?: string | null; + nomeNegozio?: string | null; + part_iva?: string | null; + persona_rif?: string | null; + rag_soc?: string | null; + sconto1?: number | null; + sconto2?: number | null; + telefono?: string | null; + + constructor(data: OrdikidsAnagraficaDTO) { + this.blacklistLine = data.blacklistLine; + this.chiediBancaClie = data.chiediBancaClie; + this.citta = data.citta; + this.cod_anag = data.cod_anag; + this.cod_paga = data.cod_paga; + this.cod_sco_cli = data.cod_sco_cli; + this.cod_vlis = data.cod_vlis; + this.cod_vzon = data.cod_vzon; + this.dest = data.dest; + this.e_mail = data.e_mail; + this.hasArticoliPreferiti = data.hasArticoliPreferiti; + this.indirizzo = data.indirizzo; + this.nomeNegozio = data.nomeNegozio; + this.part_iva = data.part_iva; + this.persona_rif = data.persona_rif; + this.rag_soc = data.rag_soc; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.telefono = data.telefono; + } +} + +export class OrdikidsArticoliDTO implements Serializable { + chiedi_disp?: string | null; + cod_line?: string | null; + cod_sco_art?: string | null; + cod_style?: string | null; + colori?: ColoriDTO[] | null; + des_estera?: string | null; + descrizione?: string | null; + flag_asso?: string | null; + num_min_art_col?: number | null; + prezzo_base?: number | null; + taglie?: TaglieDTO[] | null; + val_scatto?: number | null; + + constructor(data: OrdikidsArticoliDTO) { + this.chiedi_disp = data.chiedi_disp; + this.cod_line = data.cod_line; + this.cod_sco_art = data.cod_sco_art; + this.cod_style = data.cod_style; + this.colori = data.colori; + this.des_estera = data.des_estera; + this.descrizione = data.descrizione; + this.flag_asso = data.flag_asso; + this.num_min_art_col = data.num_min_art_col; + this.prezzo_base = data.prezzo_base; + this.taglie = data.taglie; + this.val_scatto = data.val_scatto; + } +} + +export class OrdineDTO { + artRows?: ArtDTO[] | null; + chiaveGriglia?: string | null; + dataCons?: Date | null; + + constructor(data: OrdineDTO) { + this.artRows = data.artRows; + this.chiaveGriglia = data.chiaveGriglia; + this.dataCons = data.dataCons; + } +} + +export class OrdineInevasoDTO { + availableClassMerc?: AvailableClassMercDTO[] | null; + barcode?: string | null; + citta?: string | null; + codAnagOrd?: string | null; + codAuto?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codVdes?: string | null; + codVvet?: string | null; + codVzon?: string | null; + colliRiservati?: number | null; + data?: Date | null; + dataCons?: Date | null; + dataInizTrasp?: Date | null; + descrizioneAuto?: string | null; + descrizioneCom?: string | null; + descrizionePaga?: string | null; + descrizioneVettore?: string | null; + destinatario?: string | null; + existCollo?: string | null; + existColloBoolean?: boolean | null; + flagEvaso?: boolean | null; + gestione?: string | null; + idViaggio?: number | null; + indirizzo?: string | null; + listino?: string | null; + mezzo?: string | null; + nomeAgente?: string | null; + numCnfdaEvadere?: number | null; + numCnfdisp?: number | null; + numRighe?: number | null; + numero?: number | null; + ordTrasf?: boolean | null; + pesoTotale?: number | null; + provincia?: string | null; + ragSocCom?: string | null; + ragSocOrd?: string | null; + ragSocOrdV?: string | null; + rifOrd?: string | null; + righeInPartenza?: number | null; + saldoContabile?: number | null; + telefonoOrd?: string | null; + termCons?: string | null; + + constructor(data: OrdineInevasoDTO) { + this.availableClassMerc = data.availableClassMerc; + this.barcode = data.barcode; + this.citta = data.citta; + this.codAnagOrd = data.codAnagOrd; + this.codAuto = data.codAuto; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.codVzon = data.codVzon; + this.colliRiservati = data.colliRiservati; + this.data = data.data; + this.dataCons = data.dataCons; + this.dataInizTrasp = data.dataInizTrasp; + this.descrizioneAuto = data.descrizioneAuto; + this.descrizioneCom = data.descrizioneCom; + this.descrizionePaga = data.descrizionePaga; + this.descrizioneVettore = data.descrizioneVettore; + this.destinatario = data.destinatario; + this.existCollo = data.existCollo; + this.existColloBoolean = data.existColloBoolean; + this.flagEvaso = data.flagEvaso; + this.gestione = data.gestione; + this.idViaggio = data.idViaggio; + this.indirizzo = data.indirizzo; + this.listino = data.listino; + this.mezzo = data.mezzo; + this.nomeAgente = data.nomeAgente; + this.numCnfdaEvadere = data.numCnfdaEvadere; + this.numCnfdisp = data.numCnfdisp; + this.numRighe = data.numRighe; + this.numero = data.numero; + this.ordTrasf = data.ordTrasf; + this.pesoTotale = data.pesoTotale; + this.provincia = data.provincia; + this.ragSocCom = data.ragSocCom; + this.ragSocOrd = data.ragSocOrd; + this.ragSocOrdV = data.ragSocOrdV; + this.rifOrd = data.rifOrd; + this.righeInPartenza = data.righeInPartenza; + this.saldoContabile = data.saldoContabile; + this.telefonoOrd = data.telefonoOrd; + this.termCons = data.termCons; + } +} + +export class OrdineInevasoGroupMercDTO { + cod_mgrp?: string | null; + cod_msgr?: string | null; + data?: Date | null; + gestione?: string | null; + numero?: number | null; + + constructor(data: OrdineInevasoGroupMercDTO) { + this.cod_mgrp = data.cod_mgrp; + this.cod_msgr = data.cod_msgr; + this.data = data.data; + this.gestione = data.gestione; + this.numero = data.numero; + } +} + +export class OrdineLavorazioneDTO { + availableClassMerc?: AvailableClassMercDTO[] | null; + codAnag?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codJfasLav?: string | null; + codMdep?: string | null; + codMdepProd?: string | null; + codProd?: string | null; + codTcolUl?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + cumulativeRunTimeSec?: number | null; + dataConsCommessa?: Date | null; + dataConsProdMax?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + dataInizProd?: Date | null; + dataLotto?: Date | null; + dataOrd?: Date | null; + dataOrdProd?: Date | null; + dataScad?: Date | null; + dataScadSuggested?: Date | null; + descCommessa?: string | null; + descrizioneAttivita?: string | null; + descrizioneProd?: string | null; + descrizioneTcol?: string | null; + flagAvviabile?: string | null; + flagEvasoProd?: string | null; + flagOrdineEvaso?: string | null; + flagTracciabilita?: string | null; + gestione?: string | null; + ggScadPartita?: number | null; + hrNum?: number | null; + idLotto?: number | null; + maxFase?: number | null; + maxStep?: number | null; + mtbColtToEdit?: any | null; + noteLav?: string | null; + noteStep?: string | null; + numCnf?: number | null; + numFase?: number | null; + numOrd?: number | null; + numOrdProd?: number | null; + numPedane?: number | null; + numPezzi?: number | null; + partIva?: string | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + partitaMagSuggested?: string | null; + pesoKg?: number | null; + posRiga?: number | null; + prodStd?: number | null; + pzTrasferiti?: number | null; + qtaBatchProd?: number | null; + qtaCnf?: number | null; + qtaLav?: number | null; + qtaProd?: number | null; + qtaTrasferite?: number | null; + ragSocAnag?: string | null; + rapConv?: number | null; + rapConv2?: number | null; + rapConv3?: number | null; + rapConvProd?: number | null; + rifOrd?: string | null; + rigaOrdProd?: number | null; + runTimeEnd?: Date | null; + runTimeHour?: number | null; + runTimeMin?: number | null; + runTimeSec?: number | null; + stato?: string | null; + tempoTrascorso?: number | null; + udcTrasferiti?: number | null; + udsScaricati?: number | null; + untMisProd?: string | null; + untOrd?: string | null; + untOrd2?: string | null; + untOrd3?: string | null; + + constructor(data: OrdineLavorazioneDTO) { + this.availableClassMerc = data.availableClassMerc; + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJfasLav = data.codJfasLav; + this.codMdep = data.codMdep; + this.codMdepProd = data.codMdepProd; + this.codProd = data.codProd; + this.codTcolUl = data.codTcolUl; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.cumulativeRunTimeSec = data.cumulativeRunTimeSec; + this.dataConsCommessa = data.dataConsCommessa; + this.dataConsProdMax = data.dataConsProdMax; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.dataInizProd = data.dataInizProd; + this.dataLotto = data.dataLotto; + this.dataOrd = data.dataOrd; + this.dataOrdProd = data.dataOrdProd; + this.dataScad = data.dataScad; + this.dataScadSuggested = data.dataScadSuggested; + this.descCommessa = data.descCommessa; + this.descrizioneAttivita = data.descrizioneAttivita; + this.descrizioneProd = data.descrizioneProd; + this.descrizioneTcol = data.descrizioneTcol; + this.flagAvviabile = data.flagAvviabile; + this.flagEvasoProd = data.flagEvasoProd; + this.flagOrdineEvaso = data.flagOrdineEvaso; + this.flagTracciabilita = data.flagTracciabilita; + this.gestione = data.gestione; + this.ggScadPartita = data.ggScadPartita; + this.hrNum = data.hrNum; + this.idLotto = data.idLotto; + this.maxFase = data.maxFase; + this.maxStep = data.maxStep; + this.mtbColtToEdit = data.mtbColtToEdit; + this.noteLav = data.noteLav; + this.noteStep = data.noteStep; + this.numCnf = data.numCnf; + this.numFase = data.numFase; + this.numOrd = data.numOrd; + this.numOrdProd = data.numOrdProd; + this.numPedane = data.numPedane; + this.numPezzi = data.numPezzi; + this.partIva = data.partIva; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.partitaMagSuggested = data.partitaMagSuggested; + this.pesoKg = data.pesoKg; + this.posRiga = data.posRiga; + this.prodStd = data.prodStd; + this.pzTrasferiti = data.pzTrasferiti; + this.qtaBatchProd = data.qtaBatchProd; + this.qtaCnf = data.qtaCnf; + this.qtaLav = data.qtaLav; + this.qtaProd = data.qtaProd; + this.qtaTrasferite = data.qtaTrasferite; + this.ragSocAnag = data.ragSocAnag; + this.rapConv = data.rapConv; + this.rapConv2 = data.rapConv2; + this.rapConv3 = data.rapConv3; + this.rapConvProd = data.rapConvProd; + this.rifOrd = data.rifOrd; + this.rigaOrdProd = data.rigaOrdProd; + this.runTimeEnd = data.runTimeEnd; + this.runTimeHour = data.runTimeHour; + this.runTimeMin = data.runTimeMin; + this.runTimeSec = data.runTimeSec; + this.stato = data.stato; + this.tempoTrascorso = data.tempoTrascorso; + this.udcTrasferiti = data.udcTrasferiti; + this.udsScaricati = data.udsScaricati; + this.untMisProd = data.untMisProd; + this.untOrd = data.untOrd; + this.untOrd2 = data.untOrd2; + this.untOrd3 = data.untOrd3; + } +} + +export class OrdineWebDTO { + abi?: string | null; + annoStag?: string | null; + b64Firma?: string | null; + b64FirmaPrivacy?: string | null; + cab?: string | null; + cap?: string | null; + capDest?: string | null; + capitaleAzi?: string | null; + citta?: string | null; + cittaAzi?: string | null; + cittaDest?: string | null; + codAnag?: string | null; + codBanca?: string | null; + codBancaAzi?: string | null; + codCol?: string | null; + codComp?: string | null; + codDgrpArt?: string | null; + codFisc?: string | null; + codGrtg?: string | null; + codMart?: string | null; + codPaga?: string | null; + codTagl_01?: string | null; + codTagl_02?: string | null; + codTagl_03?: string | null; + codTagl_04?: string | null; + codTagl_05?: string | null; + codTagl_06?: string | null; + codTagl_07?: string | null; + codTagl_08?: string | null; + codTagl_09?: string | null; + codTagl_10?: string | null; + codTagl_11?: string | null; + codTagl_12?: string | null; + codTagl_13?: string | null; + codTagl_14?: string | null; + codTagl_15?: string | null; + codTagl_16?: string | null; + codTagl_17?: string | null; + codTagl_18?: string | null; + codTagl_19?: string | null; + codTagl_20?: string | null; + codTagl_21?: string | null; + codTagl_22?: string | null; + codTagl_23?: string | null; + codTagl_24?: string | null; + codTagl_25?: string | null; + codVage?: string | null; + codVdes?: string | null; + dataOrd?: Date | null; + dataOrdProvv?: Date | null; + descDgrpArt?: string | null; + descrBanca?: string | null; + descrBancaAzi?: string | null; + descrCol?: string | null; + descrColore?: string | null; + descrComp?: string | null; + descrEstesa?: string | null; + descrMod?: string | null; + descrPaga?: string | null; + descrPagaEstesa?: string | null; + destinatario?: string | null; + email?: string | null; + emailAzi?: string | null; + emailPec?: string | null; + fax?: string | null; + faxAzi?: string | null; + gestione?: string | null; + gruppoCons?: string | null; + idArt?: number | null; + indirDest?: string | null; + indirizzo?: string | null; + markup?: number | null; + naziDest?: string | null; + nazione?: string | null; + nazioneAzi?: string | null; + nomeAzi?: string | null; + note?: string | null; + noteRiga?: string | null; + noteRow?: string | null; + numOrd?: number | null; + numOrdProvv?: number | null; + partIva?: string | null; + partIvaAzi?: string | null; + personaRif?: string | null; + prezzo?: number | null; + prezzoRetail?: number | null; + prov?: string | null; + provDest?: string | null; + qtaOrd_01?: number | null; + qtaOrd_02?: number | null; + qtaOrd_03?: number | null; + qtaOrd_04?: number | null; + qtaOrd_05?: number | null; + qtaOrd_06?: number | null; + qtaOrd_07?: number | null; + qtaOrd_08?: number | null; + qtaOrd_09?: number | null; + qtaOrd_10?: number | null; + qtaOrd_11?: number | null; + qtaOrd_12?: number | null; + qtaOrd_13?: number | null; + qtaOrd_14?: number | null; + qtaOrd_15?: number | null; + qtaOrd_16?: number | null; + qtaOrd_17?: number | null; + qtaOrd_18?: number | null; + qtaOrd_19?: number | null; + qtaOrd_20?: number | null; + qtaOrd_21?: number | null; + qtaOrd_22?: number | null; + qtaOrd_23?: number | null; + qtaOrd_24?: number | null; + qtaOrd_25?: number | null; + ragSoc?: string | null; + ragSocAge?: string | null; + reaAzi?: string | null; + riford?: string | null; + sconto1?: number | null; + sconto2?: number | null; + sedeLegaleAzi?: string | null; + sedeOperativaAzi?: string | null; + serie?: string | null; + sitoWebAzi?: string | null; + stampaProvv?: boolean | null; + stringSconto?: string | null; + telAzi?: string | null; + telDest?: string | null; + telefono?: string | null; + termCons?: string | null; + + constructor(data: OrdineWebDTO) { + this.abi = data.abi; + this.annoStag = data.annoStag; + this.b64Firma = data.b64Firma; + this.b64FirmaPrivacy = data.b64FirmaPrivacy; + this.cab = data.cab; + this.cap = data.cap; + this.capDest = data.capDest; + this.capitaleAzi = data.capitaleAzi; + this.citta = data.citta; + this.cittaAzi = data.cittaAzi; + this.cittaDest = data.cittaDest; + this.codAnag = data.codAnag; + this.codBanca = data.codBanca; + this.codBancaAzi = data.codBancaAzi; + this.codCol = data.codCol; + this.codComp = data.codComp; + this.codDgrpArt = data.codDgrpArt; + this.codFisc = data.codFisc; + this.codGrtg = data.codGrtg; + this.codMart = data.codMart; + this.codPaga = data.codPaga; + this.codTagl_01 = data.codTagl_01; + this.codTagl_02 = data.codTagl_02; + this.codTagl_03 = data.codTagl_03; + this.codTagl_04 = data.codTagl_04; + this.codTagl_05 = data.codTagl_05; + this.codTagl_06 = data.codTagl_06; + this.codTagl_07 = data.codTagl_07; + this.codTagl_08 = data.codTagl_08; + this.codTagl_09 = data.codTagl_09; + this.codTagl_10 = data.codTagl_10; + this.codTagl_11 = data.codTagl_11; + this.codTagl_12 = data.codTagl_12; + this.codTagl_13 = data.codTagl_13; + this.codTagl_14 = data.codTagl_14; + this.codTagl_15 = data.codTagl_15; + this.codTagl_16 = data.codTagl_16; + this.codTagl_17 = data.codTagl_17; + this.codTagl_18 = data.codTagl_18; + this.codTagl_19 = data.codTagl_19; + this.codTagl_20 = data.codTagl_20; + this.codTagl_21 = data.codTagl_21; + this.codTagl_22 = data.codTagl_22; + this.codTagl_23 = data.codTagl_23; + this.codTagl_24 = data.codTagl_24; + this.codTagl_25 = data.codTagl_25; + this.codVage = data.codVage; + this.codVdes = data.codVdes; + this.dataOrd = data.dataOrd; + this.dataOrdProvv = data.dataOrdProvv; + this.descDgrpArt = data.descDgrpArt; + this.descrBanca = data.descrBanca; + this.descrBancaAzi = data.descrBancaAzi; + this.descrCol = data.descrCol; + this.descrColore = data.descrColore; + this.descrComp = data.descrComp; + this.descrEstesa = data.descrEstesa; + this.descrMod = data.descrMod; + this.descrPaga = data.descrPaga; + this.descrPagaEstesa = data.descrPagaEstesa; + this.destinatario = data.destinatario; + this.email = data.email; + this.emailAzi = data.emailAzi; + this.emailPec = data.emailPec; + this.fax = data.fax; + this.faxAzi = data.faxAzi; + this.gestione = data.gestione; + this.gruppoCons = data.gruppoCons; + this.idArt = data.idArt; + this.indirDest = data.indirDest; + this.indirizzo = data.indirizzo; + this.markup = data.markup; + this.naziDest = data.naziDest; + this.nazione = data.nazione; + this.nazioneAzi = data.nazioneAzi; + this.nomeAzi = data.nomeAzi; + this.note = data.note; + this.noteRiga = data.noteRiga; + this.noteRow = data.noteRow; + this.numOrd = data.numOrd; + this.numOrdProvv = data.numOrdProvv; + this.partIva = data.partIva; + this.partIvaAzi = data.partIvaAzi; + this.personaRif = data.personaRif; + this.prezzo = data.prezzo; + this.prezzoRetail = data.prezzoRetail; + this.prov = data.prov; + this.provDest = data.provDest; + this.qtaOrd_01 = data.qtaOrd_01; + this.qtaOrd_02 = data.qtaOrd_02; + this.qtaOrd_03 = data.qtaOrd_03; + this.qtaOrd_04 = data.qtaOrd_04; + this.qtaOrd_05 = data.qtaOrd_05; + this.qtaOrd_06 = data.qtaOrd_06; + this.qtaOrd_07 = data.qtaOrd_07; + this.qtaOrd_08 = data.qtaOrd_08; + this.qtaOrd_09 = data.qtaOrd_09; + this.qtaOrd_10 = data.qtaOrd_10; + this.qtaOrd_11 = data.qtaOrd_11; + this.qtaOrd_12 = data.qtaOrd_12; + this.qtaOrd_13 = data.qtaOrd_13; + this.qtaOrd_14 = data.qtaOrd_14; + this.qtaOrd_15 = data.qtaOrd_15; + this.qtaOrd_16 = data.qtaOrd_16; + this.qtaOrd_17 = data.qtaOrd_17; + this.qtaOrd_18 = data.qtaOrd_18; + this.qtaOrd_19 = data.qtaOrd_19; + this.qtaOrd_20 = data.qtaOrd_20; + this.qtaOrd_21 = data.qtaOrd_21; + this.qtaOrd_22 = data.qtaOrd_22; + this.qtaOrd_23 = data.qtaOrd_23; + this.qtaOrd_24 = data.qtaOrd_24; + this.qtaOrd_25 = data.qtaOrd_25; + this.ragSoc = data.ragSoc; + this.ragSocAge = data.ragSocAge; + this.reaAzi = data.reaAzi; + this.riford = data.riford; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sedeLegaleAzi = data.sedeLegaleAzi; + this.sedeOperativaAzi = data.sedeOperativaAzi; + this.serie = data.serie; + this.sitoWebAzi = data.sitoWebAzi; + this.stampaProvv = data.stampaProvv; + this.stringSconto = data.stringSconto; + this.telAzi = data.telAzi; + this.telDest = data.telDest; + this.telefono = data.telefono; + this.termCons = data.termCons; + } +} + +export class OrdineWebNewClieDTO { + cap?: string | null; + citta?: string | null; + codFisc?: string | null; + cod_fisc?: string | null; + cognome?: string | null; + cuuPa?: string | null; + cuu_pa?: string | null; + email?: string | null; + emailPec?: string | null; + email_pec?: string | null; + fax?: string | null; + indirizzo?: string | null; + nazione?: string | null; + nome?: string | null; + nome_negozio?: string | null; + partitaIva?: string | null; + partita_iva?: string | null; + personaRif?: string | null; + persona_rif?: string | null; + prov?: string | null; + ragSoc?: string | null; + rag_soc?: string | null; + telefono?: string | null; + + constructor(data: OrdineWebNewClieDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.codFisc = data.codFisc; + this.cod_fisc = data.cod_fisc; + this.cognome = data.cognome; + this.cuuPa = data.cuuPa; + this.cuu_pa = data.cuu_pa; + this.email = data.email; + this.emailPec = data.emailPec; + this.email_pec = data.email_pec; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.nome = data.nome; + this.nome_negozio = data.nome_negozio; + this.partitaIva = data.partitaIva; + this.partita_iva = data.partita_iva; + this.personaRif = data.personaRif; + this.persona_rif = data.persona_rif; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.rag_soc = data.rag_soc; + this.telefono = data.telefono; + } +} + +export class OrdineWebNewDestDTO { + cap?: string | null; + citta?: string | null; + destinatario?: string | null; + email?: string | null; + indirizzo?: string | null; + nazione?: string | null; + prov?: string | null; + + constructor(data: OrdineWebNewDestDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.destinatario = data.destinatario; + this.email = data.email; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.prov = data.prov; + } +} + +export class OrdiniAcquistiGrigliaDTOListiniDTO { + codAlis?: string | null; + descrAlis?: string | null; + + constructor(data: OrdiniAcquistiGrigliaDTOListiniDTO) { + this.codAlis = data.codAlis; + this.descrAlis = data.descrAlis; + } +} + +export class OrdiniAcquistoGrigliaDTO { + articoli?: OrdiniAcquistoGrigliaDTOArticoliDTO[] | null; + descrDepo?: string | null; + descrLisa?: string | null; + listini?: OrdiniAcquistiGrigliaDTOListiniDTO[] | null; + + constructor(data: OrdiniAcquistoGrigliaDTO) { + this.articoli = data.articoli; + this.descrDepo = data.descrDepo; + this.descrLisa = data.descrLisa; + this.listini = data.listini; + } +} + +export class OrdiniAcquistoGrigliaDTOArticoliDTO { + barcode?: string[] | null; + codAlis?: string | null; + codArtFor?: string | null; + codMart?: string | null; + ctMaxOrd?: number | null; + descrAlis?: string | null; + descrizione?: string | null; + flagQtaCnfFissa?: string | null; + flagQtaMultipla?: string | null; + flagTracciabilita?: string | null; + ggScadenza?: number | null; + giacenza?: number | null; + mediaSett?: number | null; + merceDaRic?: number | null; + newNoPromo?: boolean | null; + qtaCnf?: number | null; + qtaMinOrdinabile?: number | null; + qtaOrd?: number | null; + qtaPrevistaVendita?: number | null; + qtaProposta?: number | null; + untMis?: string | null; + + constructor(data: OrdiniAcquistoGrigliaDTOArticoliDTO) { + this.barcode = data.barcode; + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.ctMaxOrd = data.ctMaxOrd; + this.descrAlis = data.descrAlis; + this.descrizione = data.descrizione; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagQtaMultipla = data.flagQtaMultipla; + this.flagTracciabilita = data.flagTracciabilita; + this.ggScadenza = data.ggScadenza; + this.giacenza = data.giacenza; + this.mediaSett = data.mediaSett; + this.merceDaRic = data.merceDaRic; + this.newNoPromo = data.newNoPromo; + this.qtaCnf = data.qtaCnf; + this.qtaMinOrdinabile = data.qtaMinOrdinabile; + this.qtaOrd = data.qtaOrd; + this.qtaPrevistaVendita = data.qtaPrevistaVendita; + this.qtaProposta = data.qtaProposta; + this.untMis = data.untMis; + } +} + +export class OrdiniDialogoDTO { + BAR_CODE_IMB?: string | null; + BAR_CODE_PROD?: string | null; + CAP?: string | null; + CITTA?: string | null; + COD_ART_CLIE?: string | null; + COD_ART_FORN?: string | null; + COD_COL_CLIE?: string | null; + COD_COL_FORN?: string | null; + COD_DEPOSITO?: string | null; + COD_DEST?: string | null; + COD_KIT?: string | null; + COD_TAGL_CLIE?: string | null; + COD_TAGL_FORN?: string | null; + C_FISC_CLIE?: string | null; + DATA_CONS?: Date | null; + DATA_ORD?: Date | null; + DESCR_ART?: string | null; + EMAIL?: string | null; + INDIRIZZO?: string | null; + NOTE?: string | null; + NOTE_ARTICOLO?: string | null; + NUM_ORD?: number | null; + PERC_IVA?: number | null; + PERC_ONERI?: number | null; + PERC_PREMI?: number | null; + PERC_SCO1?: number | null; + PERC_SCO2?: number | null; + PERC_SCO3?: number | null; + PERC_SCO4?: number | null; + PERC_SCO5?: number | null; + PERC_SCO6?: number | null; + PERC_SCO7?: number | null; + PERC_SCO8?: number | null; + PREZZO?: number | null; + PROMOZIONE?: string | null; + PROV?: string | null; + P_IVA_CEDI?: string | null; + P_IVA_CLIE?: string | null; + P_IVA_FORN?: string | null; + QTA_CNF?: number | null; + QTA_COLLI?: number | null; + QTA_ORD?: number | null; + RAG_SOC?: string | null; + RIF_ORD?: string | null; + RIGA_ORD?: number | null; + SERIE?: string | null; + TELEFONO?: string | null; + TERM_CONS?: string | null; + UNT_MIS?: string | null; + VAL_ONERI?: number | null; + VAL_PREMI?: number | null; + + constructor(data: OrdiniDialogoDTO) { + this.BAR_CODE_IMB = data.BAR_CODE_IMB; + this.BAR_CODE_PROD = data.BAR_CODE_PROD; + this.CAP = data.CAP; + this.CITTA = data.CITTA; + this.COD_ART_CLIE = data.COD_ART_CLIE; + this.COD_ART_FORN = data.COD_ART_FORN; + this.COD_COL_CLIE = data.COD_COL_CLIE; + this.COD_COL_FORN = data.COD_COL_FORN; + this.COD_DEPOSITO = data.COD_DEPOSITO; + this.COD_DEST = data.COD_DEST; + this.COD_KIT = data.COD_KIT; + this.COD_TAGL_CLIE = data.COD_TAGL_CLIE; + this.COD_TAGL_FORN = data.COD_TAGL_FORN; + this.C_FISC_CLIE = data.C_FISC_CLIE; + this.DATA_CONS = data.DATA_CONS; + this.DATA_ORD = data.DATA_ORD; + this.DESCR_ART = data.DESCR_ART; + this.EMAIL = data.EMAIL; + this.INDIRIZZO = data.INDIRIZZO; + this.NOTE = data.NOTE; + this.NOTE_ARTICOLO = data.NOTE_ARTICOLO; + this.NUM_ORD = data.NUM_ORD; + this.PERC_IVA = data.PERC_IVA; + this.PERC_ONERI = data.PERC_ONERI; + this.PERC_PREMI = data.PERC_PREMI; + this.PERC_SCO1 = data.PERC_SCO1; + this.PERC_SCO2 = data.PERC_SCO2; + this.PERC_SCO3 = data.PERC_SCO3; + this.PERC_SCO4 = data.PERC_SCO4; + this.PERC_SCO5 = data.PERC_SCO5; + this.PERC_SCO6 = data.PERC_SCO6; + this.PERC_SCO7 = data.PERC_SCO7; + this.PERC_SCO8 = data.PERC_SCO8; + this.PREZZO = data.PREZZO; + this.PROMOZIONE = data.PROMOZIONE; + this.PROV = data.PROV; + this.P_IVA_CEDI = data.P_IVA_CEDI; + this.P_IVA_CLIE = data.P_IVA_CLIE; + this.P_IVA_FORN = data.P_IVA_FORN; + this.QTA_CNF = data.QTA_CNF; + this.QTA_COLLI = data.QTA_COLLI; + this.QTA_ORD = data.QTA_ORD; + this.RAG_SOC = data.RAG_SOC; + this.RIF_ORD = data.RIF_ORD; + this.RIGA_ORD = data.RIGA_ORD; + this.SERIE = data.SERIE; + this.TELEFONO = data.TELEFONO; + this.TERM_CONS = data.TERM_CONS; + this.UNT_MIS = data.UNT_MIS; + this.VAL_ONERI = data.VAL_ONERI; + this.VAL_PREMI = data.VAL_PREMI; + } +} + +export class OrdiniDialogoDTOExport extends OrdiniDialogoDTO implements IExportFormat { + DATA_CONS?: string | null; + DATA_ORD?: string | null; + + constructor(data: OrdiniDialogoDTOExport) { + super(data); + } +} + +export class OrdiniDialogoDTOImport extends OrdiniDialogoDTO implements IImportFormat { + + constructor(data: OrdiniDialogoDTOImport) { + super(data); + } +} + +export class OrdiniRiga { + codiceArticolo?: string | null; + codiceMenu?: string | null; + descrizione?: string | null; + menu?: string | null; + numOrd?: number | null; + peso?: string | null; + quantita?: string | null; + tipoRiga?: number | null; + tipologia?: string | null; + + constructor(data: OrdiniRiga) { + this.codiceArticolo = data.codiceArticolo; + this.codiceMenu = data.codiceMenu; + this.descrizione = data.descrizione; + this.menu = data.menu; + this.numOrd = data.numOrd; + this.peso = data.peso; + this.quantita = data.quantita; + this.tipoRiga = data.tipoRiga; + this.tipologia = data.tipologia; + } +} + +export class OrdiniTestata { + codiceMenu?: string | null; + dataOra?: string | null; + idCliente?: number | null; + numOrd?: number | null; + ragioneSociale1?: string | null; + ragioneSociale2?: string | null; + telefono?: string | null; + tipoRiga?: number | null; + + constructor(data: OrdiniTestata) { + this.codiceMenu = data.codiceMenu; + this.dataOra = data.dataOra; + this.idCliente = data.idCliente; + this.numOrd = data.numOrd; + this.ragioneSociale1 = data.ragioneSociale1; + this.ragioneSociale2 = data.ragioneSociale2; + this.telefono = data.telefono; + this.tipoRiga = data.tipoRiga; + } +} + +export class OrdiniYocabeDTO { + ean?: string | null; + "file etichetta"?: string | null; + "p. vendits"?: number | null; + qty?: number | null; + "rif. ordine yocabe"?: string | null; + tracking?: string | null; + + constructor(data: OrdiniYocabeDTO) { + this.ean = data.ean; + this["file etichetta"] = data["file etichetta"]; + this["p. vendits"] = data["p. vendits"]; + this.qty = data.qty; + this["rif. ordine yocabe"] = data["rif. ordine yocabe"]; + this.tracking = data.tracking; + } +} + +export interface PK extends Annotation { +} + +export class PackagingMaterial { + code?: string | null; + height_mm?: number | null; + id?: string | null; + is_archived?: boolean | null; + length_mm?: number | null; + name?: string | null; + note?: string | null; + type?: PackagingMaterialType | null; + weight_kg?: number | null; + width_mm?: number | null; + + constructor(data: PackagingMaterial) { + this.code = data.code; + this.height_mm = data.height_mm; + this.id = data.id; + this.is_archived = data.is_archived; + this.length_mm = data.length_mm; + this.name = data.name; + this.note = data.note; + this.type = data.type; + this.weight_kg = data.weight_kg; + this.width_mm = data.width_mm; + } +} + +export class PackagingMaterialData extends PackagingMaterial { + codProd?: string | null; + + constructor(data: PackagingMaterialData) { + super(data); + this.codProd = data.codProd; + } +} + +export class PagamentiDTO implements Serializable { + chiediBancaClie?: string | null; + codPaga?: string | null; + descrPaga?: string | null; + + constructor(data: PagamentiDTO) { + this.chiediBancaClie = data.chiediBancaClie; + this.codPaga = data.codPaga; + this.descrPaga = data.descrPaga; + } +} + +export class PagamentoDTO { + codPaga?: string | null; + descrizione?: string | null; + importo?: number | null; + + constructor(data: PagamentoDTO) { + this.codPaga = data.codPaga; + this.descrizione = data.descrizione; + this.importo = data.importo; + } +} + +export class PaginatedDTO { + data?: T[] | null; + totalCount?: number | null; + + constructor(data: PaginatedDTO) { + this.data = data.data; + this.totalCount = data.totalCount; + } +} + +export class PairsDTO { + name?: string | null; + value?: any | null; + + constructor(data: PairsDTO) { + this.name = data.name; + this.value = data.value; + } +} + +export class ParamRequestDTO { + className?: string | null; + defaultValue?: string | null; + name?: string | null; + required?: boolean | null; + + constructor(data: ParamRequestDTO) { + this.className = data.className; + this.defaultValue = data.defaultValue; + this.name = data.name; + this.required = data.required; + } +} + +export class Payment { + Amount?: number | null; + CurrencyCode?: string | null; + PaymentMethod?: string | null; + + constructor(data: Payment) { + this.Amount = data.Amount; + this.CurrencyCode = data.CurrencyCode; + this.PaymentMethod = data.PaymentMethod; + } +} + +export class PdfDTO { + _b64GzBlobPdf?: string | null; + b64_gz_blob_pdf?: string | null; + + constructor(data: PdfDTO) { + this._b64GzBlobPdf = data._b64GzBlobPdf; + this.b64_gz_blob_pdf = data.b64_gz_blob_pdf; + } +} + +export class PedanaDTO { + codMart?: string | null; + codTcol?: string | null; + qtaDoc?: number | null; + + constructor(data: PedanaDTO) { + this.codMart = data.codMart; + this.codTcol = data.codTcol; + this.qtaDoc = data.qtaDoc; + } +} + +export class Pedane { + codTcol?: string | null; + qta?: number | null; + + constructor(data: Pedane) { + this.codTcol = data.codTcol; + this.qta = data.qta; + } +} + +export class PersoneRifDTO { + codAnag?: string | null; + codJcom?: string | null; + eMail?: string | null; + personaCodJcom?: string | null; + personaRif?: string | null; + + constructor(data: PersoneRifDTO) { + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.eMail = data.eMail; + this.personaCodJcom = data.personaCodJcom; + this.personaRif = data.personaRif; + } +} + +export class PianoDto { + dataPiano?: Date | null; + idPiano?: number | null; + + constructor(data: PianoDto) { + this.dataPiano = data.dataPiano; + this.idPiano = data.idPiano; + } +} + +export class PianoLogisticoDTO { + codAlis?: string | null; + descrizione?: string | null; + ggCons?: number | null; + ggOrd?: number | null; + oraMaxOrd?: Date | null; + oraScarico?: Date | null; + recurrenceOrdKey?: string | null; + recurrenceRuleOrdine?: string | null; + recurrenceRuleScarico?: string | null; + recurrenceScarKey?: string | null; + + constructor(data: PianoLogisticoDTO) { + this.codAlis = data.codAlis; + this.descrizione = data.descrizione; + this.ggCons = data.ggCons; + this.ggOrd = data.ggOrd; + this.oraMaxOrd = data.oraMaxOrd; + this.oraScarico = data.oraScarico; + this.recurrenceOrdKey = data.recurrenceOrdKey; + this.recurrenceRuleOrdine = data.recurrenceRuleOrdine; + this.recurrenceRuleScarico = data.recurrenceRuleScarico; + this.recurrenceScarKey = data.recurrenceScarKey; + } +} + +export class PickingObjectDTO { + mtbAart?: MtbAart | null; + mtbColts?: MtbColt[] | null; + sitArtOrdDTO?: SitArtOrdDTO | null; + + constructor(data: PickingObjectDTO) { + this.mtbAart = data.mtbAart; + this.mtbColts = data.mtbColts; + this.sitArtOrdDTO = data.sitArtOrdDTO; + } +} + +export class PlanActivityDTO { + activityId?: string | null; + activityTypeId?: string | null; + agenda?: Agenda[] | null; + creaAttivita?: string | null; + description?: string | null; + users?: User[] | null; + + constructor(data: PlanActivityDTO) { + this.activityId = data.activityId; + this.activityTypeId = data.activityTypeId; + this.agenda = data.agenda; + this.creaAttivita = data.creaAttivita; + this.description = data.description; + this.users = data.users; + } +} + +export class PlurimaDocumentDTO { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + dataInserimento?: Date | null; + dataModifica?: Date | null; + dataReg?: Date | null; + ivaMag?: string | null; + lottoMag?: string | null; + mAgente?: string | null; + mArticolo?: string | null; + mCausale?: string | null; + mColli?: number | null; + mDescrArticolo?: string | null; + mQuantita?: number | null; + mQuantitaV?: number | null; + mUnita?: string | null; + numDoc?: number | null; + numDocMagazzino?: string | null; + prezzo?: number | null; + progrGenerale?: number | null; + rigo?: number | null; + scontoArticolo?: number | null; + scontoC1?: number | null; + scontoC2?: number | null; + scontoP?: number | null; + serDoc?: string | null; + sysUpdateUser?: string | null; + username?: string | null; + valore?: number | null; + valoreUnitario?: number | null; + + constructor(data: PlurimaDocumentDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.dataInserimento = data.dataInserimento; + this.dataModifica = data.dataModifica; + this.dataReg = data.dataReg; + this.ivaMag = data.ivaMag; + this.lottoMag = data.lottoMag; + this.mAgente = data.mAgente; + this.mArticolo = data.mArticolo; + this.mCausale = data.mCausale; + this.mColli = data.mColli; + this.mDescrArticolo = data.mDescrArticolo; + this.mQuantita = data.mQuantita; + this.mQuantitaV = data.mQuantitaV; + this.mUnita = data.mUnita; + this.numDoc = data.numDoc; + this.numDocMagazzino = data.numDocMagazzino; + this.prezzo = data.prezzo; + this.progrGenerale = data.progrGenerale; + this.rigo = data.rigo; + this.scontoArticolo = data.scontoArticolo; + this.scontoC1 = data.scontoC1; + this.scontoC2 = data.scontoC2; + this.scontoP = data.scontoP; + this.serDoc = data.serDoc; + this.sysUpdateUser = data.sysUpdateUser; + this.username = data.username; + this.valore = data.valore; + this.valoreUnitario = data.valoreUnitario; + } +} + +export class PlurimixVenditaDocumentDTO { + codAnagVen?: string | null; + codArticolo?: string | null; + codMdepSoccida?: string | null; + codVdesVen?: string | null; + dataDocumento?: Date | null; + lotto?: string | null; + numDocumento?: string | null; + qta?: number | null; + + constructor(data: PlurimixVenditaDocumentDTO) { + this.codAnagVen = data.codAnagVen; + this.codArticolo = data.codArticolo; + this.codMdepSoccida = data.codMdepSoccida; + this.codVdesVen = data.codVdesVen; + this.dataDocumento = data.dataDocumento; + this.lotto = data.lotto; + this.numDocumento = data.numDocumento; + this.qta = data.qta; + } +} + +export class PrintDocumentRequestDTO { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + numDoc?: number | null; + sendEmail?: boolean | null; + serDoc?: string | null; + stampa?: boolean | null; + + constructor(data: PrintDocumentRequestDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.numDoc = data.numDoc; + this.sendEmail = data.sendEmail; + this.serDoc = data.serDoc; + this.stampa = data.stampa; + } +} + +export class PrintOrderCloseDTO { + flagPrintPackingList?: boolean | null; + flagPrintSSCC?: boolean | null; + flagSkipPrintedSSCC?: boolean | null; + maxPrintRange?: number | null; + minPrintRange?: number | null; + printList?: DtbOrdt[] | null; + + constructor(data: PrintOrderCloseDTO) { + this.flagPrintPackingList = data.flagPrintPackingList; + this.flagPrintSSCC = data.flagPrintSSCC; + this.flagSkipPrintedSSCC = data.flagSkipPrintedSSCC; + this.maxPrintRange = data.maxPrintRange; + this.minPrintRange = data.minPrintRange; + this.printList = data.printList; + } +} + +export class PrintQueueDTO { + codMdep?: string | null; + dataCollo?: string | null; + gestione?: string | null; + id?: number | null; + numCollo?: number | null; + serCollo?: string | null; + + constructor(data: PrintQueueDTO) { + this.codMdep = data.codMdep; + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.id = data.id; + this.numCollo = data.numCollo; + this.serCollo = data.serCollo; + } +} + +export class PrintULRequestDTO { + mtbColts?: MtbColt[] | null; + + constructor(data: PrintULRequestDTO) { + this.mtbColts = data.mtbColts; + } +} + +export class PrinterServiceRequestDTO { + base64File?: string | null; + fileType?: string | null; + printName?: string | null; + printerName?: string | null; + + constructor(data: PrinterServiceRequestDTO) { + this.base64File = data.base64File; + this.fileType = data.fileType; + this.printName = data.printName; + this.printerName = data.printerName; + } +} + +export interface Priority extends Annotation { +} + +export class PrivateInvoiceDTO { + citta?: string | null; + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + desSuMod?: string | null; + eMail?: string | null; + fileName?: string | null; + gestione?: string | null; + modStamp?: string | null; + numDoc?: number | null; + personaRif?: string | null; + ragSoc?: string | null; + serDoc?: string | null; + tipoIndirizzo?: string | null; + ultVersione?: number | null; + + constructor(data: PrivateInvoiceDTO) { + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.desSuMod = data.desSuMod; + this.eMail = data.eMail; + this.fileName = data.fileName; + this.gestione = data.gestione; + this.modStamp = data.modStamp; + this.numDoc = data.numDoc; + this.personaRif = data.personaRif; + this.ragSoc = data.ragSoc; + this.serDoc = data.serDoc; + this.tipoIndirizzo = data.tipoIndirizzo; + this.ultVersione = data.ultVersione; + } +} + +export class PrlPrevtDisegni extends EntityBase { + codDisegno?: string | null; + flagDisConf?: string | null; + idOfferta?: string | null; + type: "prl_prevt_disegni"; + + constructor(data: PrlPrevtDisegni) { + super(data); + this.codDisegno = data.codDisegno; + this.flagDisConf = data.flagDisConf; + this.idOfferta = data.idOfferta; + } +} + +export class ProdAttachmentDTO { + fileName?: string | null; + idAttach?: string | null; + + constructor(data: ProdAttachmentDTO) { + this.fileName = data.fileName; + this.idAttach = data.idAttach; + } +} + +export class ProdCaricoLavorazioneDTO { + codAnagDoc?: string | null; + codDtipDoc?: string | null; + codJcom?: string | null; + codMart?: string | null; + dataCollo?: Date | null; + dataColloRif?: Date | null; + dataDoc?: Date | null; + dataOrd?: Date | null; + datetimeRow?: Date | null; + gestione?: string | null; + gestioneRif?: string | null; + giacenza?: number | null; + idRigaDoc?: number | null; + note?: string | null; + numCnf?: number | null; + numCollo?: number | null; + numColloRif?: number | null; + numDoc?: number | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaCol?: number | null; + riga?: number | null; + rigaOrd?: number | null; + serCollo?: string | null; + serColloRif?: string | null; + serDoc?: string | null; + utente?: string | null; + + constructor(data: ProdCaricoLavorazioneDTO) { + this.codAnagDoc = data.codAnagDoc; + this.codDtipDoc = data.codDtipDoc; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataCollo = data.dataCollo; + this.dataColloRif = data.dataColloRif; + this.dataDoc = data.dataDoc; + this.dataOrd = data.dataOrd; + this.datetimeRow = data.datetimeRow; + this.gestione = data.gestione; + this.gestioneRif = data.gestioneRif; + this.giacenza = data.giacenza; + this.idRigaDoc = data.idRigaDoc; + this.note = data.note; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numColloRif = data.numColloRif; + this.numDoc = data.numDoc; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.riga = data.riga; + this.rigaOrd = data.rigaOrd; + this.serCollo = data.serCollo; + this.serColloRif = data.serColloRif; + this.serDoc = data.serDoc; + this.utente = data.utente; + } +} + +export class ProdLineStatusDTO { + codJfas?: string | null; + codMart?: string | null; + codMdepLav?: string | null; + datetimeEnd?: Date | null; + datetimeStart?: Date | null; + descrizione?: string | null; + descrizioneProd?: string | null; + listaOrd?: string | null; + maxAllocazione?: number | null; + partitaMag?: string | null; + qtaAllocate?: number | null; + + constructor(data: ProdLineStatusDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMdepLav = data.codMdepLav; + this.datetimeEnd = data.datetimeEnd; + this.datetimeStart = data.datetimeStart; + this.descrizione = data.descrizione; + this.descrizioneProd = data.descrizioneProd; + this.listaOrd = data.listaOrd; + this.maxAllocazione = data.maxAllocazione; + this.partitaMag = data.partitaMag; + this.qtaAllocate = data.qtaAllocate; + } +} + +export class ProdResultDTO { + codProd?: string | null; + partitaMag?: string | null; + qtaProd?: number | null; + rapConv?: number | null; + untMisProd?: string | null; + + constructor(data: ProdResultDTO) { + this.codProd = data.codProd; + this.partitaMag = data.partitaMag; + this.qtaProd = data.qtaProd; + this.rapConv = data.rapConv; + this.untMisProd = data.untMisProd; + } +} + +export class ProdottoDTO { + category_path?: string | null; + colore?: string | null; + file_description?: string | null; + file_meta?: string | null; + file_ordering?: string | null; + file_title?: string | null; + file_url?: string | null; + file_url_thumb?: string | null; + manufacturer_name?: string | null; + multi_variant_fields?: string | null; + multi_variant_title?: string | null; + product_desc?: string | null; + product_discount_id?: string | null; + product_in_stock?: number | null; + product_mpn?: string | null; + product_name?: string | null; + product_override_price?: number | null; + product_parent_sku?: string | null; + product_price?: number | null; + product_s_desc?: string | null; + product_sku?: string | null; + product_tax_id?: string | null; + published?: string | null; + taglia?: string | null; + + constructor(data: ProdottoDTO) { + this.category_path = data.category_path; + this.colore = data.colore; + this.file_description = data.file_description; + this.file_meta = data.file_meta; + this.file_ordering = data.file_ordering; + this.file_title = data.file_title; + this.file_url = data.file_url; + this.file_url_thumb = data.file_url_thumb; + this.manufacturer_name = data.manufacturer_name; + this.multi_variant_fields = data.multi_variant_fields; + this.multi_variant_title = data.multi_variant_title; + this.product_desc = data.product_desc; + this.product_discount_id = data.product_discount_id; + this.product_in_stock = data.product_in_stock; + this.product_mpn = data.product_mpn; + this.product_name = data.product_name; + this.product_override_price = data.product_override_price; + this.product_parent_sku = data.product_parent_sku; + this.product_price = data.product_price; + this.product_s_desc = data.product_s_desc; + this.product_sku = data.product_sku; + this.product_tax_id = data.product_tax_id; + this.published = data.published; + this.taglia = data.taglia; + } +} + +export class ProductDTOSW { + date_available?: string | null; + ean?: string | null; + height?: string | null; + image?: string | null; + isb?: string | null; + jan?: string | null; + keyword?: string | null; + length?: string | null; + length_class_id?: string | null; + location?: string | null; + manufacturer_id?: number | null; + minimum?: string | null; + model?: string | null; + mpn?: string | null; + other_images?: string[] | null; + points?: string | null; + price?: number | null; + product_attribute?: any[] | null; + product_category?: string[] | null; + product_description?: ProductDescriptionDTOSW[] | null; + product_discount?: any[] | null; + product_option?: any[] | null; + product_related?: any[] | null; + product_special?: ProductSpecialDTOSW[] | null; + product_store?: string[] | null; + quantity?: number | null; + reward?: string | null; + sku?: string | null; + sort_order?: string | null; + status?: string | null; + stock_status_id?: string | null; + subtract?: string | null; + tax_class_id?: number | null; + upc?: string | null; + weight?: number | null; + weight_class_id?: string | null; + width?: string | null; + + constructor(data: ProductDTOSW) { + this.date_available = data.date_available; + this.ean = data.ean; + this.height = data.height; + this.image = data.image; + this.isb = data.isb; + this.jan = data.jan; + this.keyword = data.keyword; + this.length = data.length; + this.length_class_id = data.length_class_id; + this.location = data.location; + this.manufacturer_id = data.manufacturer_id; + this.minimum = data.minimum; + this.model = data.model; + this.mpn = data.mpn; + this.other_images = data.other_images; + this.points = data.points; + this.price = data.price; + this.product_attribute = data.product_attribute; + this.product_category = data.product_category; + this.product_description = data.product_description; + this.product_discount = data.product_discount; + this.product_option = data.product_option; + this.product_related = data.product_related; + this.product_special = data.product_special; + this.product_store = data.product_store; + this.quantity = data.quantity; + this.reward = data.reward; + this.sku = data.sku; + this.sort_order = data.sort_order; + this.status = data.status; + this.stock_status_id = data.stock_status_id; + this.subtract = data.subtract; + this.tax_class_id = data.tax_class_id; + this.upc = data.upc; + this.weight = data.weight; + this.weight_class_id = data.weight_class_id; + this.width = data.width; + } +} + +export class ProductDescriptionDTOSW { + description?: string | null; + language_id?: string | null; + meta_title?: string | null; + name?: string | null; + + constructor(data: ProductDescriptionDTOSW) { + this.description = data.description; + this.language_id = data.language_id; + this.meta_title = data.meta_title; + this.name = data.name; + } +} + +export class ProductSpecialDTOSW { + customer_group_id?: string | null; + date_end?: string | null; + date_start?: string | null; + price?: string | null; + priority?: string | null; + tipo?: string | null; + + constructor(data: ProductSpecialDTOSW) { + this.customer_group_id = data.customer_group_id; + this.date_end = data.date_end; + this.date_start = data.date_start; + this.price = data.price; + this.priority = data.priority; + this.tipo = data.tipo; + } +} + +export class ProductUpdateDTO { + id?: number | null; + regular_price?: string | null; + stock_quantity?: string | null; + stock_status?: string | null; + + constructor(data: ProductUpdateDTO) { + this.id = data.id; + this.regular_price = data.regular_price; + this.stock_quantity = data.stock_quantity; + this.stock_status = data.stock_status; + } +} + +export class ProduzioneDTO { + codJfas?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + dataScad?: Date | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaOrd?: number | null; + rapConv?: number | null; + rifOrd?: string | null; + untOrd?: string | null; + + constructor(data: ProduzioneDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaOrd = data.qtaOrd; + this.rapConv = data.rapConv; + this.rifOrd = data.rifOrd; + this.untOrd = data.untOrd; + } +} + +export class ProduzioneOrdineDTO { + codMart?: string | null; + dataProd?: Date | null; + ordine?: DtbOrdt | null; + partitaMag?: string | null; + pesoProduzione?: number | null; + quantita?: number | null; + scarichiProduzione?: MtbColt[] | null; + + constructor(data: ProduzioneOrdineDTO) { + this.codMart = data.codMart; + this.dataProd = data.dataProd; + this.ordine = data.ordine; + this.partitaMag = data.partitaMag; + this.pesoProduzione = data.pesoProduzione; + this.quantita = data.quantita; + this.scarichiProduzione = data.scarichiProduzione; + } +} + +export class PromoDTO { + codAliq?: string | null; + codPromo?: string | null; + flagTipoPromo?: string | null; + qtaCnf?: number | null; + qtaOmaggio?: number | null; + qtaVend?: number | null; + umVend?: string | null; + + constructor(data: PromoDTO) { + this.codAliq = data.codAliq; + this.codPromo = data.codPromo; + this.flagTipoPromo = data.flagTipoPromo; + this.qtaCnf = data.qtaCnf; + this.qtaOmaggio = data.qtaOmaggio; + this.qtaVend = data.qtaVend; + this.umVend = data.umVend; + } +} + +export class PropostaOrdineDTO { + articoli?: ArticoliDTO[] | null; + compilatoDa?: string | null; + dataOrd?: Date | null; + + constructor(data: PropostaOrdineDTO) { + this.articoli = data.articoli; + this.compilatoDa = data.compilatoDa; + this.dataOrd = data.dataOrd; + } +} + +export class PtbDest extends EntityBase { + cap?: string | null; + citta?: string | null; + codAliqIn?: string | null; + codAliqOut?: string | null; + codPdes?: string | null; + codPpro?: string | null; + codVage?: string | null; + codVlis?: string | null; + codVzon?: string | null; + eMail?: string | null; + fax?: string | null; + indirizzo?: string | null; + nazione?: string | null; + note?: string | null; + precode?: string | null; + prov?: string | null; + ragSoc?: string | null; + telefono?: string | null; + type: "ptb_dest"; + + constructor(data: PtbDest) { + super(data); + this.cap = data.cap; + this.citta = data.citta; + this.codAliqIn = data.codAliqIn; + this.codAliqOut = data.codAliqOut; + this.codPdes = data.codPdes; + this.codPpro = data.codPpro; + this.codVage = data.codVage; + this.codVlis = data.codVlis; + this.codVzon = data.codVzon; + this.eMail = data.eMail; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.note = data.note; + this.precode = data.precode; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.telefono = data.telefono; + } +} + +export class PtbFonti extends EntityBase { + fonte?: string | null; + type: "ptb_fonti"; + + constructor(data: PtbFonti) { + super(data); + this.fonte = data.fonte; + } +} + +export class PtbPrevEsito extends EntityBase { + colore?: number | null; + esitoOff?: string | null; + flagAttivo?: string | null; + type: "ptb_prev_esito"; + + constructor(data: PtbPrevEsito) { + super(data); + this.colore = data.colore; + this.esitoOff = data.esitoOff; + this.flagAttivo = data.flagAttivo; + } +} + +export class PtbPrevStato extends EntityBase { + flagAttivo?: string | null; + flagCommessa?: string | null; + flagImportabile?: string | null; + paragrafoImposta?: string | null; + paragrafoTestata?: string | null; + statoOfferta?: string | null; + type: "ptb_prev_stato"; + + constructor(data: PtbPrevStato) { + super(data); + this.flagAttivo = data.flagAttivo; + this.flagCommessa = data.flagCommessa; + this.flagImportabile = data.flagImportabile; + this.paragrafoImposta = data.paragrafoImposta; + this.paragrafoTestata = data.paragrafoTestata; + this.statoOfferta = data.statoOfferta; + } +} + +export class PtbPrevn extends EntityBase { + numFileDescr?: number | null; + type: "ptb_prevn"; + + constructor(data: PtbPrevn) { + super(data); + this.numFileDescr = data.numFileDescr; + } +} + +export class PtbPrevr extends EntityBase { + capitolo?: string | null; + codAliq?: string | null; + codMart?: string | null; + codVart?: string | null; + codVartRif?: string | null; + costoUnt?: number | null; + descrOneri?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagEsplosa?: string | null; + flagFoglia?: string | null; + flagStato?: number | null; + flagVisuRiga?: string | null; + idOfferta?: string | null; + matricola?: string | null; + nomeFileDescr?: string | null; + note?: string | null; + partitaMag?: string | null; + percOneri?: number | null; + percProv?: number | null; + percProvIspe?: number | null; + percRicarica?: number | null; + pesoKg?: number | null; + prezzoAcq?: number | null; + qtaMolt?: number | null; + qtaPrev?: number | null; + rapConv?: number | null; + rigaPrev?: string | null; + sconto1Acq?: number | null; + sconto2Acq?: number | null; + sconto3Acq?: number | null; + sconto4Acq?: number | null; + sconto5?: number | null; + sconto6?: number | null; + sconto7?: number | null; + sconto8?: number | null; + type: "ptb_prevr"; + untPrev?: string | null; + valOneri?: number | null; + valProv?: number | null; + valProvIspe?: number | null; + valUnt?: number | null; + + constructor(data: PtbPrevr) { + super(data); + this.capitolo = data.capitolo; + this.codAliq = data.codAliq; + this.codMart = data.codMart; + this.codVart = data.codVart; + this.codVartRif = data.codVartRif; + this.costoUnt = data.costoUnt; + this.descrOneri = data.descrOneri; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagEsplosa = data.flagEsplosa; + this.flagFoglia = data.flagFoglia; + this.flagStato = data.flagStato; + this.flagVisuRiga = data.flagVisuRiga; + this.idOfferta = data.idOfferta; + this.matricola = data.matricola; + this.nomeFileDescr = data.nomeFileDescr; + this.note = data.note; + this.partitaMag = data.partitaMag; + this.percOneri = data.percOneri; + this.percProv = data.percProv; + this.percProvIspe = data.percProvIspe; + this.percRicarica = data.percRicarica; + this.pesoKg = data.pesoKg; + this.prezzoAcq = data.prezzoAcq; + this.qtaMolt = data.qtaMolt; + this.qtaPrev = data.qtaPrev; + this.rapConv = data.rapConv; + this.rigaPrev = data.rigaPrev; + this.sconto1Acq = data.sconto1Acq; + this.sconto2Acq = data.sconto2Acq; + this.sconto3Acq = data.sconto3Acq; + this.sconto4Acq = data.sconto4Acq; + this.sconto5 = data.sconto5; + this.sconto6 = data.sconto6; + this.sconto7 = data.sconto7; + this.sconto8 = data.sconto8; + this.untPrev = data.untPrev; + this.valOneri = data.valOneri; + this.valProv = data.valProv; + this.valProvIspe = data.valProvIspe; + this.valUnt = data.valUnt; + } +} + +export class PtbPrevt extends EntityBase { + agenziaBanca?: string | null; + cambio?: number | null; + codAbi?: string | null; + codAliq?: string | null; + codBanc?: string | null; + codCab?: string | null; + codDivi?: string | null; + codJcom?: string | null; + codLingua?: string | null; + codMontatore?: string | null; + codPaga?: string | null; + codPpro?: string | null; + codPproDest?: string | null; + codVage?: string | null; + codVlis?: string | null; + codVzon?: string | null; + costo?: number | null; + dataFineContratto?: Date | null; + dataInizContratto?: Date | null; + dataLastUpd?: Date | null; + dataOrd?: Date | null; + dataPrev?: Date | null; + dataScadOff?: Date | null; + dataValidita?: Date | null; + descrizioneBanca?: string | null; + descrizionePag?: string | null; + eMail?: string | null; + esitoOff?: string | null; + fax?: string | null; + gestione?: string | null; + idOfferta?: string | null; + mezzo?: string | null; + nomeDitta?: string | null; + nomeFileDescr?: string | null; + note?: string | null; + numOrd?: number | null; + numProt?: string | null; + oggetto?: string | null; + oggettoOle?: any | null; + percProv?: number | null; + personaRif?: string | null; + porto?: string | null; + prlPrevtDisegni?: PrlPrevtDisegni[] | null; + ptbPrevr?: PtbPrevr[] | null; + ptbPrevtFile?: PtbPrevtFile[] | null; + rifPrev?: string | null; + rifPrev2?: string | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + sconto4?: number | null; + statoOfferta?: string | null; + telefono?: string | null; + termCons?: string | null; + totMerce?: number | null; + totaleNetto?: number | null; + type: "ptb_prevt"; + userName?: string | null; + userNameResp?: string | null; + + constructor(data: PtbPrevt) { + super(data); + this.agenziaBanca = data.agenziaBanca; + this.cambio = data.cambio; + this.codAbi = data.codAbi; + this.codAliq = data.codAliq; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.codDivi = data.codDivi; + this.codJcom = data.codJcom; + this.codLingua = data.codLingua; + this.codMontatore = data.codMontatore; + this.codPaga = data.codPaga; + this.codPpro = data.codPpro; + this.codPproDest = data.codPproDest; + this.codVage = data.codVage; + this.codVlis = data.codVlis; + this.codVzon = data.codVzon; + this.costo = data.costo; + this.dataFineContratto = data.dataFineContratto; + this.dataInizContratto = data.dataInizContratto; + this.dataLastUpd = data.dataLastUpd; + this.dataOrd = data.dataOrd; + this.dataPrev = data.dataPrev; + this.dataScadOff = data.dataScadOff; + this.dataValidita = data.dataValidita; + this.descrizioneBanca = data.descrizioneBanca; + this.descrizionePag = data.descrizionePag; + this.eMail = data.eMail; + this.esitoOff = data.esitoOff; + this.fax = data.fax; + this.gestione = data.gestione; + this.idOfferta = data.idOfferta; + this.mezzo = data.mezzo; + this.nomeDitta = data.nomeDitta; + this.nomeFileDescr = data.nomeFileDescr; + this.note = data.note; + this.numOrd = data.numOrd; + this.numProt = data.numProt; + this.oggetto = data.oggetto; + this.oggettoOle = data.oggettoOle; + this.percProv = data.percProv; + this.personaRif = data.personaRif; + this.porto = data.porto; + this.prlPrevtDisegni = data.prlPrevtDisegni; + this.ptbPrevr = data.ptbPrevr; + this.ptbPrevtFile = data.ptbPrevtFile; + this.rifPrev = data.rifPrev; + this.rifPrev2 = data.rifPrev2; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + this.sconto4 = data.sconto4; + this.statoOfferta = data.statoOfferta; + this.telefono = data.telefono; + this.termCons = data.termCons; + this.totMerce = data.totMerce; + this.totaleNetto = data.totaleNetto; + this.userName = data.userName; + this.userNameResp = data.userNameResp; + } +} + +export class PtbPrevtFile extends EntityBase { + dataGen?: Date | null; + descrizione?: string | null; + idOfferta?: string | null; + nomeFile?: string | null; + ptbPrevn?: PtbPrevn | null; + type: "ptb_prevt_file"; + + constructor(data: PtbPrevtFile) { + super(data); + this.dataGen = data.dataGen; + this.descrizione = data.descrizione; + this.idOfferta = data.idOfferta; + this.nomeFile = data.nomeFile; + this.ptbPrevn = data.ptbPrevn; + } +} + +export class PtbPros extends EntityBase { + agenziaBanca?: string | null; + cap?: string | null; + citta?: string | null; + codAbi?: string | null; + codAliq?: string | null; + codAnag?: string | null; + codBanc?: string | null; + codCab?: string | null; + codFisc?: string | null; + codPaga?: string | null; + codPpro?: string | null; + codVage?: string | null; + codVatt?: string | null; + codVlis?: string | null; + codVseg?: string | null; + codVset?: string | null; + codVtip?: string | null; + codVzon?: string | null; + cuuPa?: string | null; + dataIns?: Date | null; + descrizionePag?: string | null; + eMail?: string | null; + eMailPec?: string | null; + fax?: string | null; + flagConsenso?: string | null; + flagInformativa?: string | null; + flagRivClie?: string | null; + fonte?: string | null; + ggChiusura?: string | null; + indirizzo?: string | null; + nazione?: string | null; + note?: string | null; + partIva?: string | null; + personaRif?: string | null; + precode?: string | null; + prov?: string | null; + ptbDest?: PtbDest[] | null; + ptbProsRif?: PtbProsRif[] | null; + ragSoc?: string | null; + ragSoc2?: string | null; + sconto1?: number | null; + sconto2?: number | null; + telefono?: string | null; + type: "ptb_pros"; + userName?: string | null; + + constructor(data: PtbPros) { + super(data); + this.agenziaBanca = data.agenziaBanca; + this.cap = data.cap; + this.citta = data.citta; + this.codAbi = data.codAbi; + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codBanc = data.codBanc; + this.codCab = data.codCab; + this.codFisc = data.codFisc; + this.codPaga = data.codPaga; + this.codPpro = data.codPpro; + this.codVage = data.codVage; + this.codVatt = data.codVatt; + this.codVlis = data.codVlis; + this.codVseg = data.codVseg; + this.codVset = data.codVset; + this.codVtip = data.codVtip; + this.codVzon = data.codVzon; + this.cuuPa = data.cuuPa; + this.dataIns = data.dataIns; + this.descrizionePag = data.descrizionePag; + this.eMail = data.eMail; + this.eMailPec = data.eMailPec; + this.fax = data.fax; + this.flagConsenso = data.flagConsenso; + this.flagInformativa = data.flagInformativa; + this.flagRivClie = data.flagRivClie; + this.fonte = data.fonte; + this.ggChiusura = data.ggChiusura; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.note = data.note; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.precode = data.precode; + this.prov = data.prov; + this.ptbDest = data.ptbDest; + this.ptbProsRif = data.ptbProsRif; + this.ragSoc = data.ragSoc; + this.ragSoc2 = data.ragSoc2; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.telefono = data.telefono; + this.userName = data.userName; + } +} + +export class PtbProsRif extends EntityBase { + codPpro?: string | null; + eMail?: string | null; + fax?: string | null; + idPersRif?: number | null; + mansione?: string | null; + numCellulare?: string | null; + personaRif?: string | null; + telefono?: string | null; + type: "ptb_pros_rif"; + + constructor(data: PtbProsRif) { + super(data); + this.codPpro = data.codPpro; + this.eMail = data.eMail; + this.fax = data.fax; + this.idPersRif = data.idPersRif; + this.mansione = data.mansione; + this.numCellulare = data.numCellulare; + this.personaRif = data.personaRif; + this.telefono = data.telefono; + } +} + +export class PublicationDTO { + active?: boolean | null; + entityName?: string | null; + exportHistory?: boolean | null; + id?: number | null; + readyToTransmit?: boolean | null; + recalcColumns?: string | null; + whereCond?: string | null; + whereCondSql?: string | null; + + constructor(data: PublicationDTO) { + this.active = data.active; + this.entityName = data.entityName; + this.exportHistory = data.exportHistory; + this.id = data.id; + this.readyToTransmit = data.readyToTransmit; + this.recalcColumns = data.recalcColumns; + this.whereCond = data.whereCond; + this.whereCondSql = data.whereCondSql; + } +} + +export class PublicationGroupDTO { + canBeDeleted?: boolean | null; + canStartExport?: boolean | null; + description?: string | null; + id?: number | null; + publications?: PublicationDTO[] | null; + + constructor(data: PublicationGroupDTO) { + this.canBeDeleted = data.canBeDeleted; + this.canStartExport = data.canStartExport; + this.description = data.description; + this.id = data.id; + this.publications = data.publications; + } +} + +export class PuddyImportLog { + codVage?: string | null; + dataOrd?: Date | null; + errorMsg?: string | null; + numOrd?: number | null; + tipoImport?: string | null; + + constructor(data: PuddyImportLog) { + this.codVage = data.codVage; + this.dataOrd = data.dataOrd; + this.errorMsg = data.errorMsg; + this.numOrd = data.numOrd; + this.tipoImport = data.tipoImport; + } +} + +export class PvmArticoliChildDTO { + barcode?: string | null; + codMart?: string | null; + descrizione?: string | null; + flagQtaCnfFissa?: string | null; + flagQtaMultipla?: string | null; + flagTracciabilita?: string | null; + ggScadenza?: number | null; + giacenza?: number | null; + mediaSett?: number | null; + merceDaRic?: number | null; + newNoPromo?: boolean | null; + plu?: boolean | null; + przVendIva?: number | null; + qtaCnf?: number | null; + qtaMinOrdinabile?: number | null; + qtaOrd?: number | null; + qtaPrevistaVendita?: number | null; + qtaProposta?: number | null; + untMis?: string | null; + + constructor(data: PvmArticoliChildDTO) { + this.barcode = data.barcode; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagQtaMultipla = data.flagQtaMultipla; + this.flagTracciabilita = data.flagTracciabilita; + this.ggScadenza = data.ggScadenza; + this.giacenza = data.giacenza; + this.mediaSett = data.mediaSett; + this.merceDaRic = data.merceDaRic; + this.newNoPromo = data.newNoPromo; + this.plu = data.plu; + this.przVendIva = data.przVendIva; + this.qtaCnf = data.qtaCnf; + this.qtaMinOrdinabile = data.qtaMinOrdinabile; + this.qtaOrd = data.qtaOrd; + this.qtaPrevistaVendita = data.qtaPrevistaVendita; + this.qtaProposta = data.qtaProposta; + this.untMis = data.untMis; + } +} + +export class PvmArticoliDTO { + descrDepo?: string | null; + descrLisa?: string | null; + grigliaAcquistiChild?: PvmArticoliChildDTO[] | null; + + constructor(data: PvmArticoliDTO) { + this.descrDepo = data.descrDepo; + this.descrLisa = data.descrLisa; + this.grigliaAcquistiChild = data.grigliaAcquistiChild; + } +} + +export class PvmAuthorizationDTO { + authorizationName?: string | null; + enabled?: boolean | null; + module?: string | null; + required?: boolean | null; + username?: string | null; + visible?: boolean | null; + + constructor(data: PvmAuthorizationDTO) { + this.authorizationName = data.authorizationName; + this.enabled = data.enabled; + this.module = data.module; + this.required = data.required; + this.username = data.username; + this.visible = data.visible; + } +} + +export class Quartet { + first?: A | null; + fourth?: D | null; + second?: B | null; + third?: C | null; + value0?: A | null; + value1?: B | null; + value2?: C | null; + value3?: D | null; + + constructor(data: Quartet) { + this.first = data.first; + this.fourth = data.fourth; + this.second = data.second; + this.third = data.third; + this.value0 = data.value0; + this.value1 = data.value1; + this.value2 = data.value2; + this.value3 = data.value3; + } +} + +export class RapportinoDTO { + aOra?: Date | null; + codJflav?: string | null; + daOra?: Date | null; + + constructor(data: RapportinoDTO) { + this.aOra = data.aOra; + this.codJflav = data.codJflav; + this.daOra = data.daOra; + } +} + +export class RawMaterial { + code?: string | null; + id?: string | null; + is_archived?: boolean | null; + name?: string | null; + note?: string | null; + + constructor(data: RawMaterial) { + this.code = data.code; + this.id = data.id; + this.is_archived = data.is_archived; + this.name = data.name; + this.note = data.note; + } +} + +export class RawMaterialData extends RawMaterial { + codProd?: string | null; + + constructor(data: RawMaterialData) { + super(data); + this.codProd = data.codProd; + } +} + +export class RecuperaMaterialiRequestDTO { + codMart?: string | null; + dataCollo?: Date | null; + dataColloRif?: Date | null; + gestione?: string | null; + gestioneRif?: string | null; + mtbColtCarico?: MtbColt | null; + numCnf?: number | null; + numCollo?: number | null; + numColloRif?: number | null; + ordini?: RecuperaMaterialiRequestDTOOrdine[] | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaTot?: number | null; + serCollo?: string | null; + serColloRif?: string | null; + + constructor(data: RecuperaMaterialiRequestDTO) { + this.codMart = data.codMart; + this.dataCollo = data.dataCollo; + this.dataColloRif = data.dataColloRif; + this.gestione = data.gestione; + this.gestioneRif = data.gestioneRif; + this.mtbColtCarico = data.mtbColtCarico; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.numColloRif = data.numColloRif; + this.ordini = data.ordini; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaTot = data.qtaTot; + this.serCollo = data.serCollo; + this.serColloRif = data.serColloRif; + } +} + +export class RecuperaMaterialiRequestDTOOrdine { + data?: Date | null; + gestione?: string | null; + numCnf?: number | null; + numero?: number | null; + percentageHr?: number | null; + qtaCol?: number | null; + rigaOrd?: number | null; + + constructor(data: RecuperaMaterialiRequestDTOOrdine) { + this.data = data.data; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numero = data.numero; + this.percentageHr = data.percentageHr; + this.qtaCol = data.qtaCol; + this.rigaOrd = data.rigaOrd; + } +} + +export class RecuperaMaterialiResponseDTO { + updatedMtbColtScarico?: MtbColt | null; + + constructor(data: RecuperaMaterialiResponseDTO) { + this.updatedMtbColtScarico = data.updatedMtbColtScarico; + } +} + +export class RefreshRequestDTO { + profileDb?: string | null; + refreshToken?: string | null; + + constructor(data: RefreshRequestDTO) { + this.profileDb = data.profileDb; + this.refreshToken = data.refreshToken; + } +} + +export class RegisterSupervisorDTO { + codJfas?: string | null; + lineaType?: string | null; + printQuantity?: number | null; + printerName?: string | null; + printerServiceIp?: string | null; + printerServicePort?: number | null; + supervisorServiceIp?: string | null; + supervisorServicePort?: number | null; + + constructor(data: RegisterSupervisorDTO) { + this.codJfas = data.codJfas; + this.lineaType = data.lineaType; + this.printQuantity = data.printQuantity; + this.printerName = data.printerName; + this.printerServiceIp = data.printerServiceIp; + this.printerServicePort = data.printerServicePort; + this.supervisorServiceIp = data.supervisorServiceIp; + this.supervisorServicePort = data.supervisorServicePort; + } +} + +export class RegistraCaricoImballiRequestDTO { + codAnag?: string | null; + usedImballi?: ImballoQuantityDTO[] | null; + + constructor(data: RegistraCaricoImballiRequestDTO) { + this.codAnag = data.codAnag; + this.usedImballi = data.usedImballi; + } +} + +export class RegistraConsumi { + activityId?: string | null; + capiVivi?: number | null; + codMart?: string | null; + codProd?: string | null; + dataOrd?: Date | null; + gestione?: string | null; + giorno?: Date | null; + numOrd?: number | null; + partitaMag?: string | null; + partitaMagProd?: string | null; + qtaConsumataGg?: number | null; + rapConvProd?: number | null; + untMis?: string | null; + untMisProd?: string | null; + + constructor(data: RegistraConsumi) { + this.activityId = data.activityId; + this.capiVivi = data.capiVivi; + this.codMart = data.codMart; + this.codProd = data.codProd; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.giorno = data.giorno; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.partitaMagProd = data.partitaMagProd; + this.qtaConsumataGg = data.qtaConsumataGg; + this.rapConvProd = data.rapConvProd; + this.untMis = data.untMis; + this.untMisProd = data.untMisProd; + } +} + +export class RegistraScaricoImballiRequestDTO { + codVettore?: string | null; + usedImballi?: ImballoQuantityDTO[] | null; + + constructor(data: RegistraScaricoImballiRequestDTO) { + this.codVettore = data.codVettore; + this.usedImballi = data.usedImballi; + } +} + +export class ReopenOrdineLavRequestDTO { + dataOrd?: Date | null; + gestione?: string | null; + idLotto?: number | null; + numOrd?: number | null; + + constructor(data: ReopenOrdineLavRequestDTO) { + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.idLotto = data.idLotto; + this.numOrd = data.numOrd; + } +} + +export class ReportTypeDTO { + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + hashMapParams?: { [index: string]: any } | null; + params?: PairsDTO[] | null; + reportType?: WtbJreptSetupTipo | null; + + constructor(data: ReportTypeDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.hashMapParams = data.hashMapParams; + this.params = data.params; + this.reportType = data.reportType; + } +} + +export class RequestArticoloFilterDTO { + tipoGruppo?: string | null; + + constructor(data: RequestArticoloFilterDTO) { + this.tipoGruppo = data.tipoGruppo; + } +} + +export class RequestDataDTO { + application?: IntegryApplicationEnum | null; + deviceId?: number | null; + password?: string | null; + profileDB?: string | null; + requestClientIP?: string | null; + requestURI?: string | null; + user?: UserDTO | null; + username?: string | null; + validDeviceId?: boolean | null; + validPassword?: boolean | null; + validProfileDB?: boolean | null; + validUsername?: boolean | null; + + constructor(data: RequestDataDTO) { + this.application = data.application; + this.deviceId = data.deviceId; + this.password = data.password; + this.profileDB = data.profileDB; + this.requestClientIP = data.requestClientIP; + this.requestURI = data.requestURI; + this.user = data.user; + this.username = data.username; + this.validDeviceId = data.validDeviceId; + this.validPassword = data.validPassword; + this.validProfileDB = data.validProfileDB; + this.validUsername = data.validUsername; + } +} + +export class RequestOrder { + article_code?: string | null; + article_id?: string | null; + best_before_date?: Date | null; + customer_code?: string | null; + customer_id?: string | null; + id?: string | null; + pallet_layer_quantity?: number | null; + production_lot?: string | null; + scheduled_for?: Date | null; + secondary_packaging_material_code?: string | null; + secondary_packaging_material_id?: string | null; + target_quantity?: number | null; + target_quantity_unit?: TargetQuantityUnit | null; + tertiary_packaging_material_code?: string | null; + tertiary_packaging_material_id?: string | null; + to_be_completed_until?: Date | null; + type?: string | null; + units_per_pallet_layer?: number | null; + units_per_secondary_packaging?: number | null; + + constructor(data: RequestOrder) { + this.article_code = data.article_code; + this.article_id = data.article_id; + this.best_before_date = data.best_before_date; + this.customer_code = data.customer_code; + this.customer_id = data.customer_id; + this.id = data.id; + this.pallet_layer_quantity = data.pallet_layer_quantity; + this.production_lot = data.production_lot; + this.scheduled_for = data.scheduled_for; + this.secondary_packaging_material_code = data.secondary_packaging_material_code; + this.secondary_packaging_material_id = data.secondary_packaging_material_id; + this.target_quantity = data.target_quantity; + this.target_quantity_unit = data.target_quantity_unit; + this.tertiary_packaging_material_code = data.tertiary_packaging_material_code; + this.tertiary_packaging_material_id = data.tertiary_packaging_material_id; + this.to_be_completed_until = data.to_be_completed_until; + this.type = data.type; + this.units_per_pallet_layer = data.units_per_pallet_layer; + this.units_per_secondary_packaging = data.units_per_secondary_packaging; + } +} + +export class ResiDTO { + approvato?: boolean | null; + codMart?: string | null; + docReso?: DtbDoct | null; + docVendita?: DtbDoct | null; + idRiga?: number | null; + partitaMag?: string | null; + qtaResa?: number | null; + qtaResaOld?: number | null; + qtaVend?: number | null; + suddivisione?: boolean | null; + + constructor(data: ResiDTO) { + this.approvato = data.approvato; + this.codMart = data.codMart; + this.docReso = data.docReso; + this.docVendita = data.docVendita; + this.idRiga = data.idRiga; + this.partitaMag = data.partitaMag; + this.qtaResa = data.qtaResa; + this.qtaResaOld = data.qtaResaOld; + this.qtaVend = data.qtaVend; + this.suddivisione = data.suddivisione; + } +} + +export class ResocontoPromoDTO { + codPromo?: string | null; + qtaOmgTot?: number | null; + qtaOrdTot?: number | null; + + constructor(data: ResocontoPromoDTO) { + this.codPromo = data.codPromo; + this.qtaOmgTot = data.qtaOmgTot; + this.qtaOrdTot = data.qtaOrdTot; + } +} + +export class ResponseAttachmentDTO { + fileByte?: FileItem[] | null; + fileList?: string[] | null; + + constructor(data: ResponseAttachmentDTO) { + this.fileByte = data.fileByte; + this.fileList = data.fileList; + } +} + +export class ResponseMessageDTO { + date?: Date | null; + level?: Level | null; + text?: string | null; + + constructor(data: ResponseMessageDTO) { + this.date = data.date; + this.level = data.level; + this.text = data.text; + } +} + +export class Result { + + constructor(data: Result) { + } +} + +export interface ResultSet extends Wrapper, AutoCloseable { + afterLast?: boolean | null; + beforeFirst?: boolean | null; + closed?: boolean | null; + concurrency?: number | null; + cursorName?: string | null; + fetchDirection?: number | null; + fetchSize?: number | null; + first?: boolean | null; + holdability?: number | null; + last?: boolean | null; + metaData?: ResultSetMetaData | null; + row?: number | null; + statement?: Statement | null; + type?: number | null; + warnings?: SQLWarning | null; +} + +export interface ResultSetMetaData extends Wrapper { + columnCount?: number | null; +} + +export class RetrieveAlreadyRegisteredULAccettazioneBollaRequestDTO { + bolle?: BollaAccettazioneDTO[] | null; + + constructor(data: RetrieveAlreadyRegisteredULAccettazioneBollaRequestDTO) { + this.bolle = data.bolle; + } +} + +export class RetrieveAlreadyRegisteredULAccettazioneBollaResponseDTO { + udcList?: AlreadyRegisteredUlDTO[] | null; + + constructor(data: RetrieveAlreadyRegisteredULAccettazioneBollaResponseDTO) { + this.udcList = data.udcList; + } +} + +export class RetrieveAlreadyRegisteredULAccettazioneOrdineRequestDTO { + ordini?: OrdineInevasoDTO[] | null; + + constructor(data: RetrieveAlreadyRegisteredULAccettazioneOrdineRequestDTO) { + this.ordini = data.ordini; + } +} + +export class RetrieveAlreadyRegisteredULAccettazioneOrdineResponseDTO { + udcList?: AlreadyRegisteredUlDTO[] | null; + + constructor(data: RetrieveAlreadyRegisteredULAccettazioneOrdineResponseDTO) { + this.udcList = data.udcList; + } +} + +export class RetrieveAlreadyRegisteredUdsRequestDTO { + ordini?: OrdineInevasoDTO[] | null; + segno?: number | null; + + constructor(data: RetrieveAlreadyRegisteredUdsRequestDTO) { + this.ordini = data.ordini; + this.segno = data.segno; + } +} + +export class RetrieveAlreadyRegisteredUdsResponseDTO { + udsList?: AlreadyRegisteredUlDTO[] | null; + + constructor(data: RetrieveAlreadyRegisteredUdsResponseDTO) { + this.udsList = data.udsList; + } +} + +export class RetrieveArticoloByCodMartRequestDTO { + codMarts?: string[] | null; + + constructor(data: RetrieveArticoloByCodMartRequestDTO) { + this.codMarts = data.codMarts; + } +} + +export class RetrieveArticoloRequestDTO { + filter?: FilterDTO | null; + page?: number | null; + pageSize?: number | null; + + constructor(data: RetrieveArticoloRequestDTO) { + this.filter = data.filter; + this.page = data.page; + this.pageSize = data.pageSize; + } +} + +export class RetrieveArticoloResponseDTO { + data?: ArticoloDTO[] | null; + total?: number | null; + + constructor(data: RetrieveArticoloResponseDTO) { + this.data = data.data; + this.total = data.total; + } +} + +export class RetrieveArtsInGiacenzaByArtRequestDTO { + barcodeUl?: string | null; + codMart?: string | null; + codMdep?: string | null; + partitaMag?: string | null; + posizione?: string | null; + + constructor(data: RetrieveArtsInGiacenzaByArtRequestDTO) { + this.barcodeUl = data.barcodeUl; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.partitaMag = data.partitaMag; + this.posizione = data.posizione; + } +} + +export class RetrieveDocumentArtsResponseDTO { + arts?: DocumentArtDTO[] | null; + + constructor(data: RetrieveDocumentArtsResponseDTO) { + this.arts = data.arts; + } +} + +export class RetrieveElencoArticoliAccettazioneBollaRequestDTO { + bolle?: BollaAccettazioneDTO[] | null; + + constructor(data: RetrieveElencoArticoliAccettazioneBollaRequestDTO) { + this.bolle = data.bolle; + } +} + +export class RetrieveElencoArticoliAccettazioneBollaResponseDTO { + sitArticoli?: SitBollaAccettazioneDTO[] | null; + + constructor(data: RetrieveElencoArticoliAccettazioneBollaResponseDTO) { + this.sitArticoli = data.sitArticoli; + } +} + +export class RetrieveElencoBolleAccettazioneResponseDTO { + bolleDaAccettare?: BollaAccettazioneDTO[] | null; + + constructor(data: RetrieveElencoBolleAccettazioneResponseDTO) { + this.bolleDaAccettare = data.bolleDaAccettare; + } +} + +export class RetrieveInstantItemSituationRequestDTO { + codJcom?: string | null; + codMart?: string | null; + codMdep?: string | null; + partitaMag?: string | null; + + constructor(data: RetrieveInstantItemSituationRequestDTO) { + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.partitaMag = data.partitaMag; + } +} + +export class RetrieveInventariResponseDTO { + inventories?: MtbInvent[] | null; + + constructor(data: RetrieveInventariResponseDTO) { + this.inventories = data.inventories; + } +} + +export class RetrieveInventarioArtsResponseDTO { + arts?: InventarioArtDTO[] | null; + + constructor(data: RetrieveInventarioArtsResponseDTO) { + this.arts = data.arts; + } +} + +export class RetrieveInventarioResponseDTO { + mtbInvent?: MtbInvent | null; + + constructor(data: RetrieveInventarioResponseDTO) { + this.mtbInvent = data.mtbInvent; + } +} + +export class RetrieveLottiDTO { + codProd?: string | null; + dataScad?: Date | null; + partitaMag?: string | null; + + constructor(data: RetrieveLottiDTO) { + this.codProd = data.codProd; + this.dataScad = data.dataScad; + this.partitaMag = data.partitaMag; + } +} + +export class RettificaProdDTO { + prodResult?: ProdResultDTO | null; + rettificaULDTO?: RettificaULDTO[] | null; + + constructor(data: RettificaProdDTO) { + this.prodResult = data.prodResult; + this.rettificaULDTO = data.rettificaULDTO; + } +} + +export class RettificaProduzioneLicorDTO { + codJfas?: string | null; + codMdep?: string | null; + listaContrassegni?: ContrassegnoDTO[] | null; + ordine?: DtbOrdt | null; + qtaProdotte?: number | null; + + constructor(data: RettificaProduzioneLicorDTO) { + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.listaContrassegni = data.listaContrassegni; + this.ordine = data.ordine; + this.qtaProdotte = data.qtaProdotte; + } +} + +export class RettificaULDTO { + newDataVers?: Date | null; + newNumCnf?: number | null; + newQtaCol?: number | null; + sourceMtbColr?: MtbColr | null; + + constructor(data: RettificaULDTO) { + this.newDataVers = data.newDataVers; + this.newNumCnf = data.newNumCnf; + this.newQtaCol = data.newQtaCol; + this.sourceMtbColr = data.sourceMtbColr; + } +} + +export class ReturnAltriOrdini { + returnOrder?: ReturnOrder[] | null; + + constructor(data: ReturnAltriOrdini) { + this.returnOrder = data.returnOrder; + } +} + +export class ReturnAvanzamento { + codMdep?: string | null; + dataInizStepClose?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + pesoMedioAttuale?: number | null; + + constructor(data: ReturnAvanzamento) { + this.codMdep = data.codMdep; + this.dataInizStepClose = data.dataInizStepClose; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.pesoMedioAttuale = data.pesoMedioAttuale; + } +} + +export class ReturnDTO { + accisa?: number | null; + codAnag?: string | null; + codDtip?: string | null; + codMart?: string | null; + famiglia?: string | null; + gradazione?: number | null; + litAnidri?: number | null; + litIdrati?: number | null; + numDoc?: number | null; + serDoc?: string | null; + tipoReg?: string | null; + tipoStoc?: string | null; + + constructor(data: ReturnDTO) { + this.accisa = data.accisa; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.famiglia = data.famiglia; + this.gradazione = data.gradazione; + this.litAnidri = data.litAnidri; + this.litIdrati = data.litIdrati; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.tipoReg = data.tipoReg; + this.tipoStoc = data.tipoStoc; + } +} + +export class ReturnDocCostiTrasportoDTO { + cap?: string | null; + citta?: string | null; + codAnag?: string | null; + codDtip?: string | null; + colli?: number | null; + dataDoc?: Date | null; + dataSpedizione?: Date | null; + idRiga?: number | null; + indirizzo?: string | null; + nazione?: string | null; + nolo?: number | null; + noteImport?: string | null; + numDoc?: number | null; + numSpedizione?: number | null; + peso?: number | null; + prov?: string | null; + ragSoc?: string | null; + rifDoc?: string | null; + serDoc?: string | null; + tassato?: number | null; + tipoCalc?: string | null; + untMis?: string | null; + + constructor(data: ReturnDocCostiTrasportoDTO) { + this.cap = data.cap; + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.colli = data.colli; + this.dataDoc = data.dataDoc; + this.dataSpedizione = data.dataSpedizione; + this.idRiga = data.idRiga; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.nolo = data.nolo; + this.noteImport = data.noteImport; + this.numDoc = data.numDoc; + this.numSpedizione = data.numSpedizione; + this.peso = data.peso; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.rifDoc = data.rifDoc; + this.serDoc = data.serDoc; + this.tassato = data.tassato; + this.tipoCalc = data.tipoCalc; + this.untMis = data.untMis; + } +} + +export class ReturnOneriDTO { + rowsOneri?: ReturnRowOneriDTO[] | null; + + constructor(data: ReturnOneriDTO) { + this.rowsOneri = data.rowsOneri; + } +} + +export class ReturnOrder { + codMdep?: string | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + + constructor(data: ReturnOrder) { + this.codMdep = data.codMdep; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + } +} + +export class ReturnRowOneriDTO { + codAliq?: string | null; + codAnagComp?: string | null; + codDtipComp?: string | null; + codJcom?: string | null; + codMart?: string | null; + dataDocComp?: Date | null; + importoRiga?: number | null; + numDocComp?: number | null; + partitaMag?: string | null; + percOneri?: number | null; + qtaDoc?: number | null; + rapConv?: number | null; + sconto8?: number | null; + serDocComp?: string | null; + untDoc?: string | null; + valOneri?: number | null; + valUnt?: number | null; + + constructor(data: ReturnRowOneriDTO) { + this.codAliq = data.codAliq; + this.codAnagComp = data.codAnagComp; + this.codDtipComp = data.codDtipComp; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataDocComp = data.dataDocComp; + this.importoRiga = data.importoRiga; + this.numDocComp = data.numDocComp; + this.partitaMag = data.partitaMag; + this.percOneri = data.percOneri; + this.qtaDoc = data.qtaDoc; + this.rapConv = data.rapConv; + this.sconto8 = data.sconto8; + this.serDocComp = data.serDocComp; + this.untDoc = data.untDoc; + this.valOneri = data.valOneri; + this.valUnt = data.valUnt; + } +} + +export class ReturnSave { + altriOrdini?: ReturnAltriOrdini[] | null; + transaction?: ReturnTransaction[] | null; + + constructor(data: ReturnSave) { + this.altriOrdini = data.altriOrdini; + this.transaction = data.transaction; + } +} + +export class ReturnTransaction { + error?: number | null; + errorMessage?: string | null; + id?: string | null; + + constructor(data: ReturnTransaction) { + this.error = data.error; + this.errorMessage = data.errorMessage; + this.id = data.id; + } +} + +export class RiassegnaMpLottoDTO { + codDtipScarico?: string | null; + codMart?: string[] | null; + codMartMpNuova?: string | null; + codMdep?: string | null; + dataFine?: Date | null; + dataIniz?: Date | null; + + constructor(data: RiassegnaMpLottoDTO) { + this.codDtipScarico = data.codDtipScarico; + this.codMart = data.codMart; + this.codMartMpNuova = data.codMartMpNuova; + this.codMdep = data.codMdep; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + } +} + +export class RiassegnaMpLottoGiacenzaDTO { + codMart?: string | null; + dataIns?: Date | null; + dataScad?: Date | null; + giacenza?: number | null; + partitaMag?: string | null; + + constructor(data: RiassegnaMpLottoGiacenzaDTO) { + this.codMart = data.codMart; + this.dataIns = data.dataIns; + this.dataScad = data.dataScad; + this.giacenza = data.giacenza; + this.partitaMag = data.partitaMag; + } +} + +export class RientroLavorazioneDTO { + activityId?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + dataDoc?: Date | null; + qtaProd?: number | null; + serDoc?: string | null; + + constructor(data: RientroLavorazioneDTO) { + this.activityId = data.activityId; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.dataDoc = data.dataDoc; + this.qtaProd = data.qtaProd; + this.serDoc = data.serDoc; + } +} + +export class RientroMerceRequestDTO { + codMart?: string | null; + destinationMtbColt?: MtbColt | null; + order?: DtbOrdt | null; + partitaMag?: string | null; + qtaRientro?: number | null; + sourceMtbColt?: MtbColt | null; + + constructor(data: RientroMerceRequestDTO) { + this.codMart = data.codMart; + this.destinationMtbColt = data.destinationMtbColt; + this.order = data.order; + this.partitaMag = data.partitaMag; + this.qtaRientro = data.qtaRientro; + this.sourceMtbColt = data.sourceMtbColt; + } +} + +export class RientroProdDTO { + checkGiacenzaInsuf?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + codSpes?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + dataReg?: Date | null; + numDoc?: number | null; + rowsColli?: RowColliDTO[] | null; + rowsOrdini?: RowOrdiniDTO[] | null; + serDoc?: string | null; + tipoAssegnazione?: string | null; + + constructor(data: RientroProdDTO) { + this.checkGiacenzaInsuf = data.checkGiacenzaInsuf; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.codSpes = data.codSpes; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.dataReg = data.dataReg; + this.numDoc = data.numDoc; + this.rowsColli = data.rowsColli; + this.rowsOrdini = data.rowsOrdini; + this.serDoc = data.serDoc; + this.tipoAssegnazione = data.tipoAssegnazione; + } +} + +export class RifOrd { + chiaveOrd?: string | null; + dataOrd?: Date | null; + numOrd?: number | null; + + constructor(data: RifOrd) { + this.chiaveOrd = data.chiaveOrd; + this.dataOrd = data.dataOrd; + this.numOrd = data.numOrd; + } +} + +export class RifOrdApuliaDTO { + codiceAzienda?: string | null; + codicePv?: string | null; + dataFattura?: Date | null; + numFattura?: string | null; + numOrdList?: string[] | null; + + constructor(data: RifOrdApuliaDTO) { + this.codiceAzienda = data.codiceAzienda; + this.codicePv = data.codicePv; + this.dataFattura = data.dataFattura; + this.numFattura = data.numFattura; + this.numOrdList = data.numOrdList; + } +} + +export class RifOrdiniYocabeDTO { + "rif. ordine 2brothers"?: string | null; + "rif. ordine yocabe"?: string | null; + + constructor(data: RifOrdiniYocabeDTO) { + this["rif. ordine 2brothers"] = data["rif. ordine 2brothers"]; + this["rif. ordine yocabe"] = data["rif. ordine yocabe"]; + } +} + +export class RigaMov { + avvinamento?: boolean | null; + posturaA?: DtbDocr | null; + posturaDa?: DtbDocr | null; + posturaFine?: DtbDocr | null; + + constructor(data: RigaMov) { + this.avvinamento = data.avvinamento; + this.posturaA = data.posturaA; + this.posturaDa = data.posturaDa; + this.posturaFine = data.posturaFine; + } +} + +export class RigaOrd { + dataOrd?: Date | null; + gestione?: string | null; + idPadre?: number | null; + idRiga?: number | null; + numOrd?: number | null; + tipoOperazione?: string | null; + + constructor(data: RigaOrd) { + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.idPadre = data.idPadre; + this.idRiga = data.idRiga; + this.numOrd = data.numOrd; + this.tipoOperazione = data.tipoOperazione; + } +} + +export class RigaOrdWithPromoDTO { + codMart?: string | null; + codPromo?: string | null; + qtaCnf?: number | null; + qtaOmg?: number | null; + qtaOrd?: number | null; + rigaOrd?: number | null; + umOmaggio?: string | null; + umVend?: string | null; + + constructor(data: RigaOrdWithPromoDTO) { + this.codMart = data.codMart; + this.codPromo = data.codPromo; + this.qtaCnf = data.qtaCnf; + this.qtaOmg = data.qtaOmg; + this.qtaOrd = data.qtaOrd; + this.rigaOrd = data.rigaOrd; + this.umOmaggio = data.umOmaggio; + this.umVend = data.umVend; + } +} + +export class RigaScaricoDTO { + giacenza?: number | null; + partitaMag?: string | null; + qtaInevasa?: number | null; + rigaOrd?: number | null; + + constructor(data: RigaScaricoDTO) { + this.giacenza = data.giacenza; + this.partitaMag = data.partitaMag; + this.qtaInevasa = data.qtaInevasa; + this.rigaOrd = data.rigaOrd; + } +} + +export class RigheLottLavDTO { + codJfas?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + idLotto?: number | null; + numOrd?: number | null; + qta_ord?: number | null; + rigaOrd?: number | null; + + constructor(data: RigheLottLavDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.idLotto = data.idLotto; + this.numOrd = data.numOrd; + this.qta_ord = data.qta_ord; + this.rigaOrd = data.rigaOrd; + } +} + +export class RilavorazioniDTO { + codProd?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + + constructor(data: RilavorazioniDTO) { + this.codProd = data.codProd; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + } +} + +export class RilevazionePerdite { + causa?: string | null; + dataOrd?: Date | null; + dataReg?: Date | null; + gestione?: string | null; + numOrd?: number | null; + pesoMedio?: number | null; + qta?: number | null; + + constructor(data: RilevazionePerdite) { + this.causa = data.causa; + this.dataOrd = data.dataOrd; + this.dataReg = data.dataReg; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.pesoMedio = data.pesoMedio; + this.qta = data.qta; + } +} + +export class Rilpre { + add_ordinario_1_1?: string | null; + add_ordinario_1_10?: string | null; + add_ordinario_1_11?: string | null; + add_ordinario_1_12?: string | null; + add_ordinario_1_13?: string | null; + add_ordinario_1_14?: string | null; + add_ordinario_1_15?: string | null; + add_ordinario_1_16?: string | null; + add_ordinario_1_17?: string | null; + add_ordinario_1_18?: string | null; + add_ordinario_1_19?: string | null; + add_ordinario_1_2?: string | null; + add_ordinario_1_20?: string | null; + add_ordinario_1_21?: string | null; + add_ordinario_1_22?: string | null; + add_ordinario_1_23?: string | null; + add_ordinario_1_24?: string | null; + add_ordinario_1_25?: string | null; + add_ordinario_1_26?: string | null; + add_ordinario_1_27?: string | null; + add_ordinario_1_28?: string | null; + add_ordinario_1_29?: string | null; + add_ordinario_1_3?: string | null; + add_ordinario_1_30?: string | null; + add_ordinario_1_31?: string | null; + add_ordinario_1_4?: string | null; + add_ordinario_1_5?: string | null; + add_ordinario_1_6?: string | null; + add_ordinario_1_7?: string | null; + add_ordinario_1_8?: string | null; + add_ordinario_1_9?: string | null; + add_ordinario_2_1?: string | null; + add_ordinario_2_10?: string | null; + add_ordinario_2_11?: string | null; + add_ordinario_2_12?: string | null; + add_ordinario_2_13?: string | null; + add_ordinario_2_14?: string | null; + add_ordinario_2_15?: string | null; + add_ordinario_2_16?: string | null; + add_ordinario_2_17?: string | null; + add_ordinario_2_18?: string | null; + add_ordinario_2_19?: string | null; + add_ordinario_2_2?: string | null; + add_ordinario_2_20?: string | null; + add_ordinario_2_21?: string | null; + add_ordinario_2_22?: string | null; + add_ordinario_2_23?: string | null; + add_ordinario_2_24?: string | null; + add_ordinario_2_25?: string | null; + add_ordinario_2_26?: string | null; + add_ordinario_2_27?: string | null; + add_ordinario_2_28?: string | null; + add_ordinario_2_29?: string | null; + add_ordinario_2_3?: string | null; + add_ordinario_2_30?: string | null; + add_ordinario_2_31?: string | null; + add_ordinario_2_4?: string | null; + add_ordinario_2_5?: string | null; + add_ordinario_2_6?: string | null; + add_ordinario_2_7?: string | null; + add_ordinario_2_8?: string | null; + add_ordinario_2_9?: string | null; + add_ordinario_3_1?: string | null; + add_ordinario_3_10?: string | null; + add_ordinario_3_11?: string | null; + add_ordinario_3_12?: string | null; + add_ordinario_3_13?: string | null; + add_ordinario_3_14?: string | null; + add_ordinario_3_15?: string | null; + add_ordinario_3_16?: string | null; + add_ordinario_3_17?: string | null; + add_ordinario_3_18?: string | null; + add_ordinario_3_19?: string | null; + add_ordinario_3_2?: string | null; + add_ordinario_3_20?: string | null; + add_ordinario_3_21?: string | null; + add_ordinario_3_22?: string | null; + add_ordinario_3_23?: string | null; + add_ordinario_3_24?: string | null; + add_ordinario_3_25?: string | null; + add_ordinario_3_26?: string | null; + add_ordinario_3_27?: string | null; + add_ordinario_3_28?: string | null; + add_ordinario_3_29?: string | null; + add_ordinario_3_3?: string | null; + add_ordinario_3_30?: string | null; + add_ordinario_3_31?: string | null; + add_ordinario_3_4?: string | null; + add_ordinario_3_5?: string | null; + add_ordinario_3_6?: string | null; + add_ordinario_3_7?: string | null; + add_ordinario_3_8?: string | null; + add_ordinario_3_9?: string | null; + add_ordinario_4_1?: string | null; + add_ordinario_4_10?: string | null; + add_ordinario_4_11?: string | null; + add_ordinario_4_12?: string | null; + add_ordinario_4_13?: string | null; + add_ordinario_4_14?: string | null; + add_ordinario_4_15?: string | null; + add_ordinario_4_16?: string | null; + add_ordinario_4_17?: string | null; + add_ordinario_4_18?: string | null; + add_ordinario_4_19?: string | null; + add_ordinario_4_2?: string | null; + add_ordinario_4_20?: string | null; + add_ordinario_4_21?: string | null; + add_ordinario_4_22?: string | null; + add_ordinario_4_23?: string | null; + add_ordinario_4_24?: string | null; + add_ordinario_4_25?: string | null; + add_ordinario_4_26?: string | null; + add_ordinario_4_27?: string | null; + add_ordinario_4_28?: string | null; + add_ordinario_4_29?: string | null; + add_ordinario_4_3?: string | null; + add_ordinario_4_30?: string | null; + add_ordinario_4_31?: string | null; + add_ordinario_4_4?: string | null; + add_ordinario_4_5?: string | null; + add_ordinario_4_6?: string | null; + add_ordinario_4_7?: string | null; + add_ordinario_4_8?: string | null; + add_ordinario_4_9?: string | null; + add_ordinario_5_1?: string | null; + add_ordinario_5_10?: string | null; + add_ordinario_5_11?: string | null; + add_ordinario_5_12?: string | null; + add_ordinario_5_13?: string | null; + add_ordinario_5_14?: string | null; + add_ordinario_5_15?: string | null; + add_ordinario_5_16?: string | null; + add_ordinario_5_17?: string | null; + add_ordinario_5_18?: string | null; + add_ordinario_5_19?: string | null; + add_ordinario_5_2?: string | null; + add_ordinario_5_20?: string | null; + add_ordinario_5_21?: string | null; + add_ordinario_5_22?: string | null; + add_ordinario_5_23?: string | null; + add_ordinario_5_24?: string | null; + add_ordinario_5_25?: string | null; + add_ordinario_5_26?: string | null; + add_ordinario_5_27?: string | null; + add_ordinario_5_28?: string | null; + add_ordinario_5_29?: string | null; + add_ordinario_5_3?: string | null; + add_ordinario_5_30?: string | null; + add_ordinario_5_31?: string | null; + add_ordinario_5_4?: string | null; + add_ordinario_5_5?: string | null; + add_ordinario_5_6?: string | null; + add_ordinario_5_7?: string | null; + add_ordinario_5_8?: string | null; + add_ordinario_5_9?: string | null; + add_ordinario_6_1?: string | null; + add_ordinario_6_10?: string | null; + add_ordinario_6_11?: string | null; + add_ordinario_6_12?: string | null; + add_ordinario_6_13?: string | null; + add_ordinario_6_14?: string | null; + add_ordinario_6_15?: string | null; + add_ordinario_6_16?: string | null; + add_ordinario_6_17?: string | null; + add_ordinario_6_18?: string | null; + add_ordinario_6_19?: string | null; + add_ordinario_6_2?: string | null; + add_ordinario_6_20?: string | null; + add_ordinario_6_21?: string | null; + add_ordinario_6_22?: string | null; + add_ordinario_6_23?: string | null; + add_ordinario_6_24?: string | null; + add_ordinario_6_25?: string | null; + add_ordinario_6_26?: string | null; + add_ordinario_6_27?: string | null; + add_ordinario_6_28?: string | null; + add_ordinario_6_29?: string | null; + add_ordinario_6_3?: string | null; + add_ordinario_6_30?: string | null; + add_ordinario_6_31?: string | null; + add_ordinario_6_4?: string | null; + add_ordinario_6_5?: string | null; + add_ordinario_6_6?: string | null; + add_ordinario_6_7?: string | null; + add_ordinario_6_8?: string | null; + add_ordinario_6_9?: string | null; + codDipendente?: string | null; + codFiliale?: string | null; + codiceAzienda?: string | null; + cognome?: string | null; + dataFine?: Date | null; + dataIniz?: Date | null; + giustificativo_1_1?: string | null; + giustificativo_1_10?: string | null; + giustificativo_1_11?: string | null; + giustificativo_1_12?: string | null; + giustificativo_1_13?: string | null; + giustificativo_1_14?: string | null; + giustificativo_1_15?: string | null; + giustificativo_1_16?: string | null; + giustificativo_1_17?: string | null; + giustificativo_1_18?: string | null; + giustificativo_1_19?: string | null; + giustificativo_1_2?: string | null; + giustificativo_1_20?: string | null; + giustificativo_1_21?: string | null; + giustificativo_1_22?: string | null; + giustificativo_1_23?: string | null; + giustificativo_1_24?: string | null; + giustificativo_1_25?: string | null; + giustificativo_1_26?: string | null; + giustificativo_1_27?: string | null; + giustificativo_1_28?: string | null; + giustificativo_1_29?: string | null; + giustificativo_1_3?: string | null; + giustificativo_1_30?: string | null; + giustificativo_1_31?: string | null; + giustificativo_1_4?: string | null; + giustificativo_1_5?: string | null; + giustificativo_1_6?: string | null; + giustificativo_1_7?: string | null; + giustificativo_1_8?: string | null; + giustificativo_1_9?: string | null; + giustificativo_2_1?: string | null; + giustificativo_2_10?: string | null; + giustificativo_2_11?: string | null; + giustificativo_2_12?: string | null; + giustificativo_2_13?: string | null; + giustificativo_2_14?: string | null; + giustificativo_2_15?: string | null; + giustificativo_2_16?: string | null; + giustificativo_2_17?: string | null; + giustificativo_2_18?: string | null; + giustificativo_2_19?: string | null; + giustificativo_2_2?: string | null; + giustificativo_2_20?: string | null; + giustificativo_2_21?: string | null; + giustificativo_2_22?: string | null; + giustificativo_2_23?: string | null; + giustificativo_2_24?: string | null; + giustificativo_2_25?: string | null; + giustificativo_2_26?: string | null; + giustificativo_2_27?: string | null; + giustificativo_2_28?: string | null; + giustificativo_2_29?: string | null; + giustificativo_2_3?: string | null; + giustificativo_2_30?: string | null; + giustificativo_2_31?: string | null; + giustificativo_2_4?: string | null; + giustificativo_2_5?: string | null; + giustificativo_2_6?: string | null; + giustificativo_2_7?: string | null; + giustificativo_2_8?: string | null; + giustificativo_2_9?: string | null; + giustificativo_3_1?: string | null; + giustificativo_3_10?: string | null; + giustificativo_3_11?: string | null; + giustificativo_3_12?: string | null; + giustificativo_3_13?: string | null; + giustificativo_3_14?: string | null; + giustificativo_3_15?: string | null; + giustificativo_3_16?: string | null; + giustificativo_3_17?: string | null; + giustificativo_3_18?: string | null; + giustificativo_3_19?: string | null; + giustificativo_3_2?: string | null; + giustificativo_3_20?: string | null; + giustificativo_3_21?: string | null; + giustificativo_3_22?: string | null; + giustificativo_3_23?: string | null; + giustificativo_3_24?: string | null; + giustificativo_3_25?: string | null; + giustificativo_3_26?: string | null; + giustificativo_3_27?: string | null; + giustificativo_3_28?: string | null; + giustificativo_3_29?: string | null; + giustificativo_3_3?: string | null; + giustificativo_3_30?: string | null; + giustificativo_3_31?: string | null; + giustificativo_3_4?: string | null; + giustificativo_3_5?: string | null; + giustificativo_3_6?: string | null; + giustificativo_3_7?: string | null; + giustificativo_3_8?: string | null; + giustificativo_3_9?: string | null; + giustificativo_4_1?: string | null; + giustificativo_4_10?: string | null; + giustificativo_4_11?: string | null; + giustificativo_4_12?: string | null; + giustificativo_4_13?: string | null; + giustificativo_4_14?: string | null; + giustificativo_4_15?: string | null; + giustificativo_4_16?: string | null; + giustificativo_4_17?: string | null; + giustificativo_4_18?: string | null; + giustificativo_4_19?: string | null; + giustificativo_4_2?: string | null; + giustificativo_4_20?: string | null; + giustificativo_4_21?: string | null; + giustificativo_4_22?: string | null; + giustificativo_4_23?: string | null; + giustificativo_4_24?: string | null; + giustificativo_4_25?: string | null; + giustificativo_4_26?: string | null; + giustificativo_4_27?: string | null; + giustificativo_4_28?: string | null; + giustificativo_4_29?: string | null; + giustificativo_4_3?: string | null; + giustificativo_4_30?: string | null; + giustificativo_4_31?: string | null; + giustificativo_4_4?: string | null; + giustificativo_4_5?: string | null; + giustificativo_4_6?: string | null; + giustificativo_4_7?: string | null; + giustificativo_4_8?: string | null; + giustificativo_4_9?: string | null; + giustificativo_5_1?: string | null; + giustificativo_5_10?: string | null; + giustificativo_5_11?: string | null; + giustificativo_5_12?: string | null; + giustificativo_5_13?: string | null; + giustificativo_5_14?: string | null; + giustificativo_5_15?: string | null; + giustificativo_5_16?: string | null; + giustificativo_5_17?: string | null; + giustificativo_5_18?: string | null; + giustificativo_5_19?: string | null; + giustificativo_5_2?: string | null; + giustificativo_5_20?: string | null; + giustificativo_5_21?: string | null; + giustificativo_5_22?: string | null; + giustificativo_5_23?: string | null; + giustificativo_5_24?: string | null; + giustificativo_5_25?: string | null; + giustificativo_5_26?: string | null; + giustificativo_5_27?: string | null; + giustificativo_5_28?: string | null; + giustificativo_5_29?: string | null; + giustificativo_5_3?: string | null; + giustificativo_5_30?: string | null; + giustificativo_5_31?: string | null; + giustificativo_5_4?: string | null; + giustificativo_5_5?: string | null; + giustificativo_5_6?: string | null; + giustificativo_5_7?: string | null; + giustificativo_5_8?: string | null; + giustificativo_5_9?: string | null; + giustificativo_6_1?: string | null; + giustificativo_6_10?: string | null; + giustificativo_6_11?: string | null; + giustificativo_6_12?: string | null; + giustificativo_6_13?: string | null; + giustificativo_6_14?: string | null; + giustificativo_6_15?: string | null; + giustificativo_6_16?: string | null; + giustificativo_6_17?: string | null; + giustificativo_6_18?: string | null; + giustificativo_6_19?: string | null; + giustificativo_6_2?: string | null; + giustificativo_6_20?: string | null; + giustificativo_6_21?: string | null; + giustificativo_6_22?: string | null; + giustificativo_6_23?: string | null; + giustificativo_6_24?: string | null; + giustificativo_6_25?: string | null; + giustificativo_6_26?: string | null; + giustificativo_6_27?: string | null; + giustificativo_6_28?: string | null; + giustificativo_6_29?: string | null; + giustificativo_6_3?: string | null; + giustificativo_6_30?: string | null; + giustificativo_6_31?: string | null; + giustificativo_6_4?: string | null; + giustificativo_6_5?: string | null; + giustificativo_6_6?: string | null; + giustificativo_6_7?: string | null; + giustificativo_6_8?: string | null; + giustificativo_6_9?: string | null; + messaggio_1_1?: string | null; + messaggio_1_10?: string | null; + messaggio_1_11?: string | null; + messaggio_1_12?: string | null; + messaggio_1_13?: string | null; + messaggio_1_14?: string | null; + messaggio_1_15?: string | null; + messaggio_1_16?: string | null; + messaggio_1_17?: string | null; + messaggio_1_18?: string | null; + messaggio_1_19?: string | null; + messaggio_1_2?: string | null; + messaggio_1_20?: string | null; + messaggio_1_21?: string | null; + messaggio_1_22?: string | null; + messaggio_1_23?: string | null; + messaggio_1_24?: string | null; + messaggio_1_25?: string | null; + messaggio_1_26?: string | null; + messaggio_1_27?: string | null; + messaggio_1_28?: string | null; + messaggio_1_29?: string | null; + messaggio_1_3?: string | null; + messaggio_1_30?: string | null; + messaggio_1_31?: string | null; + messaggio_1_4?: string | null; + messaggio_1_5?: string | null; + messaggio_1_6?: string | null; + messaggio_1_7?: string | null; + messaggio_1_8?: string | null; + messaggio_1_9?: string | null; + messaggio_2_1?: string | null; + messaggio_2_10?: string | null; + messaggio_2_11?: string | null; + messaggio_2_12?: string | null; + messaggio_2_13?: string | null; + messaggio_2_14?: string | null; + messaggio_2_15?: string | null; + messaggio_2_16?: string | null; + messaggio_2_17?: string | null; + messaggio_2_18?: string | null; + messaggio_2_19?: string | null; + messaggio_2_2?: string | null; + messaggio_2_20?: string | null; + messaggio_2_21?: string | null; + messaggio_2_22?: string | null; + messaggio_2_23?: string | null; + messaggio_2_24?: string | null; + messaggio_2_25?: string | null; + messaggio_2_26?: string | null; + messaggio_2_27?: string | null; + messaggio_2_28?: string | null; + messaggio_2_29?: string | null; + messaggio_2_3?: string | null; + messaggio_2_30?: string | null; + messaggio_2_31?: string | null; + messaggio_2_4?: string | null; + messaggio_2_5?: string | null; + messaggio_2_6?: string | null; + messaggio_2_7?: string | null; + messaggio_2_8?: string | null; + messaggio_2_9?: string | null; + messaggio_3_1?: string | null; + messaggio_3_10?: string | null; + messaggio_3_11?: string | null; + messaggio_3_12?: string | null; + messaggio_3_13?: string | null; + messaggio_3_14?: string | null; + messaggio_3_15?: string | null; + messaggio_3_16?: string | null; + messaggio_3_17?: string | null; + messaggio_3_18?: string | null; + messaggio_3_19?: string | null; + messaggio_3_2?: string | null; + messaggio_3_20?: string | null; + messaggio_3_21?: string | null; + messaggio_3_22?: string | null; + messaggio_3_23?: string | null; + messaggio_3_24?: string | null; + messaggio_3_25?: string | null; + messaggio_3_26?: string | null; + messaggio_3_27?: string | null; + messaggio_3_28?: string | null; + messaggio_3_29?: string | null; + messaggio_3_3?: string | null; + messaggio_3_30?: string | null; + messaggio_3_31?: string | null; + messaggio_3_4?: string | null; + messaggio_3_5?: string | null; + messaggio_3_6?: string | null; + messaggio_3_7?: string | null; + messaggio_3_8?: string | null; + messaggio_3_9?: string | null; + messaggio_4_1?: string | null; + messaggio_4_10?: string | null; + messaggio_4_11?: string | null; + messaggio_4_12?: string | null; + messaggio_4_13?: string | null; + messaggio_4_14?: string | null; + messaggio_4_15?: string | null; + messaggio_4_16?: string | null; + messaggio_4_17?: string | null; + messaggio_4_18?: string | null; + messaggio_4_19?: string | null; + messaggio_4_2?: string | null; + messaggio_4_20?: string | null; + messaggio_4_21?: string | null; + messaggio_4_22?: string | null; + messaggio_4_23?: string | null; + messaggio_4_24?: string | null; + messaggio_4_25?: string | null; + messaggio_4_26?: string | null; + messaggio_4_27?: string | null; + messaggio_4_28?: string | null; + messaggio_4_29?: string | null; + messaggio_4_3?: string | null; + messaggio_4_30?: string | null; + messaggio_4_31?: string | null; + messaggio_4_4?: string | null; + messaggio_4_5?: string | null; + messaggio_4_6?: string | null; + messaggio_4_7?: string | null; + messaggio_4_8?: string | null; + messaggio_4_9?: string | null; + messaggio_5_1?: string | null; + messaggio_5_10?: string | null; + messaggio_5_11?: string | null; + messaggio_5_12?: string | null; + messaggio_5_13?: string | null; + messaggio_5_14?: string | null; + messaggio_5_15?: string | null; + messaggio_5_16?: string | null; + messaggio_5_17?: string | null; + messaggio_5_18?: string | null; + messaggio_5_19?: string | null; + messaggio_5_2?: string | null; + messaggio_5_20?: string | null; + messaggio_5_21?: string | null; + messaggio_5_22?: string | null; + messaggio_5_23?: string | null; + messaggio_5_24?: string | null; + messaggio_5_25?: string | null; + messaggio_5_26?: string | null; + messaggio_5_27?: string | null; + messaggio_5_28?: string | null; + messaggio_5_29?: string | null; + messaggio_5_3?: string | null; + messaggio_5_30?: string | null; + messaggio_5_31?: string | null; + messaggio_5_4?: string | null; + messaggio_5_5?: string | null; + messaggio_5_6?: string | null; + messaggio_5_7?: string | null; + messaggio_5_8?: string | null; + messaggio_5_9?: string | null; + messaggio_6_1?: string | null; + messaggio_6_10?: string | null; + messaggio_6_11?: string | null; + messaggio_6_12?: string | null; + messaggio_6_13?: string | null; + messaggio_6_14?: string | null; + messaggio_6_15?: string | null; + messaggio_6_16?: string | null; + messaggio_6_17?: string | null; + messaggio_6_18?: string | null; + messaggio_6_19?: string | null; + messaggio_6_2?: string | null; + messaggio_6_20?: string | null; + messaggio_6_21?: string | null; + messaggio_6_22?: string | null; + messaggio_6_23?: string | null; + messaggio_6_24?: string | null; + messaggio_6_25?: string | null; + messaggio_6_26?: string | null; + messaggio_6_27?: string | null; + messaggio_6_28?: string | null; + messaggio_6_29?: string | null; + messaggio_6_3?: string | null; + messaggio_6_30?: string | null; + messaggio_6_31?: string | null; + messaggio_6_4?: string | null; + messaggio_6_5?: string | null; + messaggio_6_6?: string | null; + messaggio_6_7?: string | null; + messaggio_6_8?: string | null; + messaggio_6_9?: string | null; + nome?: string | null; + oreOrdinario_1?: number | null; + oreOrdinario_10?: number | null; + oreOrdinario_11?: number | null; + oreOrdinario_12?: number | null; + oreOrdinario_13?: number | null; + oreOrdinario_14?: number | null; + oreOrdinario_15?: number | null; + oreOrdinario_16?: number | null; + oreOrdinario_17?: number | null; + oreOrdinario_18?: number | null; + oreOrdinario_19?: number | null; + oreOrdinario_2?: number | null; + oreOrdinario_20?: number | null; + oreOrdinario_21?: number | null; + oreOrdinario_22?: number | null; + oreOrdinario_23?: number | null; + oreOrdinario_24?: number | null; + oreOrdinario_25?: number | null; + oreOrdinario_26?: number | null; + oreOrdinario_27?: number | null; + oreOrdinario_28?: number | null; + oreOrdinario_29?: number | null; + oreOrdinario_3?: number | null; + oreOrdinario_30?: number | null; + oreOrdinario_31?: number | null; + oreOrdinario_4?: number | null; + oreOrdinario_5?: number | null; + oreOrdinario_6?: number | null; + oreOrdinario_7?: number | null; + oreOrdinario_8?: number | null; + oreOrdinario_9?: number | null; + ore_giustificativo_1_1?: number | null; + ore_giustificativo_1_10?: number | null; + ore_giustificativo_1_11?: number | null; + ore_giustificativo_1_12?: number | null; + ore_giustificativo_1_13?: number | null; + ore_giustificativo_1_14?: number | null; + ore_giustificativo_1_15?: number | null; + ore_giustificativo_1_16?: number | null; + ore_giustificativo_1_17?: number | null; + ore_giustificativo_1_18?: number | null; + ore_giustificativo_1_19?: number | null; + ore_giustificativo_1_2?: number | null; + ore_giustificativo_1_20?: number | null; + ore_giustificativo_1_21?: number | null; + ore_giustificativo_1_22?: number | null; + ore_giustificativo_1_23?: number | null; + ore_giustificativo_1_24?: number | null; + ore_giustificativo_1_25?: number | null; + ore_giustificativo_1_26?: number | null; + ore_giustificativo_1_27?: number | null; + ore_giustificativo_1_28?: number | null; + ore_giustificativo_1_29?: number | null; + ore_giustificativo_1_3?: number | null; + ore_giustificativo_1_30?: number | null; + ore_giustificativo_1_31?: number | null; + ore_giustificativo_1_4?: number | null; + ore_giustificativo_1_5?: number | null; + ore_giustificativo_1_6?: number | null; + ore_giustificativo_1_7?: number | null; + ore_giustificativo_1_8?: number | null; + ore_giustificativo_1_9?: number | null; + ore_giustificativo_2_1?: number | null; + ore_giustificativo_2_10?: number | null; + ore_giustificativo_2_11?: number | null; + ore_giustificativo_2_12?: number | null; + ore_giustificativo_2_13?: number | null; + ore_giustificativo_2_14?: number | null; + ore_giustificativo_2_15?: number | null; + ore_giustificativo_2_16?: number | null; + ore_giustificativo_2_17?: number | null; + ore_giustificativo_2_18?: number | null; + ore_giustificativo_2_19?: number | null; + ore_giustificativo_2_2?: number | null; + ore_giustificativo_2_20?: number | null; + ore_giustificativo_2_21?: number | null; + ore_giustificativo_2_22?: number | null; + ore_giustificativo_2_23?: number | null; + ore_giustificativo_2_24?: number | null; + ore_giustificativo_2_25?: number | null; + ore_giustificativo_2_26?: number | null; + ore_giustificativo_2_27?: number | null; + ore_giustificativo_2_28?: number | null; + ore_giustificativo_2_29?: number | null; + ore_giustificativo_2_3?: number | null; + ore_giustificativo_2_30?: number | null; + ore_giustificativo_2_31?: number | null; + ore_giustificativo_2_4?: number | null; + ore_giustificativo_2_5?: number | null; + ore_giustificativo_2_6?: number | null; + ore_giustificativo_2_7?: number | null; + ore_giustificativo_2_8?: number | null; + ore_giustificativo_2_9?: number | null; + ore_giustificativo_3_1?: number | null; + ore_giustificativo_3_10?: number | null; + ore_giustificativo_3_11?: number | null; + ore_giustificativo_3_12?: number | null; + ore_giustificativo_3_13?: number | null; + ore_giustificativo_3_14?: number | null; + ore_giustificativo_3_15?: number | null; + ore_giustificativo_3_16?: number | null; + ore_giustificativo_3_17?: number | null; + ore_giustificativo_3_18?: number | null; + ore_giustificativo_3_19?: number | null; + ore_giustificativo_3_2?: number | null; + ore_giustificativo_3_20?: number | null; + ore_giustificativo_3_21?: number | null; + ore_giustificativo_3_22?: number | null; + ore_giustificativo_3_23?: number | null; + ore_giustificativo_3_24?: number | null; + ore_giustificativo_3_25?: number | null; + ore_giustificativo_3_26?: number | null; + ore_giustificativo_3_27?: number | null; + ore_giustificativo_3_28?: number | null; + ore_giustificativo_3_29?: number | null; + ore_giustificativo_3_3?: number | null; + ore_giustificativo_3_30?: number | null; + ore_giustificativo_3_31?: number | null; + ore_giustificativo_3_4?: number | null; + ore_giustificativo_3_5?: number | null; + ore_giustificativo_3_6?: number | null; + ore_giustificativo_3_7?: number | null; + ore_giustificativo_3_8?: number | null; + ore_giustificativo_3_9?: number | null; + ore_giustificativo_4_1?: number | null; + ore_giustificativo_4_10?: number | null; + ore_giustificativo_4_11?: number | null; + ore_giustificativo_4_12?: number | null; + ore_giustificativo_4_13?: number | null; + ore_giustificativo_4_14?: number | null; + ore_giustificativo_4_15?: number | null; + ore_giustificativo_4_16?: number | null; + ore_giustificativo_4_17?: number | null; + ore_giustificativo_4_18?: number | null; + ore_giustificativo_4_19?: number | null; + ore_giustificativo_4_2?: number | null; + ore_giustificativo_4_20?: number | null; + ore_giustificativo_4_21?: number | null; + ore_giustificativo_4_22?: number | null; + ore_giustificativo_4_23?: number | null; + ore_giustificativo_4_24?: number | null; + ore_giustificativo_4_25?: number | null; + ore_giustificativo_4_26?: number | null; + ore_giustificativo_4_27?: number | null; + ore_giustificativo_4_28?: number | null; + ore_giustificativo_4_29?: number | null; + ore_giustificativo_4_3?: number | null; + ore_giustificativo_4_30?: number | null; + ore_giustificativo_4_31?: number | null; + ore_giustificativo_4_4?: number | null; + ore_giustificativo_4_5?: number | null; + ore_giustificativo_4_6?: number | null; + ore_giustificativo_4_7?: number | null; + ore_giustificativo_4_8?: number | null; + ore_giustificativo_4_9?: number | null; + ore_giustificativo_5_1?: number | null; + ore_giustificativo_5_10?: number | null; + ore_giustificativo_5_11?: number | null; + ore_giustificativo_5_12?: number | null; + ore_giustificativo_5_13?: number | null; + ore_giustificativo_5_14?: number | null; + ore_giustificativo_5_15?: number | null; + ore_giustificativo_5_16?: number | null; + ore_giustificativo_5_17?: number | null; + ore_giustificativo_5_18?: number | null; + ore_giustificativo_5_19?: number | null; + ore_giustificativo_5_2?: number | null; + ore_giustificativo_5_20?: number | null; + ore_giustificativo_5_21?: number | null; + ore_giustificativo_5_22?: number | null; + ore_giustificativo_5_23?: number | null; + ore_giustificativo_5_24?: number | null; + ore_giustificativo_5_25?: number | null; + ore_giustificativo_5_26?: number | null; + ore_giustificativo_5_27?: number | null; + ore_giustificativo_5_28?: number | null; + ore_giustificativo_5_29?: number | null; + ore_giustificativo_5_3?: number | null; + ore_giustificativo_5_30?: number | null; + ore_giustificativo_5_31?: number | null; + ore_giustificativo_5_4?: number | null; + ore_giustificativo_5_5?: number | null; + ore_giustificativo_5_6?: number | null; + ore_giustificativo_5_7?: number | null; + ore_giustificativo_5_8?: number | null; + ore_giustificativo_5_9?: number | null; + ore_giustificativo_6_1?: number | null; + ore_giustificativo_6_10?: number | null; + ore_giustificativo_6_11?: number | null; + ore_giustificativo_6_12?: number | null; + ore_giustificativo_6_13?: number | null; + ore_giustificativo_6_14?: number | null; + ore_giustificativo_6_15?: number | null; + ore_giustificativo_6_16?: number | null; + ore_giustificativo_6_17?: number | null; + ore_giustificativo_6_18?: number | null; + ore_giustificativo_6_19?: number | null; + ore_giustificativo_6_2?: number | null; + ore_giustificativo_6_20?: number | null; + ore_giustificativo_6_21?: number | null; + ore_giustificativo_6_22?: number | null; + ore_giustificativo_6_23?: number | null; + ore_giustificativo_6_24?: number | null; + ore_giustificativo_6_25?: number | null; + ore_giustificativo_6_26?: number | null; + ore_giustificativo_6_27?: number | null; + ore_giustificativo_6_28?: number | null; + ore_giustificativo_6_29?: number | null; + ore_giustificativo_6_3?: number | null; + ore_giustificativo_6_30?: number | null; + ore_giustificativo_6_31?: number | null; + ore_giustificativo_6_4?: number | null; + ore_giustificativo_6_5?: number | null; + ore_giustificativo_6_6?: number | null; + ore_giustificativo_6_7?: number | null; + ore_giustificativo_6_8?: number | null; + ore_giustificativo_6_9?: number | null; + sigliaRp?: string | null; + + constructor(data: Rilpre) { + this.add_ordinario_1_1 = data.add_ordinario_1_1; + this.add_ordinario_1_10 = data.add_ordinario_1_10; + this.add_ordinario_1_11 = data.add_ordinario_1_11; + this.add_ordinario_1_12 = data.add_ordinario_1_12; + this.add_ordinario_1_13 = data.add_ordinario_1_13; + this.add_ordinario_1_14 = data.add_ordinario_1_14; + this.add_ordinario_1_15 = data.add_ordinario_1_15; + this.add_ordinario_1_16 = data.add_ordinario_1_16; + this.add_ordinario_1_17 = data.add_ordinario_1_17; + this.add_ordinario_1_18 = data.add_ordinario_1_18; + this.add_ordinario_1_19 = data.add_ordinario_1_19; + this.add_ordinario_1_2 = data.add_ordinario_1_2; + this.add_ordinario_1_20 = data.add_ordinario_1_20; + this.add_ordinario_1_21 = data.add_ordinario_1_21; + this.add_ordinario_1_22 = data.add_ordinario_1_22; + this.add_ordinario_1_23 = data.add_ordinario_1_23; + this.add_ordinario_1_24 = data.add_ordinario_1_24; + this.add_ordinario_1_25 = data.add_ordinario_1_25; + this.add_ordinario_1_26 = data.add_ordinario_1_26; + this.add_ordinario_1_27 = data.add_ordinario_1_27; + this.add_ordinario_1_28 = data.add_ordinario_1_28; + this.add_ordinario_1_29 = data.add_ordinario_1_29; + this.add_ordinario_1_3 = data.add_ordinario_1_3; + this.add_ordinario_1_30 = data.add_ordinario_1_30; + this.add_ordinario_1_31 = data.add_ordinario_1_31; + this.add_ordinario_1_4 = data.add_ordinario_1_4; + this.add_ordinario_1_5 = data.add_ordinario_1_5; + this.add_ordinario_1_6 = data.add_ordinario_1_6; + this.add_ordinario_1_7 = data.add_ordinario_1_7; + this.add_ordinario_1_8 = data.add_ordinario_1_8; + this.add_ordinario_1_9 = data.add_ordinario_1_9; + this.add_ordinario_2_1 = data.add_ordinario_2_1; + this.add_ordinario_2_10 = data.add_ordinario_2_10; + this.add_ordinario_2_11 = data.add_ordinario_2_11; + this.add_ordinario_2_12 = data.add_ordinario_2_12; + this.add_ordinario_2_13 = data.add_ordinario_2_13; + this.add_ordinario_2_14 = data.add_ordinario_2_14; + this.add_ordinario_2_15 = data.add_ordinario_2_15; + this.add_ordinario_2_16 = data.add_ordinario_2_16; + this.add_ordinario_2_17 = data.add_ordinario_2_17; + this.add_ordinario_2_18 = data.add_ordinario_2_18; + this.add_ordinario_2_19 = data.add_ordinario_2_19; + this.add_ordinario_2_2 = data.add_ordinario_2_2; + this.add_ordinario_2_20 = data.add_ordinario_2_20; + this.add_ordinario_2_21 = data.add_ordinario_2_21; + this.add_ordinario_2_22 = data.add_ordinario_2_22; + this.add_ordinario_2_23 = data.add_ordinario_2_23; + this.add_ordinario_2_24 = data.add_ordinario_2_24; + this.add_ordinario_2_25 = data.add_ordinario_2_25; + this.add_ordinario_2_26 = data.add_ordinario_2_26; + this.add_ordinario_2_27 = data.add_ordinario_2_27; + this.add_ordinario_2_28 = data.add_ordinario_2_28; + this.add_ordinario_2_29 = data.add_ordinario_2_29; + this.add_ordinario_2_3 = data.add_ordinario_2_3; + this.add_ordinario_2_30 = data.add_ordinario_2_30; + this.add_ordinario_2_31 = data.add_ordinario_2_31; + this.add_ordinario_2_4 = data.add_ordinario_2_4; + this.add_ordinario_2_5 = data.add_ordinario_2_5; + this.add_ordinario_2_6 = data.add_ordinario_2_6; + this.add_ordinario_2_7 = data.add_ordinario_2_7; + this.add_ordinario_2_8 = data.add_ordinario_2_8; + this.add_ordinario_2_9 = data.add_ordinario_2_9; + this.add_ordinario_3_1 = data.add_ordinario_3_1; + this.add_ordinario_3_10 = data.add_ordinario_3_10; + this.add_ordinario_3_11 = data.add_ordinario_3_11; + this.add_ordinario_3_12 = data.add_ordinario_3_12; + this.add_ordinario_3_13 = data.add_ordinario_3_13; + this.add_ordinario_3_14 = data.add_ordinario_3_14; + this.add_ordinario_3_15 = data.add_ordinario_3_15; + this.add_ordinario_3_16 = data.add_ordinario_3_16; + this.add_ordinario_3_17 = data.add_ordinario_3_17; + this.add_ordinario_3_18 = data.add_ordinario_3_18; + this.add_ordinario_3_19 = data.add_ordinario_3_19; + this.add_ordinario_3_2 = data.add_ordinario_3_2; + this.add_ordinario_3_20 = data.add_ordinario_3_20; + this.add_ordinario_3_21 = data.add_ordinario_3_21; + this.add_ordinario_3_22 = data.add_ordinario_3_22; + this.add_ordinario_3_23 = data.add_ordinario_3_23; + this.add_ordinario_3_24 = data.add_ordinario_3_24; + this.add_ordinario_3_25 = data.add_ordinario_3_25; + this.add_ordinario_3_26 = data.add_ordinario_3_26; + this.add_ordinario_3_27 = data.add_ordinario_3_27; + this.add_ordinario_3_28 = data.add_ordinario_3_28; + this.add_ordinario_3_29 = data.add_ordinario_3_29; + this.add_ordinario_3_3 = data.add_ordinario_3_3; + this.add_ordinario_3_30 = data.add_ordinario_3_30; + this.add_ordinario_3_31 = data.add_ordinario_3_31; + this.add_ordinario_3_4 = data.add_ordinario_3_4; + this.add_ordinario_3_5 = data.add_ordinario_3_5; + this.add_ordinario_3_6 = data.add_ordinario_3_6; + this.add_ordinario_3_7 = data.add_ordinario_3_7; + this.add_ordinario_3_8 = data.add_ordinario_3_8; + this.add_ordinario_3_9 = data.add_ordinario_3_9; + this.add_ordinario_4_1 = data.add_ordinario_4_1; + this.add_ordinario_4_10 = data.add_ordinario_4_10; + this.add_ordinario_4_11 = data.add_ordinario_4_11; + this.add_ordinario_4_12 = data.add_ordinario_4_12; + this.add_ordinario_4_13 = data.add_ordinario_4_13; + this.add_ordinario_4_14 = data.add_ordinario_4_14; + this.add_ordinario_4_15 = data.add_ordinario_4_15; + this.add_ordinario_4_16 = data.add_ordinario_4_16; + this.add_ordinario_4_17 = data.add_ordinario_4_17; + this.add_ordinario_4_18 = data.add_ordinario_4_18; + this.add_ordinario_4_19 = data.add_ordinario_4_19; + this.add_ordinario_4_2 = data.add_ordinario_4_2; + this.add_ordinario_4_20 = data.add_ordinario_4_20; + this.add_ordinario_4_21 = data.add_ordinario_4_21; + this.add_ordinario_4_22 = data.add_ordinario_4_22; + this.add_ordinario_4_23 = data.add_ordinario_4_23; + this.add_ordinario_4_24 = data.add_ordinario_4_24; + this.add_ordinario_4_25 = data.add_ordinario_4_25; + this.add_ordinario_4_26 = data.add_ordinario_4_26; + this.add_ordinario_4_27 = data.add_ordinario_4_27; + this.add_ordinario_4_28 = data.add_ordinario_4_28; + this.add_ordinario_4_29 = data.add_ordinario_4_29; + this.add_ordinario_4_3 = data.add_ordinario_4_3; + this.add_ordinario_4_30 = data.add_ordinario_4_30; + this.add_ordinario_4_31 = data.add_ordinario_4_31; + this.add_ordinario_4_4 = data.add_ordinario_4_4; + this.add_ordinario_4_5 = data.add_ordinario_4_5; + this.add_ordinario_4_6 = data.add_ordinario_4_6; + this.add_ordinario_4_7 = data.add_ordinario_4_7; + this.add_ordinario_4_8 = data.add_ordinario_4_8; + this.add_ordinario_4_9 = data.add_ordinario_4_9; + this.add_ordinario_5_1 = data.add_ordinario_5_1; + this.add_ordinario_5_10 = data.add_ordinario_5_10; + this.add_ordinario_5_11 = data.add_ordinario_5_11; + this.add_ordinario_5_12 = data.add_ordinario_5_12; + this.add_ordinario_5_13 = data.add_ordinario_5_13; + this.add_ordinario_5_14 = data.add_ordinario_5_14; + this.add_ordinario_5_15 = data.add_ordinario_5_15; + this.add_ordinario_5_16 = data.add_ordinario_5_16; + this.add_ordinario_5_17 = data.add_ordinario_5_17; + this.add_ordinario_5_18 = data.add_ordinario_5_18; + this.add_ordinario_5_19 = data.add_ordinario_5_19; + this.add_ordinario_5_2 = data.add_ordinario_5_2; + this.add_ordinario_5_20 = data.add_ordinario_5_20; + this.add_ordinario_5_21 = data.add_ordinario_5_21; + this.add_ordinario_5_22 = data.add_ordinario_5_22; + this.add_ordinario_5_23 = data.add_ordinario_5_23; + this.add_ordinario_5_24 = data.add_ordinario_5_24; + this.add_ordinario_5_25 = data.add_ordinario_5_25; + this.add_ordinario_5_26 = data.add_ordinario_5_26; + this.add_ordinario_5_27 = data.add_ordinario_5_27; + this.add_ordinario_5_28 = data.add_ordinario_5_28; + this.add_ordinario_5_29 = data.add_ordinario_5_29; + this.add_ordinario_5_3 = data.add_ordinario_5_3; + this.add_ordinario_5_30 = data.add_ordinario_5_30; + this.add_ordinario_5_31 = data.add_ordinario_5_31; + this.add_ordinario_5_4 = data.add_ordinario_5_4; + this.add_ordinario_5_5 = data.add_ordinario_5_5; + this.add_ordinario_5_6 = data.add_ordinario_5_6; + this.add_ordinario_5_7 = data.add_ordinario_5_7; + this.add_ordinario_5_8 = data.add_ordinario_5_8; + this.add_ordinario_5_9 = data.add_ordinario_5_9; + this.add_ordinario_6_1 = data.add_ordinario_6_1; + this.add_ordinario_6_10 = data.add_ordinario_6_10; + this.add_ordinario_6_11 = data.add_ordinario_6_11; + this.add_ordinario_6_12 = data.add_ordinario_6_12; + this.add_ordinario_6_13 = data.add_ordinario_6_13; + this.add_ordinario_6_14 = data.add_ordinario_6_14; + this.add_ordinario_6_15 = data.add_ordinario_6_15; + this.add_ordinario_6_16 = data.add_ordinario_6_16; + this.add_ordinario_6_17 = data.add_ordinario_6_17; + this.add_ordinario_6_18 = data.add_ordinario_6_18; + this.add_ordinario_6_19 = data.add_ordinario_6_19; + this.add_ordinario_6_2 = data.add_ordinario_6_2; + this.add_ordinario_6_20 = data.add_ordinario_6_20; + this.add_ordinario_6_21 = data.add_ordinario_6_21; + this.add_ordinario_6_22 = data.add_ordinario_6_22; + this.add_ordinario_6_23 = data.add_ordinario_6_23; + this.add_ordinario_6_24 = data.add_ordinario_6_24; + this.add_ordinario_6_25 = data.add_ordinario_6_25; + this.add_ordinario_6_26 = data.add_ordinario_6_26; + this.add_ordinario_6_27 = data.add_ordinario_6_27; + this.add_ordinario_6_28 = data.add_ordinario_6_28; + this.add_ordinario_6_29 = data.add_ordinario_6_29; + this.add_ordinario_6_3 = data.add_ordinario_6_3; + this.add_ordinario_6_30 = data.add_ordinario_6_30; + this.add_ordinario_6_31 = data.add_ordinario_6_31; + this.add_ordinario_6_4 = data.add_ordinario_6_4; + this.add_ordinario_6_5 = data.add_ordinario_6_5; + this.add_ordinario_6_6 = data.add_ordinario_6_6; + this.add_ordinario_6_7 = data.add_ordinario_6_7; + this.add_ordinario_6_8 = data.add_ordinario_6_8; + this.add_ordinario_6_9 = data.add_ordinario_6_9; + this.codDipendente = data.codDipendente; + this.codFiliale = data.codFiliale; + this.codiceAzienda = data.codiceAzienda; + this.cognome = data.cognome; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.giustificativo_1_1 = data.giustificativo_1_1; + this.giustificativo_1_10 = data.giustificativo_1_10; + this.giustificativo_1_11 = data.giustificativo_1_11; + this.giustificativo_1_12 = data.giustificativo_1_12; + this.giustificativo_1_13 = data.giustificativo_1_13; + this.giustificativo_1_14 = data.giustificativo_1_14; + this.giustificativo_1_15 = data.giustificativo_1_15; + this.giustificativo_1_16 = data.giustificativo_1_16; + this.giustificativo_1_17 = data.giustificativo_1_17; + this.giustificativo_1_18 = data.giustificativo_1_18; + this.giustificativo_1_19 = data.giustificativo_1_19; + this.giustificativo_1_2 = data.giustificativo_1_2; + this.giustificativo_1_20 = data.giustificativo_1_20; + this.giustificativo_1_21 = data.giustificativo_1_21; + this.giustificativo_1_22 = data.giustificativo_1_22; + this.giustificativo_1_23 = data.giustificativo_1_23; + this.giustificativo_1_24 = data.giustificativo_1_24; + this.giustificativo_1_25 = data.giustificativo_1_25; + this.giustificativo_1_26 = data.giustificativo_1_26; + this.giustificativo_1_27 = data.giustificativo_1_27; + this.giustificativo_1_28 = data.giustificativo_1_28; + this.giustificativo_1_29 = data.giustificativo_1_29; + this.giustificativo_1_3 = data.giustificativo_1_3; + this.giustificativo_1_30 = data.giustificativo_1_30; + this.giustificativo_1_31 = data.giustificativo_1_31; + this.giustificativo_1_4 = data.giustificativo_1_4; + this.giustificativo_1_5 = data.giustificativo_1_5; + this.giustificativo_1_6 = data.giustificativo_1_6; + this.giustificativo_1_7 = data.giustificativo_1_7; + this.giustificativo_1_8 = data.giustificativo_1_8; + this.giustificativo_1_9 = data.giustificativo_1_9; + this.giustificativo_2_1 = data.giustificativo_2_1; + this.giustificativo_2_10 = data.giustificativo_2_10; + this.giustificativo_2_11 = data.giustificativo_2_11; + this.giustificativo_2_12 = data.giustificativo_2_12; + this.giustificativo_2_13 = data.giustificativo_2_13; + this.giustificativo_2_14 = data.giustificativo_2_14; + this.giustificativo_2_15 = data.giustificativo_2_15; + this.giustificativo_2_16 = data.giustificativo_2_16; + this.giustificativo_2_17 = data.giustificativo_2_17; + this.giustificativo_2_18 = data.giustificativo_2_18; + this.giustificativo_2_19 = data.giustificativo_2_19; + this.giustificativo_2_2 = data.giustificativo_2_2; + this.giustificativo_2_20 = data.giustificativo_2_20; + this.giustificativo_2_21 = data.giustificativo_2_21; + this.giustificativo_2_22 = data.giustificativo_2_22; + this.giustificativo_2_23 = data.giustificativo_2_23; + this.giustificativo_2_24 = data.giustificativo_2_24; + this.giustificativo_2_25 = data.giustificativo_2_25; + this.giustificativo_2_26 = data.giustificativo_2_26; + this.giustificativo_2_27 = data.giustificativo_2_27; + this.giustificativo_2_28 = data.giustificativo_2_28; + this.giustificativo_2_29 = data.giustificativo_2_29; + this.giustificativo_2_3 = data.giustificativo_2_3; + this.giustificativo_2_30 = data.giustificativo_2_30; + this.giustificativo_2_31 = data.giustificativo_2_31; + this.giustificativo_2_4 = data.giustificativo_2_4; + this.giustificativo_2_5 = data.giustificativo_2_5; + this.giustificativo_2_6 = data.giustificativo_2_6; + this.giustificativo_2_7 = data.giustificativo_2_7; + this.giustificativo_2_8 = data.giustificativo_2_8; + this.giustificativo_2_9 = data.giustificativo_2_9; + this.giustificativo_3_1 = data.giustificativo_3_1; + this.giustificativo_3_10 = data.giustificativo_3_10; + this.giustificativo_3_11 = data.giustificativo_3_11; + this.giustificativo_3_12 = data.giustificativo_3_12; + this.giustificativo_3_13 = data.giustificativo_3_13; + this.giustificativo_3_14 = data.giustificativo_3_14; + this.giustificativo_3_15 = data.giustificativo_3_15; + this.giustificativo_3_16 = data.giustificativo_3_16; + this.giustificativo_3_17 = data.giustificativo_3_17; + this.giustificativo_3_18 = data.giustificativo_3_18; + this.giustificativo_3_19 = data.giustificativo_3_19; + this.giustificativo_3_2 = data.giustificativo_3_2; + this.giustificativo_3_20 = data.giustificativo_3_20; + this.giustificativo_3_21 = data.giustificativo_3_21; + this.giustificativo_3_22 = data.giustificativo_3_22; + this.giustificativo_3_23 = data.giustificativo_3_23; + this.giustificativo_3_24 = data.giustificativo_3_24; + this.giustificativo_3_25 = data.giustificativo_3_25; + this.giustificativo_3_26 = data.giustificativo_3_26; + this.giustificativo_3_27 = data.giustificativo_3_27; + this.giustificativo_3_28 = data.giustificativo_3_28; + this.giustificativo_3_29 = data.giustificativo_3_29; + this.giustificativo_3_3 = data.giustificativo_3_3; + this.giustificativo_3_30 = data.giustificativo_3_30; + this.giustificativo_3_31 = data.giustificativo_3_31; + this.giustificativo_3_4 = data.giustificativo_3_4; + this.giustificativo_3_5 = data.giustificativo_3_5; + this.giustificativo_3_6 = data.giustificativo_3_6; + this.giustificativo_3_7 = data.giustificativo_3_7; + this.giustificativo_3_8 = data.giustificativo_3_8; + this.giustificativo_3_9 = data.giustificativo_3_9; + this.giustificativo_4_1 = data.giustificativo_4_1; + this.giustificativo_4_10 = data.giustificativo_4_10; + this.giustificativo_4_11 = data.giustificativo_4_11; + this.giustificativo_4_12 = data.giustificativo_4_12; + this.giustificativo_4_13 = data.giustificativo_4_13; + this.giustificativo_4_14 = data.giustificativo_4_14; + this.giustificativo_4_15 = data.giustificativo_4_15; + this.giustificativo_4_16 = data.giustificativo_4_16; + this.giustificativo_4_17 = data.giustificativo_4_17; + this.giustificativo_4_18 = data.giustificativo_4_18; + this.giustificativo_4_19 = data.giustificativo_4_19; + this.giustificativo_4_2 = data.giustificativo_4_2; + this.giustificativo_4_20 = data.giustificativo_4_20; + this.giustificativo_4_21 = data.giustificativo_4_21; + this.giustificativo_4_22 = data.giustificativo_4_22; + this.giustificativo_4_23 = data.giustificativo_4_23; + this.giustificativo_4_24 = data.giustificativo_4_24; + this.giustificativo_4_25 = data.giustificativo_4_25; + this.giustificativo_4_26 = data.giustificativo_4_26; + this.giustificativo_4_27 = data.giustificativo_4_27; + this.giustificativo_4_28 = data.giustificativo_4_28; + this.giustificativo_4_29 = data.giustificativo_4_29; + this.giustificativo_4_3 = data.giustificativo_4_3; + this.giustificativo_4_30 = data.giustificativo_4_30; + this.giustificativo_4_31 = data.giustificativo_4_31; + this.giustificativo_4_4 = data.giustificativo_4_4; + this.giustificativo_4_5 = data.giustificativo_4_5; + this.giustificativo_4_6 = data.giustificativo_4_6; + this.giustificativo_4_7 = data.giustificativo_4_7; + this.giustificativo_4_8 = data.giustificativo_4_8; + this.giustificativo_4_9 = data.giustificativo_4_9; + this.giustificativo_5_1 = data.giustificativo_5_1; + this.giustificativo_5_10 = data.giustificativo_5_10; + this.giustificativo_5_11 = data.giustificativo_5_11; + this.giustificativo_5_12 = data.giustificativo_5_12; + this.giustificativo_5_13 = data.giustificativo_5_13; + this.giustificativo_5_14 = data.giustificativo_5_14; + this.giustificativo_5_15 = data.giustificativo_5_15; + this.giustificativo_5_16 = data.giustificativo_5_16; + this.giustificativo_5_17 = data.giustificativo_5_17; + this.giustificativo_5_18 = data.giustificativo_5_18; + this.giustificativo_5_19 = data.giustificativo_5_19; + this.giustificativo_5_2 = data.giustificativo_5_2; + this.giustificativo_5_20 = data.giustificativo_5_20; + this.giustificativo_5_21 = data.giustificativo_5_21; + this.giustificativo_5_22 = data.giustificativo_5_22; + this.giustificativo_5_23 = data.giustificativo_5_23; + this.giustificativo_5_24 = data.giustificativo_5_24; + this.giustificativo_5_25 = data.giustificativo_5_25; + this.giustificativo_5_26 = data.giustificativo_5_26; + this.giustificativo_5_27 = data.giustificativo_5_27; + this.giustificativo_5_28 = data.giustificativo_5_28; + this.giustificativo_5_29 = data.giustificativo_5_29; + this.giustificativo_5_3 = data.giustificativo_5_3; + this.giustificativo_5_30 = data.giustificativo_5_30; + this.giustificativo_5_31 = data.giustificativo_5_31; + this.giustificativo_5_4 = data.giustificativo_5_4; + this.giustificativo_5_5 = data.giustificativo_5_5; + this.giustificativo_5_6 = data.giustificativo_5_6; + this.giustificativo_5_7 = data.giustificativo_5_7; + this.giustificativo_5_8 = data.giustificativo_5_8; + this.giustificativo_5_9 = data.giustificativo_5_9; + this.giustificativo_6_1 = data.giustificativo_6_1; + this.giustificativo_6_10 = data.giustificativo_6_10; + this.giustificativo_6_11 = data.giustificativo_6_11; + this.giustificativo_6_12 = data.giustificativo_6_12; + this.giustificativo_6_13 = data.giustificativo_6_13; + this.giustificativo_6_14 = data.giustificativo_6_14; + this.giustificativo_6_15 = data.giustificativo_6_15; + this.giustificativo_6_16 = data.giustificativo_6_16; + this.giustificativo_6_17 = data.giustificativo_6_17; + this.giustificativo_6_18 = data.giustificativo_6_18; + this.giustificativo_6_19 = data.giustificativo_6_19; + this.giustificativo_6_2 = data.giustificativo_6_2; + this.giustificativo_6_20 = data.giustificativo_6_20; + this.giustificativo_6_21 = data.giustificativo_6_21; + this.giustificativo_6_22 = data.giustificativo_6_22; + this.giustificativo_6_23 = data.giustificativo_6_23; + this.giustificativo_6_24 = data.giustificativo_6_24; + this.giustificativo_6_25 = data.giustificativo_6_25; + this.giustificativo_6_26 = data.giustificativo_6_26; + this.giustificativo_6_27 = data.giustificativo_6_27; + this.giustificativo_6_28 = data.giustificativo_6_28; + this.giustificativo_6_29 = data.giustificativo_6_29; + this.giustificativo_6_3 = data.giustificativo_6_3; + this.giustificativo_6_30 = data.giustificativo_6_30; + this.giustificativo_6_31 = data.giustificativo_6_31; + this.giustificativo_6_4 = data.giustificativo_6_4; + this.giustificativo_6_5 = data.giustificativo_6_5; + this.giustificativo_6_6 = data.giustificativo_6_6; + this.giustificativo_6_7 = data.giustificativo_6_7; + this.giustificativo_6_8 = data.giustificativo_6_8; + this.giustificativo_6_9 = data.giustificativo_6_9; + this.messaggio_1_1 = data.messaggio_1_1; + this.messaggio_1_10 = data.messaggio_1_10; + this.messaggio_1_11 = data.messaggio_1_11; + this.messaggio_1_12 = data.messaggio_1_12; + this.messaggio_1_13 = data.messaggio_1_13; + this.messaggio_1_14 = data.messaggio_1_14; + this.messaggio_1_15 = data.messaggio_1_15; + this.messaggio_1_16 = data.messaggio_1_16; + this.messaggio_1_17 = data.messaggio_1_17; + this.messaggio_1_18 = data.messaggio_1_18; + this.messaggio_1_19 = data.messaggio_1_19; + this.messaggio_1_2 = data.messaggio_1_2; + this.messaggio_1_20 = data.messaggio_1_20; + this.messaggio_1_21 = data.messaggio_1_21; + this.messaggio_1_22 = data.messaggio_1_22; + this.messaggio_1_23 = data.messaggio_1_23; + this.messaggio_1_24 = data.messaggio_1_24; + this.messaggio_1_25 = data.messaggio_1_25; + this.messaggio_1_26 = data.messaggio_1_26; + this.messaggio_1_27 = data.messaggio_1_27; + this.messaggio_1_28 = data.messaggio_1_28; + this.messaggio_1_29 = data.messaggio_1_29; + this.messaggio_1_3 = data.messaggio_1_3; + this.messaggio_1_30 = data.messaggio_1_30; + this.messaggio_1_31 = data.messaggio_1_31; + this.messaggio_1_4 = data.messaggio_1_4; + this.messaggio_1_5 = data.messaggio_1_5; + this.messaggio_1_6 = data.messaggio_1_6; + this.messaggio_1_7 = data.messaggio_1_7; + this.messaggio_1_8 = data.messaggio_1_8; + this.messaggio_1_9 = data.messaggio_1_9; + this.messaggio_2_1 = data.messaggio_2_1; + this.messaggio_2_10 = data.messaggio_2_10; + this.messaggio_2_11 = data.messaggio_2_11; + this.messaggio_2_12 = data.messaggio_2_12; + this.messaggio_2_13 = data.messaggio_2_13; + this.messaggio_2_14 = data.messaggio_2_14; + this.messaggio_2_15 = data.messaggio_2_15; + this.messaggio_2_16 = data.messaggio_2_16; + this.messaggio_2_17 = data.messaggio_2_17; + this.messaggio_2_18 = data.messaggio_2_18; + this.messaggio_2_19 = data.messaggio_2_19; + this.messaggio_2_2 = data.messaggio_2_2; + this.messaggio_2_20 = data.messaggio_2_20; + this.messaggio_2_21 = data.messaggio_2_21; + this.messaggio_2_22 = data.messaggio_2_22; + this.messaggio_2_23 = data.messaggio_2_23; + this.messaggio_2_24 = data.messaggio_2_24; + this.messaggio_2_25 = data.messaggio_2_25; + this.messaggio_2_26 = data.messaggio_2_26; + this.messaggio_2_27 = data.messaggio_2_27; + this.messaggio_2_28 = data.messaggio_2_28; + this.messaggio_2_29 = data.messaggio_2_29; + this.messaggio_2_3 = data.messaggio_2_3; + this.messaggio_2_30 = data.messaggio_2_30; + this.messaggio_2_31 = data.messaggio_2_31; + this.messaggio_2_4 = data.messaggio_2_4; + this.messaggio_2_5 = data.messaggio_2_5; + this.messaggio_2_6 = data.messaggio_2_6; + this.messaggio_2_7 = data.messaggio_2_7; + this.messaggio_2_8 = data.messaggio_2_8; + this.messaggio_2_9 = data.messaggio_2_9; + this.messaggio_3_1 = data.messaggio_3_1; + this.messaggio_3_10 = data.messaggio_3_10; + this.messaggio_3_11 = data.messaggio_3_11; + this.messaggio_3_12 = data.messaggio_3_12; + this.messaggio_3_13 = data.messaggio_3_13; + this.messaggio_3_14 = data.messaggio_3_14; + this.messaggio_3_15 = data.messaggio_3_15; + this.messaggio_3_16 = data.messaggio_3_16; + this.messaggio_3_17 = data.messaggio_3_17; + this.messaggio_3_18 = data.messaggio_3_18; + this.messaggio_3_19 = data.messaggio_3_19; + this.messaggio_3_2 = data.messaggio_3_2; + this.messaggio_3_20 = data.messaggio_3_20; + this.messaggio_3_21 = data.messaggio_3_21; + this.messaggio_3_22 = data.messaggio_3_22; + this.messaggio_3_23 = data.messaggio_3_23; + this.messaggio_3_24 = data.messaggio_3_24; + this.messaggio_3_25 = data.messaggio_3_25; + this.messaggio_3_26 = data.messaggio_3_26; + this.messaggio_3_27 = data.messaggio_3_27; + this.messaggio_3_28 = data.messaggio_3_28; + this.messaggio_3_29 = data.messaggio_3_29; + this.messaggio_3_3 = data.messaggio_3_3; + this.messaggio_3_30 = data.messaggio_3_30; + this.messaggio_3_31 = data.messaggio_3_31; + this.messaggio_3_4 = data.messaggio_3_4; + this.messaggio_3_5 = data.messaggio_3_5; + this.messaggio_3_6 = data.messaggio_3_6; + this.messaggio_3_7 = data.messaggio_3_7; + this.messaggio_3_8 = data.messaggio_3_8; + this.messaggio_3_9 = data.messaggio_3_9; + this.messaggio_4_1 = data.messaggio_4_1; + this.messaggio_4_10 = data.messaggio_4_10; + this.messaggio_4_11 = data.messaggio_4_11; + this.messaggio_4_12 = data.messaggio_4_12; + this.messaggio_4_13 = data.messaggio_4_13; + this.messaggio_4_14 = data.messaggio_4_14; + this.messaggio_4_15 = data.messaggio_4_15; + this.messaggio_4_16 = data.messaggio_4_16; + this.messaggio_4_17 = data.messaggio_4_17; + this.messaggio_4_18 = data.messaggio_4_18; + this.messaggio_4_19 = data.messaggio_4_19; + this.messaggio_4_2 = data.messaggio_4_2; + this.messaggio_4_20 = data.messaggio_4_20; + this.messaggio_4_21 = data.messaggio_4_21; + this.messaggio_4_22 = data.messaggio_4_22; + this.messaggio_4_23 = data.messaggio_4_23; + this.messaggio_4_24 = data.messaggio_4_24; + this.messaggio_4_25 = data.messaggio_4_25; + this.messaggio_4_26 = data.messaggio_4_26; + this.messaggio_4_27 = data.messaggio_4_27; + this.messaggio_4_28 = data.messaggio_4_28; + this.messaggio_4_29 = data.messaggio_4_29; + this.messaggio_4_3 = data.messaggio_4_3; + this.messaggio_4_30 = data.messaggio_4_30; + this.messaggio_4_31 = data.messaggio_4_31; + this.messaggio_4_4 = data.messaggio_4_4; + this.messaggio_4_5 = data.messaggio_4_5; + this.messaggio_4_6 = data.messaggio_4_6; + this.messaggio_4_7 = data.messaggio_4_7; + this.messaggio_4_8 = data.messaggio_4_8; + this.messaggio_4_9 = data.messaggio_4_9; + this.messaggio_5_1 = data.messaggio_5_1; + this.messaggio_5_10 = data.messaggio_5_10; + this.messaggio_5_11 = data.messaggio_5_11; + this.messaggio_5_12 = data.messaggio_5_12; + this.messaggio_5_13 = data.messaggio_5_13; + this.messaggio_5_14 = data.messaggio_5_14; + this.messaggio_5_15 = data.messaggio_5_15; + this.messaggio_5_16 = data.messaggio_5_16; + this.messaggio_5_17 = data.messaggio_5_17; + this.messaggio_5_18 = data.messaggio_5_18; + this.messaggio_5_19 = data.messaggio_5_19; + this.messaggio_5_2 = data.messaggio_5_2; + this.messaggio_5_20 = data.messaggio_5_20; + this.messaggio_5_21 = data.messaggio_5_21; + this.messaggio_5_22 = data.messaggio_5_22; + this.messaggio_5_23 = data.messaggio_5_23; + this.messaggio_5_24 = data.messaggio_5_24; + this.messaggio_5_25 = data.messaggio_5_25; + this.messaggio_5_26 = data.messaggio_5_26; + this.messaggio_5_27 = data.messaggio_5_27; + this.messaggio_5_28 = data.messaggio_5_28; + this.messaggio_5_29 = data.messaggio_5_29; + this.messaggio_5_3 = data.messaggio_5_3; + this.messaggio_5_30 = data.messaggio_5_30; + this.messaggio_5_31 = data.messaggio_5_31; + this.messaggio_5_4 = data.messaggio_5_4; + this.messaggio_5_5 = data.messaggio_5_5; + this.messaggio_5_6 = data.messaggio_5_6; + this.messaggio_5_7 = data.messaggio_5_7; + this.messaggio_5_8 = data.messaggio_5_8; + this.messaggio_5_9 = data.messaggio_5_9; + this.messaggio_6_1 = data.messaggio_6_1; + this.messaggio_6_10 = data.messaggio_6_10; + this.messaggio_6_11 = data.messaggio_6_11; + this.messaggio_6_12 = data.messaggio_6_12; + this.messaggio_6_13 = data.messaggio_6_13; + this.messaggio_6_14 = data.messaggio_6_14; + this.messaggio_6_15 = data.messaggio_6_15; + this.messaggio_6_16 = data.messaggio_6_16; + this.messaggio_6_17 = data.messaggio_6_17; + this.messaggio_6_18 = data.messaggio_6_18; + this.messaggio_6_19 = data.messaggio_6_19; + this.messaggio_6_2 = data.messaggio_6_2; + this.messaggio_6_20 = data.messaggio_6_20; + this.messaggio_6_21 = data.messaggio_6_21; + this.messaggio_6_22 = data.messaggio_6_22; + this.messaggio_6_23 = data.messaggio_6_23; + this.messaggio_6_24 = data.messaggio_6_24; + this.messaggio_6_25 = data.messaggio_6_25; + this.messaggio_6_26 = data.messaggio_6_26; + this.messaggio_6_27 = data.messaggio_6_27; + this.messaggio_6_28 = data.messaggio_6_28; + this.messaggio_6_29 = data.messaggio_6_29; + this.messaggio_6_3 = data.messaggio_6_3; + this.messaggio_6_30 = data.messaggio_6_30; + this.messaggio_6_31 = data.messaggio_6_31; + this.messaggio_6_4 = data.messaggio_6_4; + this.messaggio_6_5 = data.messaggio_6_5; + this.messaggio_6_6 = data.messaggio_6_6; + this.messaggio_6_7 = data.messaggio_6_7; + this.messaggio_6_8 = data.messaggio_6_8; + this.messaggio_6_9 = data.messaggio_6_9; + this.nome = data.nome; + this.oreOrdinario_1 = data.oreOrdinario_1; + this.oreOrdinario_10 = data.oreOrdinario_10; + this.oreOrdinario_11 = data.oreOrdinario_11; + this.oreOrdinario_12 = data.oreOrdinario_12; + this.oreOrdinario_13 = data.oreOrdinario_13; + this.oreOrdinario_14 = data.oreOrdinario_14; + this.oreOrdinario_15 = data.oreOrdinario_15; + this.oreOrdinario_16 = data.oreOrdinario_16; + this.oreOrdinario_17 = data.oreOrdinario_17; + this.oreOrdinario_18 = data.oreOrdinario_18; + this.oreOrdinario_19 = data.oreOrdinario_19; + this.oreOrdinario_2 = data.oreOrdinario_2; + this.oreOrdinario_20 = data.oreOrdinario_20; + this.oreOrdinario_21 = data.oreOrdinario_21; + this.oreOrdinario_22 = data.oreOrdinario_22; + this.oreOrdinario_23 = data.oreOrdinario_23; + this.oreOrdinario_24 = data.oreOrdinario_24; + this.oreOrdinario_25 = data.oreOrdinario_25; + this.oreOrdinario_26 = data.oreOrdinario_26; + this.oreOrdinario_27 = data.oreOrdinario_27; + this.oreOrdinario_28 = data.oreOrdinario_28; + this.oreOrdinario_29 = data.oreOrdinario_29; + this.oreOrdinario_3 = data.oreOrdinario_3; + this.oreOrdinario_30 = data.oreOrdinario_30; + this.oreOrdinario_31 = data.oreOrdinario_31; + this.oreOrdinario_4 = data.oreOrdinario_4; + this.oreOrdinario_5 = data.oreOrdinario_5; + this.oreOrdinario_6 = data.oreOrdinario_6; + this.oreOrdinario_7 = data.oreOrdinario_7; + this.oreOrdinario_8 = data.oreOrdinario_8; + this.oreOrdinario_9 = data.oreOrdinario_9; + this.ore_giustificativo_1_1 = data.ore_giustificativo_1_1; + this.ore_giustificativo_1_10 = data.ore_giustificativo_1_10; + this.ore_giustificativo_1_11 = data.ore_giustificativo_1_11; + this.ore_giustificativo_1_12 = data.ore_giustificativo_1_12; + this.ore_giustificativo_1_13 = data.ore_giustificativo_1_13; + this.ore_giustificativo_1_14 = data.ore_giustificativo_1_14; + this.ore_giustificativo_1_15 = data.ore_giustificativo_1_15; + this.ore_giustificativo_1_16 = data.ore_giustificativo_1_16; + this.ore_giustificativo_1_17 = data.ore_giustificativo_1_17; + this.ore_giustificativo_1_18 = data.ore_giustificativo_1_18; + this.ore_giustificativo_1_19 = data.ore_giustificativo_1_19; + this.ore_giustificativo_1_2 = data.ore_giustificativo_1_2; + this.ore_giustificativo_1_20 = data.ore_giustificativo_1_20; + this.ore_giustificativo_1_21 = data.ore_giustificativo_1_21; + this.ore_giustificativo_1_22 = data.ore_giustificativo_1_22; + this.ore_giustificativo_1_23 = data.ore_giustificativo_1_23; + this.ore_giustificativo_1_24 = data.ore_giustificativo_1_24; + this.ore_giustificativo_1_25 = data.ore_giustificativo_1_25; + this.ore_giustificativo_1_26 = data.ore_giustificativo_1_26; + this.ore_giustificativo_1_27 = data.ore_giustificativo_1_27; + this.ore_giustificativo_1_28 = data.ore_giustificativo_1_28; + this.ore_giustificativo_1_29 = data.ore_giustificativo_1_29; + this.ore_giustificativo_1_3 = data.ore_giustificativo_1_3; + this.ore_giustificativo_1_30 = data.ore_giustificativo_1_30; + this.ore_giustificativo_1_31 = data.ore_giustificativo_1_31; + this.ore_giustificativo_1_4 = data.ore_giustificativo_1_4; + this.ore_giustificativo_1_5 = data.ore_giustificativo_1_5; + this.ore_giustificativo_1_6 = data.ore_giustificativo_1_6; + this.ore_giustificativo_1_7 = data.ore_giustificativo_1_7; + this.ore_giustificativo_1_8 = data.ore_giustificativo_1_8; + this.ore_giustificativo_1_9 = data.ore_giustificativo_1_9; + this.ore_giustificativo_2_1 = data.ore_giustificativo_2_1; + this.ore_giustificativo_2_10 = data.ore_giustificativo_2_10; + this.ore_giustificativo_2_11 = data.ore_giustificativo_2_11; + this.ore_giustificativo_2_12 = data.ore_giustificativo_2_12; + this.ore_giustificativo_2_13 = data.ore_giustificativo_2_13; + this.ore_giustificativo_2_14 = data.ore_giustificativo_2_14; + this.ore_giustificativo_2_15 = data.ore_giustificativo_2_15; + this.ore_giustificativo_2_16 = data.ore_giustificativo_2_16; + this.ore_giustificativo_2_17 = data.ore_giustificativo_2_17; + this.ore_giustificativo_2_18 = data.ore_giustificativo_2_18; + this.ore_giustificativo_2_19 = data.ore_giustificativo_2_19; + this.ore_giustificativo_2_2 = data.ore_giustificativo_2_2; + this.ore_giustificativo_2_20 = data.ore_giustificativo_2_20; + this.ore_giustificativo_2_21 = data.ore_giustificativo_2_21; + this.ore_giustificativo_2_22 = data.ore_giustificativo_2_22; + this.ore_giustificativo_2_23 = data.ore_giustificativo_2_23; + this.ore_giustificativo_2_24 = data.ore_giustificativo_2_24; + this.ore_giustificativo_2_25 = data.ore_giustificativo_2_25; + this.ore_giustificativo_2_26 = data.ore_giustificativo_2_26; + this.ore_giustificativo_2_27 = data.ore_giustificativo_2_27; + this.ore_giustificativo_2_28 = data.ore_giustificativo_2_28; + this.ore_giustificativo_2_29 = data.ore_giustificativo_2_29; + this.ore_giustificativo_2_3 = data.ore_giustificativo_2_3; + this.ore_giustificativo_2_30 = data.ore_giustificativo_2_30; + this.ore_giustificativo_2_31 = data.ore_giustificativo_2_31; + this.ore_giustificativo_2_4 = data.ore_giustificativo_2_4; + this.ore_giustificativo_2_5 = data.ore_giustificativo_2_5; + this.ore_giustificativo_2_6 = data.ore_giustificativo_2_6; + this.ore_giustificativo_2_7 = data.ore_giustificativo_2_7; + this.ore_giustificativo_2_8 = data.ore_giustificativo_2_8; + this.ore_giustificativo_2_9 = data.ore_giustificativo_2_9; + this.ore_giustificativo_3_1 = data.ore_giustificativo_3_1; + this.ore_giustificativo_3_10 = data.ore_giustificativo_3_10; + this.ore_giustificativo_3_11 = data.ore_giustificativo_3_11; + this.ore_giustificativo_3_12 = data.ore_giustificativo_3_12; + this.ore_giustificativo_3_13 = data.ore_giustificativo_3_13; + this.ore_giustificativo_3_14 = data.ore_giustificativo_3_14; + this.ore_giustificativo_3_15 = data.ore_giustificativo_3_15; + this.ore_giustificativo_3_16 = data.ore_giustificativo_3_16; + this.ore_giustificativo_3_17 = data.ore_giustificativo_3_17; + this.ore_giustificativo_3_18 = data.ore_giustificativo_3_18; + this.ore_giustificativo_3_19 = data.ore_giustificativo_3_19; + this.ore_giustificativo_3_2 = data.ore_giustificativo_3_2; + this.ore_giustificativo_3_20 = data.ore_giustificativo_3_20; + this.ore_giustificativo_3_21 = data.ore_giustificativo_3_21; + this.ore_giustificativo_3_22 = data.ore_giustificativo_3_22; + this.ore_giustificativo_3_23 = data.ore_giustificativo_3_23; + this.ore_giustificativo_3_24 = data.ore_giustificativo_3_24; + this.ore_giustificativo_3_25 = data.ore_giustificativo_3_25; + this.ore_giustificativo_3_26 = data.ore_giustificativo_3_26; + this.ore_giustificativo_3_27 = data.ore_giustificativo_3_27; + this.ore_giustificativo_3_28 = data.ore_giustificativo_3_28; + this.ore_giustificativo_3_29 = data.ore_giustificativo_3_29; + this.ore_giustificativo_3_3 = data.ore_giustificativo_3_3; + this.ore_giustificativo_3_30 = data.ore_giustificativo_3_30; + this.ore_giustificativo_3_31 = data.ore_giustificativo_3_31; + this.ore_giustificativo_3_4 = data.ore_giustificativo_3_4; + this.ore_giustificativo_3_5 = data.ore_giustificativo_3_5; + this.ore_giustificativo_3_6 = data.ore_giustificativo_3_6; + this.ore_giustificativo_3_7 = data.ore_giustificativo_3_7; + this.ore_giustificativo_3_8 = data.ore_giustificativo_3_8; + this.ore_giustificativo_3_9 = data.ore_giustificativo_3_9; + this.ore_giustificativo_4_1 = data.ore_giustificativo_4_1; + this.ore_giustificativo_4_10 = data.ore_giustificativo_4_10; + this.ore_giustificativo_4_11 = data.ore_giustificativo_4_11; + this.ore_giustificativo_4_12 = data.ore_giustificativo_4_12; + this.ore_giustificativo_4_13 = data.ore_giustificativo_4_13; + this.ore_giustificativo_4_14 = data.ore_giustificativo_4_14; + this.ore_giustificativo_4_15 = data.ore_giustificativo_4_15; + this.ore_giustificativo_4_16 = data.ore_giustificativo_4_16; + this.ore_giustificativo_4_17 = data.ore_giustificativo_4_17; + this.ore_giustificativo_4_18 = data.ore_giustificativo_4_18; + this.ore_giustificativo_4_19 = data.ore_giustificativo_4_19; + this.ore_giustificativo_4_2 = data.ore_giustificativo_4_2; + this.ore_giustificativo_4_20 = data.ore_giustificativo_4_20; + this.ore_giustificativo_4_21 = data.ore_giustificativo_4_21; + this.ore_giustificativo_4_22 = data.ore_giustificativo_4_22; + this.ore_giustificativo_4_23 = data.ore_giustificativo_4_23; + this.ore_giustificativo_4_24 = data.ore_giustificativo_4_24; + this.ore_giustificativo_4_25 = data.ore_giustificativo_4_25; + this.ore_giustificativo_4_26 = data.ore_giustificativo_4_26; + this.ore_giustificativo_4_27 = data.ore_giustificativo_4_27; + this.ore_giustificativo_4_28 = data.ore_giustificativo_4_28; + this.ore_giustificativo_4_29 = data.ore_giustificativo_4_29; + this.ore_giustificativo_4_3 = data.ore_giustificativo_4_3; + this.ore_giustificativo_4_30 = data.ore_giustificativo_4_30; + this.ore_giustificativo_4_31 = data.ore_giustificativo_4_31; + this.ore_giustificativo_4_4 = data.ore_giustificativo_4_4; + this.ore_giustificativo_4_5 = data.ore_giustificativo_4_5; + this.ore_giustificativo_4_6 = data.ore_giustificativo_4_6; + this.ore_giustificativo_4_7 = data.ore_giustificativo_4_7; + this.ore_giustificativo_4_8 = data.ore_giustificativo_4_8; + this.ore_giustificativo_4_9 = data.ore_giustificativo_4_9; + this.ore_giustificativo_5_1 = data.ore_giustificativo_5_1; + this.ore_giustificativo_5_10 = data.ore_giustificativo_5_10; + this.ore_giustificativo_5_11 = data.ore_giustificativo_5_11; + this.ore_giustificativo_5_12 = data.ore_giustificativo_5_12; + this.ore_giustificativo_5_13 = data.ore_giustificativo_5_13; + this.ore_giustificativo_5_14 = data.ore_giustificativo_5_14; + this.ore_giustificativo_5_15 = data.ore_giustificativo_5_15; + this.ore_giustificativo_5_16 = data.ore_giustificativo_5_16; + this.ore_giustificativo_5_17 = data.ore_giustificativo_5_17; + this.ore_giustificativo_5_18 = data.ore_giustificativo_5_18; + this.ore_giustificativo_5_19 = data.ore_giustificativo_5_19; + this.ore_giustificativo_5_2 = data.ore_giustificativo_5_2; + this.ore_giustificativo_5_20 = data.ore_giustificativo_5_20; + this.ore_giustificativo_5_21 = data.ore_giustificativo_5_21; + this.ore_giustificativo_5_22 = data.ore_giustificativo_5_22; + this.ore_giustificativo_5_23 = data.ore_giustificativo_5_23; + this.ore_giustificativo_5_24 = data.ore_giustificativo_5_24; + this.ore_giustificativo_5_25 = data.ore_giustificativo_5_25; + this.ore_giustificativo_5_26 = data.ore_giustificativo_5_26; + this.ore_giustificativo_5_27 = data.ore_giustificativo_5_27; + this.ore_giustificativo_5_28 = data.ore_giustificativo_5_28; + this.ore_giustificativo_5_29 = data.ore_giustificativo_5_29; + this.ore_giustificativo_5_3 = data.ore_giustificativo_5_3; + this.ore_giustificativo_5_30 = data.ore_giustificativo_5_30; + this.ore_giustificativo_5_31 = data.ore_giustificativo_5_31; + this.ore_giustificativo_5_4 = data.ore_giustificativo_5_4; + this.ore_giustificativo_5_5 = data.ore_giustificativo_5_5; + this.ore_giustificativo_5_6 = data.ore_giustificativo_5_6; + this.ore_giustificativo_5_7 = data.ore_giustificativo_5_7; + this.ore_giustificativo_5_8 = data.ore_giustificativo_5_8; + this.ore_giustificativo_5_9 = data.ore_giustificativo_5_9; + this.ore_giustificativo_6_1 = data.ore_giustificativo_6_1; + this.ore_giustificativo_6_10 = data.ore_giustificativo_6_10; + this.ore_giustificativo_6_11 = data.ore_giustificativo_6_11; + this.ore_giustificativo_6_12 = data.ore_giustificativo_6_12; + this.ore_giustificativo_6_13 = data.ore_giustificativo_6_13; + this.ore_giustificativo_6_14 = data.ore_giustificativo_6_14; + this.ore_giustificativo_6_15 = data.ore_giustificativo_6_15; + this.ore_giustificativo_6_16 = data.ore_giustificativo_6_16; + this.ore_giustificativo_6_17 = data.ore_giustificativo_6_17; + this.ore_giustificativo_6_18 = data.ore_giustificativo_6_18; + this.ore_giustificativo_6_19 = data.ore_giustificativo_6_19; + this.ore_giustificativo_6_2 = data.ore_giustificativo_6_2; + this.ore_giustificativo_6_20 = data.ore_giustificativo_6_20; + this.ore_giustificativo_6_21 = data.ore_giustificativo_6_21; + this.ore_giustificativo_6_22 = data.ore_giustificativo_6_22; + this.ore_giustificativo_6_23 = data.ore_giustificativo_6_23; + this.ore_giustificativo_6_24 = data.ore_giustificativo_6_24; + this.ore_giustificativo_6_25 = data.ore_giustificativo_6_25; + this.ore_giustificativo_6_26 = data.ore_giustificativo_6_26; + this.ore_giustificativo_6_27 = data.ore_giustificativo_6_27; + this.ore_giustificativo_6_28 = data.ore_giustificativo_6_28; + this.ore_giustificativo_6_29 = data.ore_giustificativo_6_29; + this.ore_giustificativo_6_3 = data.ore_giustificativo_6_3; + this.ore_giustificativo_6_30 = data.ore_giustificativo_6_30; + this.ore_giustificativo_6_31 = data.ore_giustificativo_6_31; + this.ore_giustificativo_6_4 = data.ore_giustificativo_6_4; + this.ore_giustificativo_6_5 = data.ore_giustificativo_6_5; + this.ore_giustificativo_6_6 = data.ore_giustificativo_6_6; + this.ore_giustificativo_6_7 = data.ore_giustificativo_6_7; + this.ore_giustificativo_6_8 = data.ore_giustificativo_6_8; + this.ore_giustificativo_6_9 = data.ore_giustificativo_6_9; + this.sigliaRp = data.sigliaRp; + } +} + +export class RilpreParameter { + azienda?: string | null; + codJflav?: string | null; + dataFine?: Date | null; + dataIniz?: Date | null; + + constructor(data: RilpreParameter) { + this.azienda = data.azienda; + this.codJflav = data.codJflav; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + } +} + +export class RowBolleDTO { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + numDoc?: number | null; + serDoc?: string | null; + totOneri?: number | null; + + constructor(data: RowBolleDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.totOneri = data.totOneri; + } +} + +export class RowColliDTO { + dataCollo?: Date | null; + flagChiudiRiga?: string | null; + gestione?: string | null; + numCollo?: number | null; + serCollo?: string | null; + + constructor(data: RowColliDTO) { + this.dataCollo = data.dataCollo; + this.flagChiudiRiga = data.flagChiudiRiga; + this.gestione = data.gestione; + this.numCollo = data.numCollo; + this.serCollo = data.serCollo; + } +} + +export class RowDTO { + codArtFor?: string | null; + codMart?: string | null; + dataCons?: Date | null; + descrizione?: string | null; + dettagli?: string | null; + giacenza?: number | null; + note?: string | null; + numCnf?: number | null; + percAliq?: number | null; + qtaOmaggio?: number | null; + qtaOrd?: number | null; + qtaProposta?: number | null; + untOrd?: string | null; + valUnt?: number | null; + + constructor(data: RowDTO) { + this.codArtFor = data.codArtFor; + this.codMart = data.codMart; + this.dataCons = data.dataCons; + this.descrizione = data.descrizione; + this.dettagli = data.dettagli; + this.giacenza = data.giacenza; + this.note = data.note; + this.numCnf = data.numCnf; + this.percAliq = data.percAliq; + this.qtaOmaggio = data.qtaOmaggio; + this.qtaOrd = data.qtaOrd; + this.qtaProposta = data.qtaProposta; + this.untOrd = data.untOrd; + this.valUnt = data.valUnt; + } +} + +export class RowInventarioDTO { + codMdep?: string | null; + dataInventario?: Date | null; + dataOraInv?: Date | null; + filtro?: string | null; + idInventario?: number | null; + numRighe?: number | null; + profileDb?: string | null; + rowsCount?: number | null; + userName?: string | null; + + constructor(data: RowInventarioDTO) { + this.codMdep = data.codMdep; + this.dataInventario = data.dataInventario; + this.dataOraInv = data.dataOraInv; + this.filtro = data.filtro; + this.idInventario = data.idInventario; + this.numRighe = data.numRighe; + this.profileDb = data.profileDb; + this.rowsCount = data.rowsCount; + this.userName = data.userName; + } +} + +export class RowOrderDTO { + codCol?: string | null; + codMart?: string | null; + codTagl?: string | null; + qtaOrd?: number | null; + sconto?: number | null; + valUnt?: number | null; + + constructor(data: RowOrderDTO) { + this.codCol = data.codCol; + this.codMart = data.codMart; + this.codTagl = data.codTagl; + this.qtaOrd = data.qtaOrd; + this.sconto = data.sconto; + this.valUnt = data.valUnt; + } +} + +export class RowOrderEcommerceDTO { + DiscountPerc?: number | null; + FinalNetPrice?: number | null; + ItemID?: string | null; + NetPrice?: number | null; + Qty?: number | null; + + constructor(data: RowOrderEcommerceDTO) { + this.DiscountPerc = data.DiscountPerc; + this.FinalNetPrice = data.FinalNetPrice; + this.ItemID = data.ItemID; + this.NetPrice = data.NetPrice; + this.Qty = data.Qty; + } +} + +export class RowOrdiniDTO { + dataOrd?: Date | null; + dataScad?: Date | null; + gestione?: string | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaProd?: number | null; + rapConv?: number | null; + terminaLav?: string | null; + untMis?: string | null; + + constructor(data: RowOrdiniDTO) { + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaProd = data.qtaProd; + this.rapConv = data.rapConv; + this.terminaLav = data.terminaLav; + this.untMis = data.untMis; + } +} + +export interface Runnable { +} + +export class SM2MtbAartDTO { + altriBarCode?: string[] | null; + articoloComposto?: string | null; + barCode?: string | null; + cambioDiviCar?: number | null; + cambioDiviScar?: number | null; + codAliq?: string | null; + codCconCosti?: string | null; + codCconRicavi?: string | null; + codDgrpArt?: string | null; + codDiviCar?: string | null; + codDiviScar?: string | null; + codEcrCat?: string | null; + codEcrMcat?: string | null; + codEcrRep?: string | null; + codEcrStipo?: string | null; + codEcrTipo?: string | null; + codGrpBolla?: string | null; + codMart?: string | null; + codMartStat?: string | null; + codMcon?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + codNcIntracee?: string | null; + codScoArt?: string | null; + codTcolUI?: string | null; + codTcolUL?: string | null; + codUltClie?: string | null; + codUltForn?: string | null; + colliPedana?: number | null; + colliStrato?: number | null; + dataUltCar?: Date | null; + dataUltScar?: Date | null; + dataUltVar?: Date | null; + descrCassa?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + descrizioneStat?: string | null; + diacod?: string | null; + esposizioneComp?: string | null; + esposizioneCompAcq?: string | null; + flagCalcPrz?: string | null; + flagCalcPrzAcq?: string | null; + flagColliPedanaFisso?: string | null; + flagEsponiPrz?: string | null; + flagInclListino?: string | null; + flagKit?: string | null; + flagMovArtMag?: string | null; + flagQtaCnfFissa?: string | null; + flagRapConvVariabile?: string | null; + flagStato?: string | null; + flagTracciabilita?: string | null; + ggScadPartita?: number | null; + idArtEqui?: string | null; + ingredienti?: string | null; + marchio?: string | null; + note?: string | null; + partIvaProd?: string | null; + percSfrido?: number | null; + pesoKg?: number | null; + plu?: string | null; + posizione?: string | null; + qtaCnf?: number | null; + ragSocProd?: string | null; + rapConv2?: number | null; + rapConv3?: number | null; + sezione?: number | null; + taraKg?: number | null; + tipoCodice?: string | null; + untMis?: string | null; + untMis2?: string | null; + untMis3?: string | null; + valUltCar?: number | null; + valUltScar?: number | null; + volumeMc?: number | null; + + constructor(data: SM2MtbAartDTO) { + this.altriBarCode = data.altriBarCode; + this.articoloComposto = data.articoloComposto; + this.barCode = data.barCode; + this.cambioDiviCar = data.cambioDiviCar; + this.cambioDiviScar = data.cambioDiviScar; + this.codAliq = data.codAliq; + this.codCconCosti = data.codCconCosti; + this.codCconRicavi = data.codCconRicavi; + this.codDgrpArt = data.codDgrpArt; + this.codDiviCar = data.codDiviCar; + this.codDiviScar = data.codDiviScar; + this.codEcrCat = data.codEcrCat; + this.codEcrMcat = data.codEcrMcat; + this.codEcrRep = data.codEcrRep; + this.codEcrStipo = data.codEcrStipo; + this.codEcrTipo = data.codEcrTipo; + this.codGrpBolla = data.codGrpBolla; + this.codMart = data.codMart; + this.codMartStat = data.codMartStat; + this.codMcon = data.codMcon; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.codNcIntracee = data.codNcIntracee; + this.codScoArt = data.codScoArt; + this.codTcolUI = data.codTcolUI; + this.codTcolUL = data.codTcolUL; + this.codUltClie = data.codUltClie; + this.codUltForn = data.codUltForn; + this.colliPedana = data.colliPedana; + this.colliStrato = data.colliStrato; + this.dataUltCar = data.dataUltCar; + this.dataUltScar = data.dataUltScar; + this.dataUltVar = data.dataUltVar; + this.descrCassa = data.descrCassa; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.descrizioneStat = data.descrizioneStat; + this.diacod = data.diacod; + this.esposizioneComp = data.esposizioneComp; + this.esposizioneCompAcq = data.esposizioneCompAcq; + this.flagCalcPrz = data.flagCalcPrz; + this.flagCalcPrzAcq = data.flagCalcPrzAcq; + this.flagColliPedanaFisso = data.flagColliPedanaFisso; + this.flagEsponiPrz = data.flagEsponiPrz; + this.flagInclListino = data.flagInclListino; + this.flagKit = data.flagKit; + this.flagMovArtMag = data.flagMovArtMag; + this.flagQtaCnfFissa = data.flagQtaCnfFissa; + this.flagRapConvVariabile = data.flagRapConvVariabile; + this.flagStato = data.flagStato; + this.flagTracciabilita = data.flagTracciabilita; + this.ggScadPartita = data.ggScadPartita; + this.idArtEqui = data.idArtEqui; + this.ingredienti = data.ingredienti; + this.marchio = data.marchio; + this.note = data.note; + this.partIvaProd = data.partIvaProd; + this.percSfrido = data.percSfrido; + this.pesoKg = data.pesoKg; + this.plu = data.plu; + this.posizione = data.posizione; + this.qtaCnf = data.qtaCnf; + this.ragSocProd = data.ragSocProd; + this.rapConv2 = data.rapConv2; + this.rapConv3 = data.rapConv3; + this.sezione = data.sezione; + this.taraKg = data.taraKg; + this.tipoCodice = data.tipoCodice; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + this.valUltCar = data.valUltCar; + this.valUltScar = data.valUltScar; + this.volumeMc = data.volumeMc; + } +} + +export class SM2OrdineBancaleDTO { + citta?: string | null; + codAnag?: string | null; + codMdep?: string | null; + codVdes?: string | null; + data?: Date | null; + descrizionePagamento?: string | null; + destinatario?: string | null; + gestione?: string | null; + gestioneRif?: string | null; + indirizzo?: string | null; + numero?: number | null; + ordini?: SM2OrdineSingoloDTO[] | null; + provincia?: string | null; + ragSoc?: string | null; + rifOrd?: string | null; + saldoContabile?: number | null; + termCons?: string | null; + + constructor(data: SM2OrdineBancaleDTO) { + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codMdep = data.codMdep; + this.codVdes = data.codVdes; + this.data = data.data; + this.descrizionePagamento = data.descrizionePagamento; + this.destinatario = data.destinatario; + this.gestione = data.gestione; + this.gestioneRif = data.gestioneRif; + this.indirizzo = data.indirizzo; + this.numero = data.numero; + this.ordini = data.ordini; + this.provincia = data.provincia; + this.ragSoc = data.ragSoc; + this.rifOrd = data.rifOrd; + this.saldoContabile = data.saldoContabile; + this.termCons = data.termCons; + } +} + +export class SM2OrdineBancaleSQLDTO { + codMart?: string | null; + codMdep?: string | null; + qtaEvasa?: number | null; + qtaOrd?: number | null; + ragSoc?: string | null; + rigaOrd?: number | null; + + constructor(data: SM2OrdineBancaleSQLDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.qtaEvasa = data.qtaEvasa; + this.qtaOrd = data.qtaOrd; + this.ragSoc = data.ragSoc; + this.rigaOrd = data.rigaOrd; + } +} + +export class SM2OrdineSingoloColloVDTO { + codJcom?: string | null; + codMdep?: string | null; + dataCollo?: Date | null; + dataOrd?: Date | null; + numCollo?: number | null; + numOrd?: number | null; + qtaOrd?: number | null; + serCollo?: string | null; + + constructor(data: SM2OrdineSingoloColloVDTO) { + this.codJcom = data.codJcom; + this.codMdep = data.codMdep; + this.dataCollo = data.dataCollo; + this.dataOrd = data.dataOrd; + this.numCollo = data.numCollo; + this.numOrd = data.numOrd; + this.qtaOrd = data.qtaOrd; + this.serCollo = data.serCollo; + } +} + +export class SM2OrdineSingoloDTO { + codAlis?: string | null; + codArtFor?: string | null; + codJcom?: string | null; + confDaEvadere?: number | null; + confDisp?: number | null; + confEvasa?: number | null; + confOrd?: number | null; + confRiservate?: number | null; + dataCollo?: Date | null; + dataCons?: Date | null; + descrizioneCommessa?: string | null; + descrizioneEstesa?: string | null; + idViaggio?: number | null; + mtbAart?: SM2MtbAartDTO | null; + note?: string | null; + numCollo?: number | null; + partitaMag?: string | null; + qtaDaEvadere?: number | null; + qtaDisp?: number | null; + qtaEvasa?: number | null; + qtaOrd?: number | null; + qtaRiservate?: number | null; + ragSocCom?: string | null; + rigaOrd?: number | null; + serCollo?: string | null; + untOrd?: string | null; + + constructor(data: SM2OrdineSingoloDTO) { + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codJcom = data.codJcom; + this.confDaEvadere = data.confDaEvadere; + this.confDisp = data.confDisp; + this.confEvasa = data.confEvasa; + this.confOrd = data.confOrd; + this.confRiservate = data.confRiservate; + this.dataCollo = data.dataCollo; + this.dataCons = data.dataCons; + this.descrizioneCommessa = data.descrizioneCommessa; + this.descrizioneEstesa = data.descrizioneEstesa; + this.idViaggio = data.idViaggio; + this.mtbAart = data.mtbAart; + this.note = data.note; + this.numCollo = data.numCollo; + this.partitaMag = data.partitaMag; + this.qtaDaEvadere = data.qtaDaEvadere; + this.qtaDisp = data.qtaDisp; + this.qtaEvasa = data.qtaEvasa; + this.qtaOrd = data.qtaOrd; + this.qtaRiservate = data.qtaRiservate; + this.ragSocCom = data.ragSocCom; + this.rigaOrd = data.rigaOrd; + this.serCollo = data.serCollo; + this.untOrd = data.untOrd; + } +} + +export class SQLException extends Exception implements Iterable { + errorCode?: number | null; + nextException?: SQLException | null; + sqlstate?: string | null; + + constructor(data: SQLException) { + super(data); + this.errorCode = data.errorCode; + this.nextException = data.nextException; + this.sqlstate = data.sqlstate; + } +} + +export class SQLWarning extends SQLException { + nextWarning?: SQLWarning | null; + + constructor(data: SQLWarning) { + super(data); + this.nextWarning = data.nextWarning; + } +} + +export class SaveArticoloRequestDTO { + artToSave?: ArticoloDTO | null; + + constructor(data: SaveArticoloRequestDTO) { + this.artToSave = data.artToSave; + } +} + +export class SaveArticoloResponseDTO { + codMart?: string | null; + + constructor(data: SaveArticoloResponseDTO) { + this.codMart = data.codMart; + } +} + +export class SaveDTO { + annotazioni?: string | null; + codDtip?: string | null; + codMdep?: string | null; + colloDTO?: ColloDTO | null; + gestione?: string | null; + idDisp?: string | null; + idInventario?: number | null; + inventarioDTO?: InventarioDTO | null; + listCreate?: Date | null; + ordineDTO?: OrdineDTO | null; + segno?: string | null; + zona?: string | null; + + constructor(data: SaveDTO) { + this.annotazioni = data.annotazioni; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.colloDTO = data.colloDTO; + this.gestione = data.gestione; + this.idDisp = data.idDisp; + this.idInventario = data.idInventario; + this.inventarioDTO = data.inventarioDTO; + this.listCreate = data.listCreate; + this.ordineDTO = data.ordineDTO; + this.segno = data.segno; + this.zona = data.zona; + } +} + +export class SaveNewVerificaRequestDTO { + data?: VerificaGiacenzeDTO | null; + + constructor(data: SaveNewVerificaRequestDTO) { + this.data = data.data; + } +} + +export class SaveOrdineAcquistoRequestDTO { + + constructor(data: SaveOrdineAcquistoRequestDTO) { + } +} + +export class SaveProductionPlanDTO { + codAnag?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codJflav?: string | null; + codMdep?: string | null; + codMdepOrdProd?: string | null; + codProd?: string | null; + codTcolUl?: string | null; + codVdes?: string | null; + colliPedana?: number | null; + dataOrd?: Date | null; + descrPartita?: string | null; + descrizioneProd?: string | null; + note?: string | null; + noteRiga?: string | null; + numOrdL?: number | null; + partitaMagProd?: string | null; + partite?: SaveProductionPlanPartiteDTO[] | null; + piani?: PianoDto[] | null; + qtaProd?: number | null; + rapConvProd?: number | null; + untMisProd?: string | null; + + constructor(data: SaveProductionPlanDTO) { + this.codAnag = data.codAnag; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codJflav = data.codJflav; + this.codMdep = data.codMdep; + this.codMdepOrdProd = data.codMdepOrdProd; + this.codProd = data.codProd; + this.codTcolUl = data.codTcolUl; + this.codVdes = data.codVdes; + this.colliPedana = data.colliPedana; + this.dataOrd = data.dataOrd; + this.descrPartita = data.descrPartita; + this.descrizioneProd = data.descrizioneProd; + this.note = data.note; + this.noteRiga = data.noteRiga; + this.numOrdL = data.numOrdL; + this.partitaMagProd = data.partitaMagProd; + this.partite = data.partite; + this.piani = data.piani; + this.qtaProd = data.qtaProd; + this.rapConvProd = data.rapConvProd; + this.untMisProd = data.untMisProd; + } +} + +export class SaveProductionPlanPartiteDTO { + codMart?: string | null; + idArtEqui?: string | null; + partitaMag?: string | null; + + constructor(data: SaveProductionPlanPartiteDTO) { + this.codMart = data.codMart; + this.idArtEqui = data.idArtEqui; + this.partitaMag = data.partitaMag; + } +} + +export class ScarMPDaDistFilterDTO implements Serializable { + cod_anag?: string | null; + cod_dtip?: string | null; + cod_mdep?: string | null; + data_doc?: Date | null; + flag_genera_singolo_mov?: string | null; + flag_sviluppa_da_ordine?: string | null; + flag_sviluppa_solo_primo_livello?: string | null; + where_cond?: string | null; + + constructor(data: ScarMPDaDistFilterDTO) { + this.cod_anag = data.cod_anag; + this.cod_dtip = data.cod_dtip; + this.cod_mdep = data.cod_mdep; + this.data_doc = data.data_doc; + this.flag_genera_singolo_mov = data.flag_genera_singolo_mov; + this.flag_sviluppa_da_ordine = data.flag_sviluppa_da_ordine; + this.flag_sviluppa_solo_primo_livello = data.flag_sviluppa_solo_primo_livello; + this.where_cond = data.where_cond; + } +} + +export class ScarichiArticoloDTO { + codMart?: string | null; + qtaScaricata?: number | null; + scarichi?: MtbColr[] | null; + + constructor(data: ScarichiArticoloDTO) { + this.codMart = data.codMart; + this.qtaScaricata = data.qtaScaricata; + this.scarichi = data.scarichi; + } +} + +export class ScaricoLavorazioneDTO { + activityId?: string | null; + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + dataVersamento?: Date | null; + numCnf?: number | null; + numDoc?: number | null; + qtaProd?: number | null; + scaricoDaCollo?: boolean | null; + serDoc?: string | null; + + constructor(data: ScaricoLavorazioneDTO) { + this.activityId = data.activityId; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.dataVersamento = data.dataVersamento; + this.numCnf = data.numCnf; + this.numDoc = data.numDoc; + this.qtaProd = data.qtaProd; + this.scaricoDaCollo = data.scaricoDaCollo; + this.serDoc = data.serDoc; + } +} + +export class ScaricoLavorazioneLicorDTO { + codDtip?: string | null; + codMdep?: string | null; + creaScaricoDaCollo?: boolean | null; + effettuaScaricoMateriali?: boolean | null; + listaArticoli?: MtbColr[] | null; + + constructor(data: ScaricoLavorazioneLicorDTO) { + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.creaScaricoDaCollo = data.creaScaricoDaCollo; + this.effettuaScaricoMateriali = data.effettuaScaricoMateriali; + this.listaArticoli = data.listaArticoli; + } +} + +export class ScaricoMateriaPrimaDTO { + codCmac?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codProd?: string | null; + dataOrd?: Date | null; + gestioneOrd?: string | null; + numOrd?: number | null; + posizione?: string | null; + quantity?: number | null; + serCollo?: string | null; + + constructor(data: ScaricoMateriaPrimaDTO) { + this.codCmac = data.codCmac; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.dataOrd = data.dataOrd; + this.gestioneOrd = data.gestioneOrd; + this.numOrd = data.numOrd; + this.posizione = data.posizione; + this.quantity = data.quantity; + this.serCollo = data.serCollo; + } +} + +export class ScaricoMateriaPrimaDaColloDTO { + codMart?: string | null; + codMdep?: string | null; + createNewUl?: boolean | null; + idLotto?: number | null; + order?: DtbOrdr | null; + partitaMag?: string | null; + quantity?: number | null; + sourceUl?: MtbColt | null; + + constructor(data: ScaricoMateriaPrimaDaColloDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.createNewUl = data.createNewUl; + this.idLotto = data.idLotto; + this.order = data.order; + this.partitaMag = data.partitaMag; + this.quantity = data.quantity; + this.sourceUl = data.sourceUl; + } +} + +export class ScaricoMateriaPrimaDaOrdineDTO { + codCmac?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codProd?: string | null; + dataOrd?: Date | null; + gestioneOrd?: string | null; + numOrd?: number | null; + posizioni?: string[] | null; + quantity?: number | null; + + constructor(data: ScaricoMateriaPrimaDaOrdineDTO) { + this.codCmac = data.codCmac; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.dataOrd = data.dataOrd; + this.gestioneOrd = data.gestioneOrd; + this.numOrd = data.numOrd; + this.posizioni = data.posizioni; + this.quantity = data.quantity; + } +} + +export class SchedaCostiDTO { + categoria?: string | null; + codMart?: string | null; + codMsgr?: string | null; + costoUnit?: number | null; + datiListino?: string | null; + descrCosto?: string | null; + groupCateg?: number | null; + qtaProd?: number | null; + qualificatore?: string | null; + sort?: number | null; + sortCateg?: number | null; + tipoCalcolo?: string | null; + tipoMgrp?: string | null; + untMis?: string | null; + valore?: number | null; + + constructor(data: SchedaCostiDTO) { + this.categoria = data.categoria; + this.codMart = data.codMart; + this.codMsgr = data.codMsgr; + this.costoUnit = data.costoUnit; + this.datiListino = data.datiListino; + this.descrCosto = data.descrCosto; + this.groupCateg = data.groupCateg; + this.qtaProd = data.qtaProd; + this.qualificatore = data.qualificatore; + this.sort = data.sort; + this.sortCateg = data.sortCateg; + this.tipoCalcolo = data.tipoCalcolo; + this.tipoMgrp = data.tipoMgrp; + this.untMis = data.untMis; + this.valore = data.valore; + } +} + +export class SearchActivityDTO { + activityDescription?: string | null; + activityId?: string | null; + codJcom?: string | null; + keywords?: string[] | null; + + constructor(data: SearchActivityDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.codJcom = data.codJcom; + this.keywords = data.keywords; + } +} + +export class SearchArtFromEanResponseDTO { + codMart?: string | null; + dataProd?: Date | null; + dataScad?: Date | null; + descrizione?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + qtaCnf?: number | null; + qtaCol?: number | null; + untMis?: string | null; + + constructor(data: SearchArtFromEanResponseDTO) { + this.codMart = data.codMart; + this.dataProd = data.dataProd; + this.dataScad = data.dataScad; + this.descrizione = data.descrizione; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.qtaCnf = data.qtaCnf; + this.qtaCol = data.qtaCol; + this.untMis = data.untMis; + } +} + +export class SearchArticoloByBarcodeOrCodMartRequestDTO { + codMartOrBarcode?: string | null; + + constructor(data: SearchArticoloByBarcodeOrCodMartRequestDTO) { + this.codMartOrBarcode = data.codMartOrBarcode; + } +} + +export class SearchArticoloByBarcodeOrCodMartResponseDTO { + mtbAart?: MtbAart | null; + numCnfEsistente?: number | null; + numCnfImpegnata?: number | null; + qtaEsistente?: number | null; + qtaImpegnata?: number | null; + + constructor(data: SearchArticoloByBarcodeOrCodMartResponseDTO) { + this.mtbAart = data.mtbAart; + this.numCnfEsistente = data.numCnfEsistente; + this.numCnfImpegnata = data.numCnfImpegnata; + this.qtaEsistente = data.qtaEsistente; + this.qtaImpegnata = data.qtaImpegnata; + } +} + +export class SearchArticoloByBarcodeRequestDTO { + barcode?: string | null; + onlyActive?: boolean | null; + + constructor(data: SearchArticoloByBarcodeRequestDTO) { + this.barcode = data.barcode; + this.onlyActive = data.onlyActive; + } +} + +export class SearchArticoloByBarcodeResponseDTO { + arts?: MtbAart[] | null; + + constructor(data: SearchArticoloByBarcodeResponseDTO) { + this.arts = data.arts; + } +} + +export class SearchArticoloByCodArtFornOrDescrizioneRequestDTO { + codAlis?: string | null; + codArtFornOrDescrizione?: string | null; + + constructor(data: SearchArticoloByCodArtFornOrDescrizioneRequestDTO) { + this.codAlis = data.codAlis; + this.codArtFornOrDescrizione = data.codArtFornOrDescrizione; + } +} + +export class SearchArticoloByCodArtFornOrDescrizioneResponseDTO { + codArtFor?: string | null; + mtbAart?: MtbAart | null; + + constructor(data: SearchArticoloByCodArtFornOrDescrizioneResponseDTO) { + this.codArtFor = data.codArtFor; + this.mtbAart = data.mtbAart; + } +} + +export class SemaforoDTO implements Serializable { + cod_col?: string | null; + val?: number | null; + + constructor(data: SemaforoDTO) { + this.cod_col = data.cod_col; + this.val = data.val; + } +} + +export class SendFpxRequestDTO { + documents?: string | null; + emailSdi?: string | null; + fromEmailSdi?: string | null; + sendType?: FpxSendType | null; + + constructor(data: SendFpxRequestDTO) { + this.documents = data.documents; + this.emailSdi = data.emailSdi; + this.fromEmailSdi = data.fromEmailSdi; + this.sendType = data.sendType; + } +} + +export interface Serializable { +} + +export class ServiceCallAutomatedOperationDTO extends BaseScheduledOperationDTO { + body?: string | null; + methodName?: string | null; + methodType?: RequestMethod | null; + password?: string | null; + profileDb?: string | null; + queryParams?: string | null; + username?: string | null; + + constructor(data: ServiceCallAutomatedOperationDTO) { + super(data); + this.body = data.body; + this.methodName = data.methodName; + this.methodType = data.methodType; + this.password = data.password; + this.profileDb = data.profileDb; + this.queryParams = data.queryParams; + this.username = data.username; + } +} + +export class ServiceRestResponse { + dto?: any | null; + entity?: EntityBase | null; + entityList?: EntityBase[] | null; + errorCode?: number | null; + errorMessage?: string | null; + esito?: EsitoType | null; + execDate?: Date | null; + genericList?: any[] | null; + messages?: ResponseMessageDTO[] | null; + messagesFromAnomalie?: AnomalieDTO[] | null; + operationType?: OperationType | null; + profileDB?: string | null; + report?: FileItem | null; + xml?: FileItem | null; + xmlString?: string | null; + + constructor(data: ServiceRestResponse) { + this.dto = data.dto; + this.entity = data.entity; + this.entityList = data.entityList; + this.errorCode = data.errorCode; + this.errorMessage = data.errorMessage; + this.esito = data.esito; + this.execDate = data.execDate; + this.genericList = data.genericList; + this.messages = data.messages; + this.messagesFromAnomalie = data.messagesFromAnomalie; + this.operationType = data.operationType; + this.profileDB = data.profileDB; + this.report = data.report; + this.xml = data.xml; + this.xmlString = data.xmlString; + } +} + +export class SesSepDTO implements Cloneable { + azione?: string | null; + barCode?: string | null; + codMart?: string | null; + dataFinePromo?: string | null; + dateFormat?: string | null; + descrizione?: string | null; + indicativoPrzBase_fedelta?: string | null; + inidcativaPuntiFedelta?: string | null; + numberFormat?: string | null; + przBase_fedelta?: string | null; + przUntita?: string | null; + przVend?: string | null; + puntiFedelta?: string | null; + sconto?: string | null; + simboloFedelta?: string | null; + simboloPromo?: string | null; + simboloUnita?: string | null; + treXdue?: string | null; + + constructor(data: SesSepDTO) { + this.azione = data.azione; + this.barCode = data.barCode; + this.codMart = data.codMart; + this.dataFinePromo = data.dataFinePromo; + this.dateFormat = data.dateFormat; + this.descrizione = data.descrizione; + this.indicativoPrzBase_fedelta = data.indicativoPrzBase_fedelta; + this.inidcativaPuntiFedelta = data.inidcativaPuntiFedelta; + this.numberFormat = data.numberFormat; + this.przBase_fedelta = data.przBase_fedelta; + this.przUntita = data.przUntita; + this.przVend = data.przVend; + this.puntiFedelta = data.puntiFedelta; + this.sconto = data.sconto; + this.simboloFedelta = data.simboloFedelta; + this.simboloPromo = data.simboloPromo; + this.simboloUnita = data.simboloUnita; + this.treXdue = data.treXdue; + } +} + +export class SettingsDTO { + initialWeekDay?: WeekDayEnum | null; + + constructor(data: SettingsDTO) { + this.initialWeekDay = data.initialWeekDay; + } +} + +export class ShippingAddressDTO { + Address?: string | null; + AddressId?: string | null; + City?: string | null; + CountryCode?: string | null; + Name?: string | null; + PostalCode?: string | null; + + constructor(data: ShippingAddressDTO) { + this.Address = data.Address; + this.AddressId = data.AddressId; + this.City = data.City; + this.CountryCode = data.CountryCode; + this.Name = data.Name; + this.PostalCode = data.PostalCode; + } +} + +export class SicilianiDMSFileni { + codAnag?: string | null; + codMart?: string | null; + colli?: number | null; + dataBolla?: Date | null; + numBolla?: number | null; + qtaKG?: number | null; + serDoc?: string | null; + + constructor(data: SicilianiDMSFileni) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.colli = data.colli; + this.dataBolla = data.dataBolla; + this.numBolla = data.numBolla; + this.qtaKG = data.qtaKG; + this.serDoc = data.serDoc; + } +} + +export class SignFpxDTO { + password?: string | null; + pathFile?: string[] | null; + type?: DigitalSignatureType | null; + + constructor(data: SignFpxDTO) { + this.password = data.password; + this.pathFile = data.pathFile; + this.type = data.type; + } +} + +export class SitArtOrdAccettazioneDTO { + codAlis?: string | null; + codAnagCom?: string | null; + codAnagOrd?: string | null; + codArtFor?: string | null; + codCol?: string | null; + codJcom?: string | null; + codMart?: string | null; + codMdep?: string | null; + codTagl?: string | null; + dataCons?: Date | null; + dataOrd?: Date | null; + descrizioneCommessa?: string | null; + descrizioneEstesaArt?: string | null; + descrizioneEstesaOrd?: string | null; + gestione?: string | null; + numCnfDaEvadere?: number | null; + numCnfEvasaOrd?: number | null; + numCnfOrd?: number | null; + numOrd?: number | null; + qtaCnfOrd?: number | null; + qtaDaEvadere?: number | null; + qtaEvasa?: number | null; + qtaOrd?: number | null; + qtaRiservata?: number | null; + ragSocCom?: string | null; + ragSocOrd?: string | null; + rifOrd?: string | null; + rigaOrd?: number | null; + termCons?: string | null; + untOrd?: string | null; + + constructor(data: SitArtOrdAccettazioneDTO) { + this.codAlis = data.codAlis; + this.codAnagCom = data.codAnagCom; + this.codAnagOrd = data.codAnagOrd; + this.codArtFor = data.codArtFor; + this.codCol = data.codCol; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTagl = data.codTagl; + this.dataCons = data.dataCons; + this.dataOrd = data.dataOrd; + this.descrizioneCommessa = data.descrizioneCommessa; + this.descrizioneEstesaArt = data.descrizioneEstesaArt; + this.descrizioneEstesaOrd = data.descrizioneEstesaOrd; + this.gestione = data.gestione; + this.numCnfDaEvadere = data.numCnfDaEvadere; + this.numCnfEvasaOrd = data.numCnfEvasaOrd; + this.numCnfOrd = data.numCnfOrd; + this.numOrd = data.numOrd; + this.qtaCnfOrd = data.qtaCnfOrd; + this.qtaDaEvadere = data.qtaDaEvadere; + this.qtaEvasa = data.qtaEvasa; + this.qtaOrd = data.qtaOrd; + this.qtaRiservata = data.qtaRiservata; + this.ragSocCom = data.ragSocCom; + this.ragSocOrd = data.ragSocOrd; + this.rifOrd = data.rifOrd; + this.rigaOrd = data.rigaOrd; + this.termCons = data.termCons; + this.untOrd = data.untOrd; + } +} + +export class SitArtOrdDTO implements Cloneable { + codAlis?: string | null; + codArtFor?: string | null; + codCol?: string | null; + codJcom?: string | null; + codMart?: string | null; + codMdep?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codTagl?: string | null; + descrizioneMgrp?: string | null; + descrizioneMsfa?: string | null; + descrizioneMsgr?: string | null; + flagEnablePickManuale?: boolean | null; + flagEnableScanArt?: boolean | null; + idViaggio?: string | null; + numCnfOrd?: number | null; + partitaMag?: string | null; + qtaArrivo?: number | null; + qtaCnf?: number | null; + qtaCnfOrd?: number | null; + qtaOmg?: number | null; + qtaOrd?: number | null; + untOrd?: string | null; + + constructor(data: SitArtOrdDTO) { + this.codAlis = data.codAlis; + this.codArtFor = data.codArtFor; + this.codCol = data.codCol; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codTagl = data.codTagl; + this.descrizioneMgrp = data.descrizioneMgrp; + this.descrizioneMsfa = data.descrizioneMsfa; + this.descrizioneMsgr = data.descrizioneMsgr; + this.flagEnablePickManuale = data.flagEnablePickManuale; + this.flagEnableScanArt = data.flagEnableScanArt; + this.idViaggio = data.idViaggio; + this.numCnfOrd = data.numCnfOrd; + this.partitaMag = data.partitaMag; + this.qtaArrivo = data.qtaArrivo; + this.qtaCnf = data.qtaCnf; + this.qtaCnfOrd = data.qtaCnfOrd; + this.qtaOmg = data.qtaOmg; + this.qtaOrd = data.qtaOrd; + this.untOrd = data.untOrd; + } +} + +export class SitBollaAccettazioneDTO { + codArtFor?: string | null; + codDtip?: string | null; + codMart?: string | null; + componente?: boolean | null; + dataDoc?: Date | null; + kit?: boolean | null; + numCnfAccettata?: number | null; + numCnfDaAccettare?: number | null; + numCnfDoc?: number | null; + numDoc?: number | null; + partitaMag?: string | null; + qtaAccettata?: number | null; + qtaCnfDoc?: number | null; + qtaDaAccettare?: number | null; + qtaDoc?: number | null; + serDoc?: string | null; + + constructor(data: SitBollaAccettazioneDTO) { + this.codArtFor = data.codArtFor; + this.codDtip = data.codDtip; + this.codMart = data.codMart; + this.componente = data.componente; + this.dataDoc = data.dataDoc; + this.kit = data.kit; + this.numCnfAccettata = data.numCnfAccettata; + this.numCnfDaAccettare = data.numCnfDaAccettare; + this.numCnfDoc = data.numCnfDoc; + this.numDoc = data.numDoc; + this.partitaMag = data.partitaMag; + this.qtaAccettata = data.qtaAccettata; + this.qtaCnfDoc = data.qtaCnfDoc; + this.qtaDaAccettare = data.qtaDaAccettare; + this.qtaDoc = data.qtaDoc; + this.serDoc = data.serDoc; + } +} + +export class SocialWebBACDTO { + codice_macchina?: string | null; + data_consegna?: string | null; + descrizione?: string | null; + matricola?: string | null; + tipo_cessione?: string | null; + + constructor(data: SocialWebBACDTO) { + this.codice_macchina = data.codice_macchina; + this.data_consegna = data.data_consegna; + this.descrizione = data.descrizione; + this.matricola = data.matricola; + this.tipo_cessione = data.tipo_cessione; + } +} + +export class SocialWebDMACDTO { + codice_macchina?: string | null; + matricola?: string | null; + + constructor(data: SocialWebDMACDTO) { + this.codice_macchina = data.codice_macchina; + this.matricola = data.matricola; + } +} + +export class SocialwareResponse { + error?: string | null; + success?: boolean | null; + + constructor(data: SocialwareResponse) { + this.error = data.error; + this.success = data.success; + } +} + +export class SospesiClienteDTO { + assegni?: boolean | null; + carte?: boolean | null; + codAnag?: string | null; + codDtip?: string | null; + codVage?: string | null; + codVdes?: string | null; + codVvet?: string | null; + contanti?: boolean | null; + dataDoc?: Date | null; + dataScad?: Date | null; + impSospeso?: number | null; + importoPagato?: number | null; + numDoc?: number | null; + serDoc?: string | null; + tipoPaga?: string | null; + + constructor(data: SospesiClienteDTO) { + this.assegni = data.assegni; + this.carte = data.carte; + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVage = data.codVage; + this.codVdes = data.codVdes; + this.codVvet = data.codVvet; + this.contanti = data.contanti; + this.dataDoc = data.dataDoc; + this.dataScad = data.dataScad; + this.impSospeso = data.impSospeso; + this.importoPagato = data.importoPagato; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.tipoPaga = data.tipoPaga; + } +} + +export class SpeseDTO { + codSpesa?: string | null; + descrizione?: string | null; + importo?: number | null; + + constructor(data: SpeseDTO) { + this.codSpesa = data.codSpesa; + this.descrizione = data.descrizione; + this.importo = data.importo; + } +} + +export class SpostaArtDaPosizioneInPosizioneRequestDTO { + codMart?: string | null; + codMdep?: string | null; + numCnfToMove?: number | null; + partitaMag?: string | null; + posizioneDest?: string | null; + posizioneSource?: string | null; + qtaCnfToMove?: number | null; + qtaToMove?: number | null; + + constructor(data: SpostaArtDaPosizioneInPosizioneRequestDTO) { + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.numCnfToMove = data.numCnfToMove; + this.partitaMag = data.partitaMag; + this.posizioneDest = data.posizioneDest; + this.posizioneSource = data.posizioneSource; + this.qtaCnfToMove = data.qtaCnfToMove; + this.qtaToMove = data.qtaToMove; + } +} + +export class SpostaArtInPosizioneRequestDTO { + codMdep?: string | null; + mtbColrToMove?: MtbColr | null; + numCnfToMove?: number | null; + posizione?: string | null; + qtaCnfToMove?: number | null; + qtaToMove?: number | null; + + constructor(data: SpostaArtInPosizioneRequestDTO) { + this.codMdep = data.codMdep; + this.mtbColrToMove = data.mtbColrToMove; + this.numCnfToMove = data.numCnfToMove; + this.posizione = data.posizione; + this.qtaCnfToMove = data.qtaCnfToMove; + this.qtaToMove = data.qtaToMove; + } +} + +export class SpostaArtsTraULRequestDTO { + destinationMtbColt?: MtbColt | null; + flagForceUseRefs?: boolean | null; + sourceMtbColt?: MtbColt | null; + + constructor(data: SpostaArtsTraULRequestDTO) { + this.destinationMtbColt = data.destinationMtbColt; + this.flagForceUseRefs = data.flagForceUseRefs; + this.sourceMtbColt = data.sourceMtbColt; + } +} + +export class SpostaArtsTraULResponseDTO { + generatedMtbColr?: MtbColr[] | null; + + constructor(data: SpostaArtsTraULResponseDTO) { + this.generatedMtbColr = data.generatedMtbColr; + } +} + +export class SpostaUlRequestDTO { + annotazioni?: string | null; + codMdep?: string | null; + createDocAutomatically?: boolean | null; + mtbColtsToMove?: MtbColt[] | null; + posizione?: string | null; + + constructor(data: SpostaUlRequestDTO) { + this.annotazioni = data.annotazioni; + this.codMdep = data.codMdep; + this.createDocAutomatically = data.createDocAutomatically; + this.mtbColtsToMove = data.mtbColtsToMove; + this.posizione = data.posizione; + } +} + +export interface SqlField extends Annotation { +} + +export class SqlObjectDTO { + definition?: string | null; + name?: string | null; + type?: SqlObjectTypeEnum | null; + + constructor(data: SqlObjectDTO) { + this.definition = data.definition; + this.name = data.name; + this.type = data.type; + } +} + +export class SrlActivityPlanUser extends EntityBase { + planId?: number | null; + type: "srl_activity_plan_user"; + userName?: string | null; + + constructor(data: SrlActivityPlanUser) { + super(data); + this.planId = data.planId; + this.userName = data.userName; + } +} + +export class SrlActivityType extends EntityBase { + activityTypeId?: string | null; + activityTypeIdNext?: string | null; + flagTipologia?: string | null; + flagTipologiaNext?: string | null; + type: "srl_activity_type"; + + constructor(data: SrlActivityType) { + super(data); + this.activityTypeId = data.activityTypeId; + this.activityTypeIdNext = data.activityTypeIdNext; + this.flagTipologia = data.flagTipologia; + this.flagTipologiaNext = data.flagTipologiaNext; + } +} + +export class SrlActivityTypeUser extends EntityBase { + activityTypeId?: string | null; + flagTipologia?: string | null; + type: "srl_activity_type_user"; + userName?: string | null; + + constructor(data: SrlActivityTypeUser) { + super(data); + this.activityTypeId = data.activityTypeId; + this.flagTipologia = data.flagTipologia; + this.userName = data.userName; + } +} + +export class SrlActivityUsers extends EntityBase { + activityId?: string | null; + type: "srl_activity_users"; + userName?: string | null; + + constructor(data: SrlActivityUsers) { + super(data); + this.activityId = data.activityId; + this.userName = data.userName; + } +} + +export class SrlUser extends EntityBase { + flagAzione?: string | null; + type: "srl_user"; + userName1?: string | null; + userName2?: string | null; + + constructor(data: SrlUser) { + super(data); + this.flagAzione = data.flagAzione; + this.userName1 = data.userName1; + this.userName2 = data.userName2; + } +} + +export class SrlUserAttached extends EntityBase { + idAttach?: string | null; + type: "srl_user_attached"; + userName?: string | null; + + constructor(data: SrlUserAttached) { + super(data); + this.idAttach = data.idAttach; + this.userName = data.userName; + } +} + +export class StackTraceElement implements Serializable { + className?: string | null; + fileName?: string | null; + lineNumber?: number | null; + methodName?: string | null; + nativeMethod?: boolean | null; + + constructor(data: StackTraceElement) { + this.className = data.className; + this.fileName = data.fileName; + this.lineNumber = data.lineNumber; + this.methodName = data.methodName; + this.nativeMethod = data.nativeMethod; + } +} + +export class StampaInventarioDTO { + barcode?: string | null; + codMart?: string | null; + codMdep?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + dataInventario?: string | null; + descrArt?: string | null; + descrDepo?: string | null; + descrMgrp?: string | null; + descrMsfa?: string | null; + descrMsgr?: string | null; + idInventario?: number | null; + untMis?: string | null; + + constructor(data: StampaInventarioDTO) { + this.barcode = data.barcode; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.dataInventario = data.dataInventario; + this.descrArt = data.descrArt; + this.descrDepo = data.descrDepo; + this.descrMgrp = data.descrMgrp; + this.descrMsfa = data.descrMsfa; + this.descrMsgr = data.descrMsgr; + this.idInventario = data.idInventario; + this.untMis = data.untMis; + } +} + +export class StampaSchedaCostiDTO { + categoria?: string | null; + codMart?: string | null; + codVlis?: string | null; + costoUnit?: number | null; + dataIniz?: Date | null; + descrArt?: string | null; + descrCosto?: string | null; + descrLisv?: string | null; + descrizioneGruppo?: string | null; + gruppo?: number | null; + idCategoria?: number | null; + note?: string | null; + perc?: number | null; + przVend?: number | null; + przVendKg?: number | null; + qtaProd?: number | null; + sort?: number | null; + untMis?: string | null; + untMisVen?: string | null; + valore?: number | null; + + constructor(data: StampaSchedaCostiDTO) { + this.categoria = data.categoria; + this.codMart = data.codMart; + this.codVlis = data.codVlis; + this.costoUnit = data.costoUnit; + this.dataIniz = data.dataIniz; + this.descrArt = data.descrArt; + this.descrCosto = data.descrCosto; + this.descrLisv = data.descrLisv; + this.descrizioneGruppo = data.descrizioneGruppo; + this.gruppo = data.gruppo; + this.idCategoria = data.idCategoria; + this.note = data.note; + this.perc = data.perc; + this.przVend = data.przVend; + this.przVendKg = data.przVendKg; + this.qtaProd = data.qtaProd; + this.sort = data.sort; + this.untMis = data.untMis; + this.untMisVen = data.untMisVen; + this.valore = data.valore; + } +} + +export interface Statement extends Wrapper, AutoCloseable { + closeOnCompletion?: boolean | null; + closed?: boolean | null; + connection?: Connection | null; + fetchDirection?: number | null; + fetchSize?: number | null; + generatedKeys?: ResultSet | null; + largeMaxRows?: number | null; + largeUpdateCount?: number | null; + maxFieldSize?: number | null; + maxRows?: number | null; + moreResults?: boolean | null; + poolable?: boolean | null; + queryTimeout?: number | null; + resultSet?: ResultSet | null; + resultSetConcurrency?: number | null; + resultSetHoldability?: number | null; + resultSetType?: number | null; + updateCount?: number | null; + warnings?: SQLWarning | null; +} + +export class StatoAnagraficaDTO implements Serializable { + espAnnua?: number | null; + ggMediEsp?: number | null; + lineeVendute?: StatoAnagrafica_LineeVenduteDTO[] | null; + saldo?: number | null; + statoSped?: number | null; + + constructor(data: StatoAnagraficaDTO) { + this.espAnnua = data.espAnnua; + this.ggMediEsp = data.ggMediEsp; + this.lineeVendute = data.lineeVendute; + this.saldo = data.saldo; + this.statoSped = data.statoSped; + } +} + +export class StatoAnagrafica_LineeVenduteDTO implements Serializable { + codDgrpArt?: string | null; + codJcom?: string | null; + descrDgrpArt?: string | null; + totImporto?: number | null; + totQta?: number | null; + + constructor(data: StatoAnagrafica_LineeVenduteDTO) { + this.codDgrpArt = data.codDgrpArt; + this.codJcom = data.codJcom; + this.descrDgrpArt = data.descrDgrpArt; + this.totImporto = data.totImporto; + this.totQta = data.totQta; + } +} + +export class StatoArtInventarioDTO { + codProd?: string | null; + colliArrivo?: number | null; + colliLinea?: number | null; + colliMag?: number | null; + colliProd?: number | null; + dataOrd?: Date | null; + numOrd?: number | null; + pedArrivo?: number | null; + pedLinea?: number | null; + pedMag?: number | null; + pedProd?: number | null; + qtaInArrivo?: number | null; + qtaLinea?: number | null; + qtaMag?: number | null; + qtaProd?: number | null; + untMis?: string | null; + + constructor(data: StatoArtInventarioDTO) { + this.codProd = data.codProd; + this.colliArrivo = data.colliArrivo; + this.colliLinea = data.colliLinea; + this.colliMag = data.colliMag; + this.colliProd = data.colliProd; + this.dataOrd = data.dataOrd; + this.numOrd = data.numOrd; + this.pedArrivo = data.pedArrivo; + this.pedLinea = data.pedLinea; + this.pedMag = data.pedMag; + this.pedProd = data.pedProd; + this.qtaInArrivo = data.qtaInArrivo; + this.qtaLinea = data.qtaLinea; + this.qtaMag = data.qtaMag; + this.qtaProd = data.qtaProd; + this.untMis = data.untMis; + } +} + +export class StatoArticoloDTO { + codMart?: string | null; + dataScad?: Date | null; + ggMax?: number | null; + ggScadEffettivi?: number | null; + ggScadPartita?: number | null; + ggUtili?: number | null; + partitaMag?: string | null; + statoArt?: number | null; + + constructor(data: StatoArticoloDTO) { + this.codMart = data.codMart; + this.dataScad = data.dataScad; + this.ggMax = data.ggMax; + this.ggScadEffettivi = data.ggScadEffettivi; + this.ggScadPartita = data.ggScadPartita; + this.ggUtili = data.ggUtili; + this.partitaMag = data.partitaMag; + this.statoArt = data.statoArt; + } +} + +export class StatoEventiMacchinaDTO { + codCmac?: string | null; + evento?: string | null; + lastMovDate?: string | null; + sumEventi?: number | null; + value?: number | null; + + constructor(data: StatoEventiMacchinaDTO) { + this.codCmac = data.codCmac; + this.evento = data.evento; + this.lastMovDate = data.lastMovDate; + this.sumEventi = data.sumEventi; + this.value = data.value; + } +} + +export class StbAbil extends EntityBase { + codOpz?: string | null; + flagAbil?: string | null; + gestName?: string | null; + type: "stb_abil"; + userName?: string | null; + + constructor(data: StbAbil) { + super(data); + this.codOpz = data.codOpz; + this.flagAbil = data.flagAbil; + this.gestName = data.gestName; + this.userName = data.userName; + } +} + +export class StbActivity extends EntityBase { + activityDescription?: string | null; + activityEvent?: string | null; + activityId?: string | null; + activityPlayCounter?: number | null; + activityResult?: string | null; + activityResultId?: string | null; + activityType?: string | null; + activityTypeId?: string | null; + alarmDate?: Date | null; + alarmTime?: Date | null; + codAnag?: string | null; + codCmac?: string | null; + codJcom?: string | null; + codJfas?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codVdes?: string | null; + dataInsAct?: Date | null; + dataOrd?: Date | null; + dtbOrdt?: DtbOrdt | null; + effectiveDate?: Date | null; + effectiveEnddate?: Date | null; + effectiveEndtime?: Date | null; + effectiveTime?: Date | null; + estimatedDate?: Date | null; + estimatedEnddate?: Date | null; + estimatedEndtime?: Date | null; + estimatedHours?: number | null; + estimatedTime?: Date | null; + flagRisolto?: string | null; + flagTipologia?: string | null; + gestione?: string | null; + guarantee?: string | null; + hrNum?: number | null; + idLotto?: number | null; + idRiga?: number | null; + idStep?: number | null; + indiceGradimento?: number | null; + jtbRLavt?: JtbRLavt[] | null; + matricola?: string | null; + note?: string | null; + noteGradimento?: string | null; + numOrd?: number | null; + oraInsAct?: Date | null; + oraModAct?: Date | null; + oraViewAct?: Date | null; + oreRapportino?: number | null; + parentActivity?: StbActivity | null; + parentActivityId?: string | null; + partitaMag?: string | null; + percComp?: number | null; + personaRif?: string | null; + planId?: number | null; + priorita?: number | null; + resultDescription?: string | null; + rfid?: string | null; + srlActivityUsers?: SrlActivityUsers[] | null; + stbActivity?: StbActivity[] | null; + stbActivityCosts?: StbActivityCosts[] | null; + stbActivityFile?: StbActivityFile[] | null; + stbActivityNotification?: StbActivityNotification[] | null; + stbActivityPublications?: StbActivityPublications[] | null; + stbActivityTags?: StbActivityTags[] | null; + tipoAnag?: string | null; + type: "stb_activity"; + userCreator?: string | null; + userModifier?: string | null; + userName?: string | null; + wrikeId?: string | null; + + constructor(data: StbActivity) { + super(data); + this.activityDescription = data.activityDescription; + this.activityEvent = data.activityEvent; + this.activityId = data.activityId; + this.activityPlayCounter = data.activityPlayCounter; + this.activityResult = data.activityResult; + this.activityResultId = data.activityResultId; + this.activityType = data.activityType; + this.activityTypeId = data.activityTypeId; + this.alarmDate = data.alarmDate; + this.alarmTime = data.alarmTime; + this.codAnag = data.codAnag; + this.codCmac = data.codCmac; + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codVdes = data.codVdes; + this.dataInsAct = data.dataInsAct; + this.dataOrd = data.dataOrd; + this.dtbOrdt = data.dtbOrdt; + this.effectiveDate = data.effectiveDate; + this.effectiveEnddate = data.effectiveEnddate; + this.effectiveEndtime = data.effectiveEndtime; + this.effectiveTime = data.effectiveTime; + this.estimatedDate = data.estimatedDate; + this.estimatedEnddate = data.estimatedEnddate; + this.estimatedEndtime = data.estimatedEndtime; + this.estimatedHours = data.estimatedHours; + this.estimatedTime = data.estimatedTime; + this.flagRisolto = data.flagRisolto; + this.flagTipologia = data.flagTipologia; + this.gestione = data.gestione; + this.guarantee = data.guarantee; + this.hrNum = data.hrNum; + this.idLotto = data.idLotto; + this.idRiga = data.idRiga; + this.idStep = data.idStep; + this.indiceGradimento = data.indiceGradimento; + this.jtbRLavt = data.jtbRLavt; + this.matricola = data.matricola; + this.note = data.note; + this.noteGradimento = data.noteGradimento; + this.numOrd = data.numOrd; + this.oraInsAct = data.oraInsAct; + this.oraModAct = data.oraModAct; + this.oraViewAct = data.oraViewAct; + this.oreRapportino = data.oreRapportino; + this.parentActivity = data.parentActivity; + this.parentActivityId = data.parentActivityId; + this.partitaMag = data.partitaMag; + this.percComp = data.percComp; + this.personaRif = data.personaRif; + this.planId = data.planId; + this.priorita = data.priorita; + this.resultDescription = data.resultDescription; + this.rfid = data.rfid; + this.srlActivityUsers = data.srlActivityUsers; + this.stbActivity = data.stbActivity; + this.stbActivityCosts = data.stbActivityCosts; + this.stbActivityFile = data.stbActivityFile; + this.stbActivityNotification = data.stbActivityNotification; + this.stbActivityPublications = data.stbActivityPublications; + this.stbActivityTags = data.stbActivityTags; + this.tipoAnag = data.tipoAnag; + this.userCreator = data.userCreator; + this.userModifier = data.userModifier; + this.userName = data.userName; + this.wrikeId = data.wrikeId; + } +} + +export class StbActivityCheck extends EntityBase { + codJcom?: string | null; + controllatoData?: string | null; + dataChk?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + id?: number | null; + type: "stb_activity_check"; + + constructor(data: StbActivityCheck) { + super(data); + this.codJcom = data.codJcom; + this.controllatoData = data.controllatoData; + this.dataChk = data.dataChk; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.id = data.id; + } +} + +export class StbActivityCosts extends EntityBase { + activityId?: string | null; + codDivi?: string | null; + codSpes?: string | null; + descrizione?: string | null; + idRiga?: number | null; + qta?: number | null; + type: "stb_activity_costs"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: StbActivityCosts) { + super(data); + this.activityId = data.activityId; + this.codDivi = data.codDivi; + this.codSpes = data.codSpes; + this.descrizione = data.descrizione; + this.idRiga = data.idRiga; + this.qta = data.qta; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class StbActivityEmailObject { + attachments?: StbActivityEmailObjectAttachment[] | null; + body?: string | null; + bodyInBase64?: boolean | null; + cc?: any[] | null; + dateTimeCreated?: Date | null; + dateTimeModified?: Date | null; + from?: StbActivityEmailObjectAddress | null; + subject?: string | null; + to?: StbActivityEmailObjectAddress[] | null; + + constructor(data: StbActivityEmailObject) { + this.attachments = data.attachments; + this.body = data.body; + this.bodyInBase64 = data.bodyInBase64; + this.cc = data.cc; + this.dateTimeCreated = data.dateTimeCreated; + this.dateTimeModified = data.dateTimeModified; + this.from = data.from; + this.subject = data.subject; + this.to = data.to; + } +} + +export class StbActivityEmailObjectAddress { + displayName?: string | null; + emailAddress?: string | null; + recipientType?: string | null; + + constructor(data: StbActivityEmailObjectAddress) { + this.displayName = data.displayName; + this.emailAddress = data.emailAddress; + this.recipientType = data.recipientType; + } +} + +export class StbActivityEmailObjectAttachment { + attachmentType?: string | null; + content?: StbActivityEmailObjectAttachmentContent | null; + contentType?: string | null; + id?: string | null; + inline?: boolean | null; + name?: string | null; + size?: number | null; + + constructor(data: StbActivityEmailObjectAttachment) { + this.attachmentType = data.attachmentType; + this.content = data.content; + this.contentType = data.contentType; + this.id = data.id; + this.inline = data.inline; + this.name = data.name; + this.size = data.size; + } +} + +export class StbActivityEmailObjectAttachmentContent { + content?: string | null; + format?: string | null; + + constructor(data: StbActivityEmailObjectAttachmentContent) { + this.content = data.content; + this.format = data.format; + } +} + +export class StbActivityFile extends EntityBase { + content?: any | null; + descrizione?: string | null; + fileName?: string | null; + id?: string | null; + lastUpd?: Date | null; + modello?: string | null; + originalSize?: number | null; + thumbnail?: any | null; + type: "stb_activity_file"; + + constructor(data: StbActivityFile) { + super(data); + this.content = data.content; + this.descrizione = data.descrizione; + this.fileName = data.fileName; + this.id = data.id; + this.lastUpd = data.lastUpd; + this.modello = data.modello; + this.originalSize = data.originalSize; + this.thumbnail = data.thumbnail; + } +} + +export class StbActivityFileModels extends EntityBase { + descrizione?: string | null; + estensione?: string | null; + modello?: string | null; + path?: string | null; + type: "stb_activity_file_models"; + + constructor(data: StbActivityFileModels) { + super(data); + this.descrizione = data.descrizione; + this.estensione = data.estensione; + this.modello = data.modello; + this.path = data.path; + } +} + +export class StbActivityNotification extends EntityBase { + activityId?: string | null; + notificationDate?: Date | null; + notificationNote?: string | null; + notificationType?: string | null; + type: "stb_activity_notification"; + userName?: string | null; + + constructor(data: StbActivityNotification) { + super(data); + this.activityId = data.activityId; + this.notificationDate = data.notificationDate; + this.notificationNote = data.notificationNote; + this.notificationType = data.notificationType; + this.userName = data.userName; + } +} + +export class StbActivityPlan extends EntityBase { + action?: string | null; + active?: boolean | null; + activityTypeId?: string | null; + allDay?: boolean | null; + endTime?: Date | null; + firstOccurrence?: Date | null; + flagTipologia?: string | null; + id?: number | null; + lastOccurrence?: Date | null; + maxRepetitions?: number | null; + periodicityFrequency?: number | null; + periodicityType?: Periodicity | null; + recurrenceRule?: string | null; + repeatable?: boolean | null; + srlActivityPlanUser?: SrlActivityPlanUser[] | null; + startTime?: Date | null; + type: "stb_activity_plan"; + + constructor(data: StbActivityPlan) { + super(data); + this.action = data.action; + this.active = data.active; + this.activityTypeId = data.activityTypeId; + this.allDay = data.allDay; + this.endTime = data.endTime; + this.firstOccurrence = data.firstOccurrence; + this.flagTipologia = data.flagTipologia; + this.id = data.id; + this.lastOccurrence = data.lastOccurrence; + this.maxRepetitions = data.maxRepetitions; + this.periodicityFrequency = data.periodicityFrequency; + this.periodicityType = data.periodicityType; + this.recurrenceRule = data.recurrenceRule; + this.repeatable = data.repeatable; + this.srlActivityPlanUser = data.srlActivityPlanUser; + this.startTime = data.startTime; + } +} + +export class StbActivityPublications extends EntityBase { + activityId?: string | null; + codJcom?: string | null; + customActivityDescription?: string | null; + customProjectDescription?: string | null; + dataPub?: Date | null; + id?: number | null; + type: "stb_activity_publications"; + + constructor(data: StbActivityPublications) { + super(data); + this.activityId = data.activityId; + this.codJcom = data.codJcom; + this.customActivityDescription = data.customActivityDescription; + this.customProjectDescription = data.customProjectDescription; + this.dataPub = data.dataPub; + this.id = data.id; + } +} + +export class StbActivityResulr extends EntityBase { + activityResultDescription?: string | null; + activityResultId?: string | null; + type: "stb_activity_resultr"; + + constructor(data: StbActivityResulr) { + super(data); + this.activityResultDescription = data.activityResultDescription; + this.activityResultId = data.activityResultId; + } +} + +export class StbActivityResult extends EntityBase { + activityResultId?: string | null; + flagActivityResult?: number | null; + flagAttivo?: string | null; + flagInsertActivity?: string | null; + flagInvioNotifica?: string | null; + flagSaveRapLav?: string | null; + flagStatoAttivita?: string | null; + pathIcona?: string | null; + stbActivityResulr?: StbActivityResulr[] | null; + type: "stb_activity_result"; + + constructor(data: StbActivityResult) { + super(data); + this.activityResultId = data.activityResultId; + this.flagActivityResult = data.flagActivityResult; + this.flagAttivo = data.flagAttivo; + this.flagInsertActivity = data.flagInsertActivity; + this.flagInvioNotifica = data.flagInvioNotifica; + this.flagSaveRapLav = data.flagSaveRapLav; + this.flagStatoAttivita = data.flagStatoAttivita; + this.pathIcona = data.pathIcona; + this.stbActivityResulr = data.stbActivityResulr; + } +} + +export class StbActivityTags extends EntityBase { + activityId?: string | null; + activityTag?: string | null; + id?: number | null; + type: "stb_activity_tags"; + + constructor(data: StbActivityTags) { + super(data); + this.activityId = data.activityId; + this.activityTag = data.activityTag; + this.id = data.id; + } +} + +export class StbActivityType extends EntityBase { + activityTypeId?: string | null; + codJfas?: string | null; + estimatedDuration?: number | null; + flagAttiva?: string | null; + flagGenerateMov?: string | null; + flagSal?: string | null; + flagSetAlarm?: string | null; + flagTipologia?: string | null; + flagViewCalendar?: boolean | null; + linkGest?: string | null; + srlActivityTypeUser?: SrlActivityTypeUser[] | null; + stbActivityTyper?: StbActivityTyper[] | null; + type: "stb_activity_type"; + userName?: string | null; + + constructor(data: StbActivityType) { + super(data); + this.activityTypeId = data.activityTypeId; + this.codJfas = data.codJfas; + this.estimatedDuration = data.estimatedDuration; + this.flagAttiva = data.flagAttiva; + this.flagGenerateMov = data.flagGenerateMov; + this.flagSal = data.flagSal; + this.flagSetAlarm = data.flagSetAlarm; + this.flagTipologia = data.flagTipologia; + this.flagViewCalendar = data.flagViewCalendar; + this.linkGest = data.linkGest; + this.srlActivityTypeUser = data.srlActivityTypeUser; + this.stbActivityTyper = data.stbActivityTyper; + this.userName = data.userName; + } +} + +export class StbActivityTypeScore extends EntityBase { + activityTypeId?: string | null; + codCluster?: string | null; + codJfas?: string | null; + flagTipologia?: string | null; + id?: number | null; + stbActivityTypeScoreR?: StbActivityTypeScoreR[] | null; + type: "stb_activity_type_score"; + + constructor(data: StbActivityTypeScore) { + super(data); + this.activityTypeId = data.activityTypeId; + this.codCluster = data.codCluster; + this.codJfas = data.codJfas; + this.flagTipologia = data.flagTipologia; + this.id = data.id; + this.stbActivityTypeScoreR = data.stbActivityTypeScoreR; + } +} + +export class StbActivityTypeScoreR extends EntityBase { + id?: number | null; + idScore?: number | null; + numAnomalie?: number | null; + score?: number | null; + type: "stb_activity_type_score_r"; + + constructor(data: StbActivityTypeScoreR) { + super(data); + this.id = data.id; + this.idScore = data.idScore; + this.numAnomalie = data.numAnomalie; + this.score = data.score; + } +} + +export class StbActivityTyper extends EntityBase { + activityTypeDescription?: string | null; + activityTypeId?: string | null; + flagTipologia?: string | null; + idRiga?: number | null; + type: "stb_activity_typer"; + + constructor(data: StbActivityTyper) { + super(data); + this.activityTypeDescription = data.activityTypeDescription; + this.activityTypeId = data.activityTypeId; + this.flagTipologia = data.flagTipologia; + this.idRiga = data.idRiga; + } +} + +export class StbAuthToken extends EntityBase { + accessToken?: string | null; + deviceId?: number | null; + expiryDate?: Date | null; + id?: number | null; + refreshToken?: string | null; + type: "stb_auth_tokens"; + userName?: string | null; + + constructor(data: StbAuthToken) { + super(data); + this.accessToken = data.accessToken; + this.deviceId = data.deviceId; + this.expiryDate = data.expiryDate; + this.id = data.id; + this.refreshToken = data.refreshToken; + this.userName = data.userName; + } +} + +export class StbCalrOreGg extends EntityBase { + codCal?: string | null; + flagTipoOra?: string | null; + idRiga?: number | null; + ora?: Date | null; + type: "stb_calr_ore_gg"; + + constructor(data: StbCalrOreGg) { + super(data); + this.codCal = data.codCal; + this.flagTipoOra = data.flagTipoOra; + this.idRiga = data.idRiga; + this.ora = data.ora; + } +} + +export class StbCalt extends EntityBase { + codCal?: string | null; + descrizione?: string | null; + stbCalrOreGg?: StbCalrOreGg[] | null; + type: "stb_calt"; + + constructor(data: StbCalt) { + super(data); + this.codCal = data.codCal; + this.descrizione = data.descrizione; + this.stbCalrOreGg = data.stbCalrOreGg; + } +} + +export class StbDevices extends EntityBase { + createdAt?: Date | null; + id?: number | null; + identificationId?: string | null; + lastUse?: Date | null; + name?: string | null; + type: "stb_devices"; + + constructor(data: StbDevices) { + super(data); + this.createdAt = data.createdAt; + this.id = data.id; + this.identificationId = data.identificationId; + this.lastUse = data.lastUse; + this.name = data.name; + } +} + +export class StbEditLimit extends EntityBase { + displayOnly?: string | null; + duplicate?: string | null; + dwColname?: string | null; + dwColtype?: string | null; + dwName?: string | null; + dwValue?: string | null; + enabled?: string | null; + gestName?: string | null; + limit?: number | null; + required?: string | null; + type: "stb_edit_limit"; + userName?: string | null; + visible?: string | null; + + constructor(data: StbEditLimit) { + super(data); + this.displayOnly = data.displayOnly; + this.duplicate = data.duplicate; + this.dwColname = data.dwColname; + this.dwColtype = data.dwColtype; + this.dwName = data.dwName; + this.dwValue = data.dwValue; + this.enabled = data.enabled; + this.gestName = data.gestName; + this.limit = data.limit; + this.required = data.required; + this.userName = data.userName; + this.visible = data.visible; + } +} + +export class StbEmail extends EntityBase { + authentication?: string | null; + cryptPassword?: string | null; + eMail?: string | null; + flagDefault?: string | null; + flagDefaultContabilita?: string | null; + idRiga?: number | null; + imap?: string | null; + imapPort?: string | null; + password?: string | null; + port?: string | null; + smtp?: string | null; + ssl?: string | null; + type: "stb_email"; + userName?: string | null; + + constructor(data: StbEmail) { + super(data); + this.authentication = data.authentication; + this.cryptPassword = data.cryptPassword; + this.eMail = data.eMail; + this.flagDefault = data.flagDefault; + this.flagDefaultContabilita = data.flagDefaultContabilita; + this.idRiga = data.idRiga; + this.imap = data.imap; + this.imapPort = data.imapPort; + this.password = data.password; + this.port = data.port; + this.smtp = data.smtp; + this.ssl = data.ssl; + this.userName = data.userName; + } +} + +export class StbEmailContent extends EntityBase { + dataInvio?: Date | null; + dataRicezione?: Date | null; + direzione?: string | null; + emailContent?: string | null; + emailContentByteArr?: any | null; + fileSize?: number | null; + idEmail?: number | null; + mittente?: string | null; + oggetto?: string | null; + type: "stb_email_content"; + + constructor(data: StbEmailContent) { + super(data); + this.dataInvio = data.dataInvio; + this.dataRicezione = data.dataRicezione; + this.direzione = data.direzione; + this.emailContent = data.emailContent; + this.emailContentByteArr = data.emailContentByteArr; + this.fileSize = data.fileSize; + this.idEmail = data.idEmail; + this.mittente = data.mittente; + this.oggetto = data.oggetto; + } +} + +export class StbEmailRecovery extends EntityBase { + attachments?: string | null; + cc?: string | null; + ccn?: string | null; + dataIns?: Date | null; + fromMail?: string | null; + msgtext?: string | null; + subject?: string | null; + toMail?: string | null; + type: "stb_email_recovery"; + + constructor(data: StbEmailRecovery) { + super(data); + this.attachments = data.attachments; + this.cc = data.cc; + this.ccn = data.ccn; + this.dataIns = data.dataIns; + this.fromMail = data.fromMail; + this.msgtext = data.msgtext; + this.subject = data.subject; + this.toMail = data.toMail; + } +} + +export class StbExchangeConfig extends EntityBase { + createdAt?: Date | null; + description?: string | null; + externalProfileDb?: string | null; + id?: number | null; + internalProfileDb?: string | null; + lastExecution?: Date | null; + lastExecutionErrorMessage?: string | null; + schedulationCron?: string | null; + stbExchangeConfigDetail?: StbExchangeConfigDetail[] | null; + type: "stb_exchange_config"; + + constructor(data: StbExchangeConfig) { + super(data); + this.createdAt = data.createdAt; + this.description = data.description; + this.externalProfileDb = data.externalProfileDb; + this.id = data.id; + this.internalProfileDb = data.internalProfileDb; + this.lastExecution = data.lastExecution; + this.lastExecutionErrorMessage = data.lastExecutionErrorMessage; + this.schedulationCron = data.schedulationCron; + this.stbExchangeConfigDetail = data.stbExchangeConfigDetail; + } +} + +export class StbExchangeConfigDetail extends EntityBase { + configType?: number | null; + executionOrder?: number | null; + id?: number | null; + stbExchangeConfigId?: number | null; + type: "stb_exchange_config_detail"; + + constructor(data: StbExchangeConfigDetail) { + super(data); + this.configType = data.configType; + this.executionOrder = data.executionOrder; + this.id = data.id; + this.stbExchangeConfigId = data.stbExchangeConfigId; + } +} + +export class StbFilesAttached extends EntityBase { + arlListDataAttach?: ArlListDataAttach | null; + arlOfftAttach?: ArlOfftAttach | null; + codAlis?: string | null; + content?: any | null; + crlAmacManutenzioniFiles?: CrlAmacManutenzioniFiles | null; + crlMovAttached?: CrlMovAttached | null; + ctbAmacHistory?: CtbAmacHistory | null; + datetimeAttach?: Date | null; + description?: string | null; + drlDocAttached?: DrlDocAttached | null; + drlOrdAttached?: DrlOrdAttached | null; + fileName?: string | null; + fileSize?: number | null; + flagLock?: string | null; + grlAnagNoteFiles?: GrlAnagNoteFiles | null; + idAttach?: string | null; + idElo?: number | null; + mimeType?: string | null; + mrlPartitaMagAttached?: MrlPartitaMagAttached | null; + mrlSartAttached?: MrlSartAttached | null; + numCmov?: number | null; + parentIdAttach?: string | null; + refUuid?: string | null; + srlUserAttached?: SrlUserAttached | null; + thumbnailContent?: any | null; + type: "stb_files_attached"; + typeAttach?: TypeAttach | null; + userName?: string | null; + versione?: number | null; + wtbNotificationImage?: WtbNotificationImage | null; + + constructor(data: StbFilesAttached) { + super(data); + this.arlListDataAttach = data.arlListDataAttach; + this.arlOfftAttach = data.arlOfftAttach; + this.codAlis = data.codAlis; + this.content = data.content; + this.crlAmacManutenzioniFiles = data.crlAmacManutenzioniFiles; + this.crlMovAttached = data.crlMovAttached; + this.ctbAmacHistory = data.ctbAmacHistory; + this.datetimeAttach = data.datetimeAttach; + this.description = data.description; + this.drlDocAttached = data.drlDocAttached; + this.drlOrdAttached = data.drlOrdAttached; + this.fileName = data.fileName; + this.fileSize = data.fileSize; + this.flagLock = data.flagLock; + this.grlAnagNoteFiles = data.grlAnagNoteFiles; + this.idAttach = data.idAttach; + this.idElo = data.idElo; + this.mimeType = data.mimeType; + this.mrlPartitaMagAttached = data.mrlPartitaMagAttached; + this.mrlSartAttached = data.mrlSartAttached; + this.numCmov = data.numCmov; + this.parentIdAttach = data.parentIdAttach; + this.refUuid = data.refUuid; + this.srlUserAttached = data.srlUserAttached; + this.thumbnailContent = data.thumbnailContent; + this.typeAttach = data.typeAttach; + this.userName = data.userName; + this.versione = data.versione; + this.wtbNotificationImage = data.wtbNotificationImage; + } +} + +export class StbFilesSharingRules extends EntityBase { + idRules?: number | null; + note?: string | null; + pathFile?: string | null; + rulesAction?: string | null; + rulesEntity?: string | null; + rulesSql?: string | null; + type: "stb_files_sharing_rules"; + + constructor(data: StbFilesSharingRules) { + super(data); + this.idRules = data.idRules; + this.note = data.note; + this.pathFile = data.pathFile; + this.rulesAction = data.rulesAction; + this.rulesEntity = data.rulesEntity; + this.rulesSql = data.rulesSql; + } +} + +export class StbFilterDf extends EntityBase { + objectEnabled?: string | null; + objectName?: string | null; + objectValue?: string | null; + objectVisible?: boolean | null; + type: "stb_filter_df"; + userName?: string | null; + windowName?: string | null; + + constructor(data: StbFilterDf) { + super(data); + this.objectEnabled = data.objectEnabled; + this.objectName = data.objectName; + this.objectValue = data.objectValue; + this.objectVisible = data.objectVisible; + this.userName = data.userName; + this.windowName = data.windowName; + } +} + +export class StbGestDf extends EntityBase { + type: "stb_gest_df"; + userName?: string | null; + whereCondUser?: string | null; + windowName?: string | null; + + constructor(data: StbGestDf) { + super(data); + this.userName = data.userName; + this.whereCondUser = data.whereCondUser; + this.windowName = data.windowName; + } +} + +export class StbGestSetup extends EntityBase { + codQuery?: string | null; + dataModifica?: Date | null; + description?: string | null; + flagMultiValue?: boolean | null; + flagSetupDepo?: string | null; + flagSetupUserWeb?: string | null; + flagSync?: string | null; + flagTipoColore?: string | null; + flagTipoJson?: string | null; + flagUserView?: string | null; + gestName?: string | null; + keySection?: string | null; + modificatoDa?: string | null; + queryDefault?: string | null; + section?: string | null; + stbGestSetupDet?: StbGestSetupDet[] | null; + stbGestSetupQuery?: StbGestSetupQuery | null; + tipoSetup?: string | null; + type: "stb_gest_setup"; + value?: string | null; + + constructor(data: StbGestSetup) { + super(data); + this.codQuery = data.codQuery; + this.dataModifica = data.dataModifica; + this.description = data.description; + this.flagMultiValue = data.flagMultiValue; + this.flagSetupDepo = data.flagSetupDepo; + this.flagSetupUserWeb = data.flagSetupUserWeb; + this.flagSync = data.flagSync; + this.flagTipoColore = data.flagTipoColore; + this.flagTipoJson = data.flagTipoJson; + this.flagUserView = data.flagUserView; + this.gestName = data.gestName; + this.keySection = data.keySection; + this.modificatoDa = data.modificatoDa; + this.queryDefault = data.queryDefault; + this.section = data.section; + this.stbGestSetupDet = data.stbGestSetupDet; + this.stbGestSetupQuery = data.stbGestSetupQuery; + this.tipoSetup = data.tipoSetup; + this.value = data.value; + } +} + +export class StbGestSetupDepo extends EntityBase { + codMdep?: string | null; + flagSync?: string | null; + gestName?: string | null; + keySection?: string | null; + section?: string | null; + type: "stb_gest_setup_depo"; + value?: string | null; + + constructor(data: StbGestSetupDepo) { + super(data); + this.codMdep = data.codMdep; + this.flagSync = data.flagSync; + this.gestName = data.gestName; + this.keySection = data.keySection; + this.section = data.section; + this.value = data.value; + } +} + +export class StbGestSetupDet extends EntityBase { + gestName?: string | null; + keySection?: string | null; + section?: string | null; + tipoSetup?: string | null; + type: "stb_gest_setup_det"; + valColRif?: string | null; + value?: string | null; + + constructor(data: StbGestSetupDet) { + super(data); + this.gestName = data.gestName; + this.keySection = data.keySection; + this.section = data.section; + this.tipoSetup = data.tipoSetup; + this.valColRif = data.valColRif; + this.value = data.value; + } +} + +export class StbGestSetupQuery extends EntityBase { + codQuery?: string | null; + description?: string | null; + queryDefault?: string | null; + type: "stb_gest_setup_query"; + + constructor(data: StbGestSetupQuery) { + super(data); + this.codQuery = data.codQuery; + this.description = data.description; + this.queryDefault = data.queryDefault; + } +} + +export class StbGestSync extends EntityBase { + entityName?: string | null; + gestName?: string | null; + saveLog?: string | null; + syncronize?: string | null; + type: "stb_gest_sync"; + + constructor(data: StbGestSync) { + super(data); + this.entityName = data.entityName; + this.gestName = data.gestName; + this.saveLog = data.saveLog; + this.syncronize = data.syncronize; + } +} + +export class StbLogEntitySetup extends EntityBase { + entityName?: string | null; + id?: number | null; + logDays?: number | null; + type: "stb_log_entity_setup"; + + constructor(data: StbLogEntitySetup) { + super(data); + this.entityName = data.entityName; + this.id = data.id; + this.logDays = data.logDays; + } +} + +export class StbLookupLimit extends EntityBase { + codLookup?: string | null; + condLimit?: string | null; + tableAdded?: string | null; + tableCondJoin?: string | null; + type: "stb_lookup_limit"; + userName?: string | null; + + constructor(data: StbLookupLimit) { + super(data); + this.codLookup = data.codLookup; + this.condLimit = data.condLimit; + this.tableAdded = data.tableAdded; + this.tableCondJoin = data.tableCondJoin; + this.userName = data.userName; + } +} + +export class StbLookupQuery extends EntityBase { + codLookup?: string | null; + flagLookupTouch?: string | null; + keyColumn?: string | null; + queryLookup?: string | null; + titolo?: string | null; + type: "stb_lookup_query"; + + constructor(data: StbLookupQuery) { + super(data); + this.codLookup = data.codLookup; + this.flagLookupTouch = data.flagLookupTouch; + this.keyColumn = data.keyColumn; + this.queryLookup = data.queryLookup; + this.titolo = data.titolo; + } +} + +export class StbMenu extends EntityBase { + codOpz?: string | null; + codParent?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagAttivo?: string | null; + pos?: number | null; + posCliente?: number | null; + posTipoAzienda?: number | null; + stbMenuChildren?: StbMenu[] | null; + stbMenuOpz?: StbMenuOpz[] | null; + tipoAzienda?: string | null; + type: "stb_menu"; + urlDescrizione?: string | null; + + constructor(data: StbMenu) { + super(data); + this.codOpz = data.codOpz; + this.codParent = data.codParent; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagAttivo = data.flagAttivo; + this.pos = data.pos; + this.posCliente = data.posCliente; + this.posTipoAzienda = data.posTipoAzienda; + this.stbMenuChildren = data.stbMenuChildren; + this.stbMenuOpz = data.stbMenuOpz; + this.tipoAzienda = data.tipoAzienda; + this.urlDescrizione = data.urlDescrizione; + } +} + +export class StbMenuDTO { + codOpz?: string | null; + codParent?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + flagAttivo?: string | null; + pos?: number | null; + posCliente?: number | null; + posTipoAzienda?: number | null; + tipoAzienda?: string | null; + type?: string | null; + urlDescrizione?: string | null; + + constructor(data: StbMenuDTO) { + this.codOpz = data.codOpz; + this.codParent = data.codParent; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.flagAttivo = data.flagAttivo; + this.pos = data.pos; + this.posCliente = data.posCliente; + this.posTipoAzienda = data.posTipoAzienda; + this.tipoAzienda = data.tipoAzienda; + this.type = data.type; + this.urlDescrizione = data.urlDescrizione; + } +} + +export class StbMenuOpz extends EntityBase { + codOpz?: string | null; + descrizione?: string | null; + entityName?: string | null; + flagPrinterSetup?: string | null; + gestName?: string | null; + isDeprecated?: string | null; + note?: string | null; + objectType?: string | null; + openType?: string | null; + parameter?: string | null; + pictureMenu?: string | null; + pictureSelect?: string | null; + type: "stb_menu_opz"; + + constructor(data: StbMenuOpz) { + super(data); + this.codOpz = data.codOpz; + this.descrizione = data.descrizione; + this.entityName = data.entityName; + this.flagPrinterSetup = data.flagPrinterSetup; + this.gestName = data.gestName; + this.isDeprecated = data.isDeprecated; + this.note = data.note; + this.objectType = data.objectType; + this.openType = data.openType; + this.parameter = data.parameter; + this.pictureMenu = data.pictureMenu; + this.pictureSelect = data.pictureSelect; + } +} + +export class StbMenuOpzDTO { + codOpz?: string | null; + descrizione?: string | null; + entityName?: string | null; + flagPrinterSetup?: string | null; + gestName?: string | null; + isDeprecated?: string | null; + note?: string | null; + objectType?: string | null; + openType?: string | null; + parameter?: string | null; + pictureMenu?: string | null; + pictureSelect?: string | null; + type?: string | null; + + constructor(data: StbMenuOpzDTO) { + this.codOpz = data.codOpz; + this.descrizione = data.descrizione; + this.entityName = data.entityName; + this.flagPrinterSetup = data.flagPrinterSetup; + this.gestName = data.gestName; + this.isDeprecated = data.isDeprecated; + this.note = data.note; + this.objectType = data.objectType; + this.openType = data.openType; + this.parameter = data.parameter; + this.pictureMenu = data.pictureMenu; + this.pictureSelect = data.pictureSelect; + this.type = data.type; + } +} + +export class StbMigrationStatus extends EntityBase { + completed?: boolean | null; + errorMessage?: string | null; + id?: number | null; + migrationCode?: number | null; + skipped?: boolean | null; + type: "stb_migration_status"; + + constructor(data: StbMigrationStatus) { + super(data); + this.completed = data.completed; + this.errorMessage = data.errorMessage; + this.id = data.id; + this.migrationCode = data.migrationCode; + this.skipped = data.skipped; + } +} + +export class StbNote extends EntityBase { + id?: number | null; + identifier?: string | null; + note?: string | null; + type: "stb_note"; + + constructor(data: StbNote) { + super(data); + this.id = data.id; + this.identifier = data.identifier; + this.note = data.note; + } +} + +export class StbObjectCustom extends EntityBase { + controlName?: string | null; + easyReading?: string | null; + firstRow?: number | null; + nextRow?: number | null; + objectName?: string | null; + type: "stb_object_custom"; + userName?: string | null; + + constructor(data: StbObjectCustom) { + super(data); + this.controlName = data.controlName; + this.easyReading = data.easyReading; + this.firstRow = data.firstRow; + this.nextRow = data.nextRow; + this.objectName = data.objectName; + this.userName = data.userName; + } +} + +export class StbPosizioni extends EntityBase { + cap?: string | null; + citta?: string | null; + id?: number | null; + indirizzo?: string | null; + lat?: number | null; + lng?: number | null; + nazione?: string | null; + prov?: string | null; + type: "stb_posizioni"; + + constructor(data: StbPosizioni) { + super(data); + this.cap = data.cap; + this.citta = data.citta; + this.id = data.id; + this.indirizzo = data.indirizzo; + this.lat = data.lat; + this.lng = data.lng; + this.nazione = data.nazione; + this.prov = data.prov; + } +} + +export class StbPublications extends EntityBase { + id?: number | null; + lastGroupId?: number | null; + publicationDescription?: string | null; + stbPublicationsDetails?: StbPublicationsDetail[] | null; + type: "stb_publications"; + + constructor(data: StbPublications) { + super(data); + this.id = data.id; + this.lastGroupId = data.lastGroupId; + this.publicationDescription = data.publicationDescription; + this.stbPublicationsDetails = data.stbPublicationsDetails; + } +} + +export class StbPublicationsDetail extends EntityBase { + active?: boolean | null; + entityName?: string | null; + exportHistory?: boolean | null; + id?: number | null; + readyToTransmit?: boolean | null; + recalcColumnsField?: string | null; + stbPublicationId?: number | null; + type: "stb_publications_detail"; + whereCondField?: string | null; + whereCondSql?: string | null; + + constructor(data: StbPublicationsDetail) { + super(data); + this.active = data.active; + this.entityName = data.entityName; + this.exportHistory = data.exportHistory; + this.id = data.id; + this.readyToTransmit = data.readyToTransmit; + this.recalcColumnsField = data.recalcColumnsField; + this.stbPublicationId = data.stbPublicationId; + this.whereCondField = data.whereCondField; + this.whereCondSql = data.whereCondSql; + } +} + +export class StbRemoteSubscription extends EntityBase { + active?: boolean | null; + endpointHost?: string | null; + endpointPort?: number | null; + endpointProtocol?: string | null; + endpointUrl?: string | null; + id?: number | null; + lastTransactionId?: number | null; + lastTransactionIdImported?: number | null; + password?: string | null; + profileDb?: string | null; + publicationDescription?: string | null; + publicationId?: number | null; + type: "stb_remote_subscription"; + usernameField?: string | null; + + constructor(data: StbRemoteSubscription) { + super(data); + this.active = data.active; + this.endpointHost = data.endpointHost; + this.endpointPort = data.endpointPort; + this.endpointProtocol = data.endpointProtocol; + this.endpointUrl = data.endpointUrl; + this.id = data.id; + this.lastTransactionId = data.lastTransactionId; + this.lastTransactionIdImported = data.lastTransactionIdImported; + this.password = data.password; + this.profileDb = data.profileDb; + this.publicationDescription = data.publicationDescription; + this.publicationId = data.publicationId; + this.usernameField = data.usernameField; + } +} + +export class StbSubscription extends EntityBase { + flagAttivo?: string | null; + recalcColumnsField?: string | null; + tableNameField?: string | null; + type: "stb_subscription"; + typeField?: string | null; + typeTransaction?: string | null; + userNameField?: string | null; + whereCondField?: string | null; + whereCondSql?: string | null; + + constructor(data: StbSubscription) { + super(data); + this.flagAttivo = data.flagAttivo; + this.recalcColumnsField = data.recalcColumnsField; + this.tableNameField = data.tableNameField; + this.typeField = data.typeField; + this.typeTransaction = data.typeTransaction; + this.userNameField = data.userNameField; + this.whereCondField = data.whereCondField; + this.whereCondSql = data.whereCondSql; + } +} + +export class StbTipiIndirizzi extends EntityBase { + tipoDocumento?: string | null; + tipoIndirizzo?: string | null; + type: "stb_tipi_indirizzi"; + + constructor(data: StbTipiIndirizzi) { + super(data); + this.tipoDocumento = data.tipoDocumento; + this.tipoIndirizzo = data.tipoIndirizzo; + } +} + +export class StbTipoAzienda extends EntityBase { + descrizione?: string | null; + tipoAzienda?: string | null; + type: "stb_tipo_azienda"; + + constructor(data: StbTipoAzienda) { + super(data); + this.descrizione = data.descrizione; + this.tipoAzienda = data.tipoAzienda; + } +} + +export class StbTipoAziendaDTO { + descrizione?: string | null; + tipoAzienda?: string | null; + type?: string | null; + + constructor(data: StbTipoAziendaDTO) { + this.descrizione = data.descrizione; + this.tipoAzienda = data.tipoAzienda; + this.type = data.type; + } +} + +export class StbTransactionLog extends EntityBase { + createdAt?: Date | null; + entities?: string | null; + entitiesJson?: string | null; + groupId?: number | null; + id?: number | null; + publicationGroupId?: number | null; + type: "stb_transaction_log"; + userName?: string | null; + + constructor(data: StbTransactionLog) { + super(data); + this.createdAt = data.createdAt; + this.entities = data.entities; + this.entitiesJson = data.entitiesJson; + this.groupId = data.groupId; + this.id = data.id; + this.publicationGroupId = data.publicationGroupId; + this.userName = data.userName; + } +} + +export class StbUser extends EntityBase { + codCal?: string | null; + codLang?: string | null; + companyname?: string | null; + creationDatetime?: Date | null; + cryptPassword?: boolean | null; + destructionDatetime?: Date | null; + details?: string | null; + eMail?: string | null; + flagAttivo?: string | null; + flagDba?: string | null; + flagExtraUser?: string | null; + flagIntraUser?: string | null; + flagPasswordExpiring?: string | null; + fullName?: string | null; + keyGroup?: number | null; + lastAccessDatetime?: Date | null; + lastDownload?: Date | null; + lastPasswords?: string | null; + lastUpgDb?: Date | null; + lastUpgSp?: Date | null; + logoUser?: string | null; + password?: string | null; + passwordEndtime?: Date | null; + passwordExpiresDays?: number | null; + precode?: string | null; + srlActivityTypeUser?: SrlActivityTypeUser | null; + srlUser?: SrlUser[] | null; + srlUserAttached?: SrlUserAttached[] | null; + stbAbil?: StbAbil[] | null; + stbEditLimit?: StbEditLimit[] | null; + stbFilterDf?: StbFilterDf[] | null; + stbGestDf?: StbGestDf[] | null; + stbLookupLimit?: StbLookupLimit[] | null; + stbObjectCustom?: StbObjectCustom[] | null; + type: "stb_user"; + urlCss?: string | null; + userCode?: string | null; + userId?: string | null; + userName?: string | null; + userNameRif?: string | null; + wrlUsersFasi?: WrlUsersFasi[] | null; + wtbClie?: WtbClie[] | null; + wtbClieDest?: WtbClieDest[] | null; + wtbDepo?: WtbDepo[] | null; + wtbFavoriteArt?: WtbFavoriteArt[] | null; + wtbForn?: WtbForn[] | null; + wtbFornDest?: WtbFornDest[] | null; + wtbGestSetupUser?: WtbGestSetupUser[] | null; + wtbPros?: WtbPros[] | null; + wtbUsersInfo?: WtbUsersInfo[] | null; + + constructor(data: StbUser) { + super(data); + this.codCal = data.codCal; + this.codLang = data.codLang; + this.companyname = data.companyname; + this.creationDatetime = data.creationDatetime; + this.cryptPassword = data.cryptPassword; + this.destructionDatetime = data.destructionDatetime; + this.details = data.details; + this.eMail = data.eMail; + this.flagAttivo = data.flagAttivo; + this.flagDba = data.flagDba; + this.flagExtraUser = data.flagExtraUser; + this.flagIntraUser = data.flagIntraUser; + this.flagPasswordExpiring = data.flagPasswordExpiring; + this.fullName = data.fullName; + this.keyGroup = data.keyGroup; + this.lastAccessDatetime = data.lastAccessDatetime; + this.lastDownload = data.lastDownload; + this.lastPasswords = data.lastPasswords; + this.lastUpgDb = data.lastUpgDb; + this.lastUpgSp = data.lastUpgSp; + this.logoUser = data.logoUser; + this.password = data.password; + this.passwordEndtime = data.passwordEndtime; + this.passwordExpiresDays = data.passwordExpiresDays; + this.precode = data.precode; + this.srlActivityTypeUser = data.srlActivityTypeUser; + this.srlUser = data.srlUser; + this.srlUserAttached = data.srlUserAttached; + this.stbAbil = data.stbAbil; + this.stbEditLimit = data.stbEditLimit; + this.stbFilterDf = data.stbFilterDf; + this.stbGestDf = data.stbGestDf; + this.stbLookupLimit = data.stbLookupLimit; + this.stbObjectCustom = data.stbObjectCustom; + this.urlCss = data.urlCss; + this.userCode = data.userCode; + this.userId = data.userId; + this.userName = data.userName; + this.userNameRif = data.userNameRif; + this.wrlUsersFasi = data.wrlUsersFasi; + this.wtbClie = data.wtbClie; + this.wtbClieDest = data.wtbClieDest; + this.wtbDepo = data.wtbDepo; + this.wtbFavoriteArt = data.wtbFavoriteArt; + this.wtbForn = data.wtbForn; + this.wtbFornDest = data.wtbFornDest; + this.wtbGestSetupUser = data.wtbGestSetupUser; + this.wtbPros = data.wtbPros; + this.wtbUsersInfo = data.wtbUsersInfo; + } +} + +export class SteUPEntryDTO { + activityTypeId?: string | null; + barcodes?: string[] | null; + codCmac?: string | null; + codJfas?: string | null; + codMdep?: string | null; + colli?: { [index: string]: any }[] | null; + dataCreation?: string | null; + md5User?: string | null; + note?: string | null; + parentActivityId?: string | null; + personaRif?: string | null; + priorita?: number | null; + + constructor(data: SteUPEntryDTO) { + this.activityTypeId = data.activityTypeId; + this.barcodes = data.barcodes; + this.codCmac = data.codCmac; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.colli = data.colli; + this.dataCreation = data.dataCreation; + this.md5User = data.md5User; + this.note = data.note; + this.parentActivityId = data.parentActivityId; + this.personaRif = data.personaRif; + this.priorita = data.priorita; + } +} + +export class SteUpScoreDTO { + activityTypeId?: string | null; + anomalia1?: number | null; + anomalia2?: number | null; + anomalia3?: number | null; + anomalia4?: number | null; + codCluster?: string | null; + codJfas?: string | null; + flagTipologia?: string | null; + score1?: number | null; + score2?: number | null; + score3?: number | null; + score4?: number | null; + + constructor(data: SteUpScoreDTO) { + this.activityTypeId = data.activityTypeId; + this.anomalia1 = data.anomalia1; + this.anomalia2 = data.anomalia2; + this.anomalia3 = data.anomalia3; + this.anomalia4 = data.anomalia4; + this.codCluster = data.codCluster; + this.codJfas = data.codJfas; + this.flagTipologia = data.flagTipologia; + this.score1 = data.score1; + this.score2 = data.score2; + this.score3 = data.score3; + this.score4 = data.score4; + } +} + +export class SubreportDTO { + b64Jrxml?: string | null; + b64Report?: string | null; + name?: string | null; + + constructor(data: SubreportDTO) { + this.b64Jrxml = data.b64Jrxml; + this.b64Report = data.b64Report; + this.name = data.name; + } +} + +export class SubscriptionDTO { + active?: boolean | null; + endpointHost?: string | null; + endpointPort?: number | null; + endpointProtocol?: string | null; + endpointUrl?: string | null; + id?: number | null; + password?: string | null; + profileDb?: string | null; + publicationDescription?: string | null; + publicationId?: number | null; + username?: string | null; + + constructor(data: SubscriptionDTO) { + this.active = data.active; + this.endpointHost = data.endpointHost; + this.endpointPort = data.endpointPort; + this.endpointProtocol = data.endpointProtocol; + this.endpointUrl = data.endpointUrl; + this.id = data.id; + this.password = data.password; + this.profileDb = data.profileDb; + this.publicationDescription = data.publicationDescription; + this.publicationId = data.publicationId; + this.username = data.username; + } +} + +export class TaglieDTO implements Serializable { + c?: number | null; + l?: ListiniTaglieDTO[] | null; + pos?: number | null; + s?: number | null; + t?: string | null; + + constructor(data: TaglieDTO) { + this.c = data.c; + this.l = data.l; + this.pos = data.pos; + this.s = data.s; + this.t = data.t; + } +} + +export class TaskModel implements Runnable { + tagName?: string | null; + + constructor(data: TaskModel) { + this.tagName = data.tagName; + } +} + +export class TicketNotificationMailTemplateDataDTO { + activityId?: string | null; + helpdeskUrl?: string | null; + personaRif?: string | null; + + constructor(data: TicketNotificationMailTemplateDataDTO) { + this.activityId = data.activityId; + this.helpdeskUrl = data.helpdeskUrl; + this.personaRif = data.personaRif; + } +} + +export class TipiDocDTO { + codDtip?: string | null; + descrizione?: string | null; + flagChkTracciabilita?: boolean | null; + gestione?: string | null; + gestioneDoc?: string | null; + requireNote?: boolean | null; + suggestLotti?: boolean | null; + + constructor(data: TipiDocDTO) { + this.codDtip = data.codDtip; + this.descrizione = data.descrizione; + this.flagChkTracciabilita = data.flagChkTracciabilita; + this.gestione = data.gestione; + this.gestioneDoc = data.gestioneDoc; + this.requireNote = data.requireNote; + this.suggestLotti = data.suggestLotti; + } +} + +export class TokenInfoResponseDTO { + accessToken?: string | null; + expiresIn?: number | null; + idToken?: string | null; + scope?: string | null; + tokenType?: string | null; + + constructor(data: TokenInfoResponseDTO) { + this.accessToken = data.accessToken; + this.expiresIn = data.expiresIn; + this.idToken = data.idToken; + this.scope = data.scope; + this.tokenType = data.tokenType; + } +} + +export class ToscaOrdineVenditaDTO { + codAnag?: string | null; + codMart?: string | null; + codMdep?: string | null; + codVvet?: string | null; + counterPId?: number | null; + counterPName?: string | null; + counterPNr?: string | null; + dateTransaction?: Date | null; + deliveryDate?: Date | null; + depotName?: string | null; + depotNumber?: string | null; + flowDirection?: string | null; + flowTypeId?: number | null; + flowTypeName?: string | null; + itemName?: string | null; + itemNumber?: number | null; + quantityDelivered?: number | null; + transactionNumber?: string | null; + transporterId?: number | null; + transporterName?: string | null; + transporterNumber?: string | null; + + constructor(data: ToscaOrdineVenditaDTO) { + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codVvet = data.codVvet; + this.counterPId = data.counterPId; + this.counterPName = data.counterPName; + this.counterPNr = data.counterPNr; + this.dateTransaction = data.dateTransaction; + this.deliveryDate = data.deliveryDate; + this.depotName = data.depotName; + this.depotNumber = data.depotNumber; + this.flowDirection = data.flowDirection; + this.flowTypeId = data.flowTypeId; + this.flowTypeName = data.flowTypeName; + this.itemName = data.itemName; + this.itemNumber = data.itemNumber; + this.quantityDelivered = data.quantityDelivered; + this.transactionNumber = data.transactionNumber; + this.transporterId = data.transporterId; + this.transporterName = data.transporterName; + this.transporterNumber = data.transporterNumber; + } +} + +export class TrackingDTO { + order_status?: string | null; + virtuemart_order_id?: string | null; + virtuemart_product_sku?: string | null; + + constructor(data: TrackingDTO) { + this.order_status = data.order_status; + this.virtuemart_order_id = data.virtuemart_order_id; + this.virtuemart_product_sku = data.virtuemart_product_sku; + } +} + +export class TrackingDTOSW { + courier?: string | null; + tracking?: string | null; + + constructor(data: TrackingDTOSW) { + this.courier = data.courier; + this.tracking = data.tracking; + } +} + +export class Transaction { + apriProduzione?: ApriProduzione[] | null; + curva?: Curva[] | null; + id?: string | null; + imissione?: Immissione[] | null; + inventario?: Inventario[] | null; + noteProduttive?: NoteProduttive[] | null; + rilevazioneMorti?: RilevazionePerdite[] | null; + vendita?: Vendita[] | null; + + constructor(data: Transaction) { + this.apriProduzione = data.apriProduzione; + this.curva = data.curva; + this.id = data.id; + this.imissione = data.imissione; + this.inventario = data.inventario; + this.noteProduttive = data.noteProduttive; + this.rilevazioneMorti = data.rilevazioneMorti; + this.vendita = data.vendita; + } +} + +export class TransactionDTO { + entityName?: string | null; + publicationId?: number | null; + transactionDate?: Date | null; + transactionId?: number | null; + transactionJson?: string | null; + username?: string | null; + + constructor(data: TransactionDTO) { + this.entityName = data.entityName; + this.publicationId = data.publicationId; + this.transactionDate = data.transactionDate; + this.transactionId = data.transactionId; + this.transactionJson = data.transactionJson; + this.username = data.username; + } +} + +export class TransactionGroupDTO { + id?: number | null; + items?: TransactionDTO[] | null; + + constructor(data: TransactionGroupDTO) { + this.id = data.id; + this.items = data.items; + } +} + +export class TransactionSave { + transaction?: Transaction[] | null; + + constructor(data: TransactionSave) { + this.transaction = data.transaction; + } +} + +export class TransactionSaveConsDettBande { + banda?: string | null; + chiudi?: string | null; + codProd?: string | null; + + constructor(data: TransactionSaveConsDettBande) { + this.banda = data.banda; + this.chiudi = data.chiudi; + this.codProd = data.codProd; + } +} + +export class TransactionSaveConsDettMat { + codMart?: string | null; + partitaMag?: string | null; + qtaConsumata?: number | null; + + constructor(data: TransactionSaveConsDettMat) { + this.codMart = data.codMart; + this.partitaMag = data.partitaMag; + this.qtaConsumata = data.qtaConsumata; + } +} + +export class TransactionSaveDettaglioScrofaie { + bandaLastProd?: string | null; + bandaProv?: string | null; + causale?: string | null; + codAnag?: string | null; + codBene?: string | null; + codCmac?: string | null; + codMart?: string | null; + dataDoc?: Date | null; + descrizioneBanda?: string | null; + descrizioneEstesaProd?: string | null; + importoVend?: number | null; + note?: string | null; + numCapi?: number | null; + numDoc?: number | null; + numSvezzati?: number | null; + numTatuaggio?: string | null; + peso?: number | null; + serDoc?: string | null; + + constructor(data: TransactionSaveDettaglioScrofaie) { + this.bandaLastProd = data.bandaLastProd; + this.bandaProv = data.bandaProv; + this.causale = data.causale; + this.codAnag = data.codAnag; + this.codBene = data.codBene; + this.codCmac = data.codCmac; + this.codMart = data.codMart; + this.dataDoc = data.dataDoc; + this.descrizioneBanda = data.descrizioneBanda; + this.descrizioneEstesaProd = data.descrizioneEstesaProd; + this.importoVend = data.importoVend; + this.note = data.note; + this.numCapi = data.numCapi; + this.numDoc = data.numDoc; + this.numSvezzati = data.numSvezzati; + this.numTatuaggio = data.numTatuaggio; + this.peso = data.peso; + this.serDoc = data.serDoc; + } +} + +export class TransactionSaveScrofaie { + activityID?: string | null; + banda?: string | null; + causale?: string | null; + cicloProd?: string | null; + codAnag?: string | null; + codJfas?: string | null; + codMdep?: string | null; + codProd?: string | null; + dataMov?: Date | null; + descrizioneBanda?: string | null; + dettaglioBande?: TransactionSaveConsDettBande[] | null; + dettaglioMateriali?: TransactionSaveConsDettMat[] | null; + dettaglioMov?: TransactionSaveDettaglioScrofaie[] | null; + numFase?: number | null; + pesoMedio?: number | null; + tipologia?: string | null; + transactionTypeID?: string | null; + + constructor(data: TransactionSaveScrofaie) { + this.activityID = data.activityID; + this.banda = data.banda; + this.causale = data.causale; + this.cicloProd = data.cicloProd; + this.codAnag = data.codAnag; + this.codJfas = data.codJfas; + this.codMdep = data.codMdep; + this.codProd = data.codProd; + this.dataMov = data.dataMov; + this.descrizioneBanda = data.descrizioneBanda; + this.dettaglioBande = data.dettaglioBande; + this.dettaglioMateriali = data.dettaglioMateriali; + this.dettaglioMov = data.dettaglioMov; + this.numFase = data.numFase; + this.pesoMedio = data.pesoMedio; + this.tipologia = data.tipologia; + this.transactionTypeID = data.transactionTypeID; + } +} + +export class TrasformaPrevDTO { + codAnag?: string | null; + codDtip?: string | null; + codVdes?: string | null; + dataDoc?: Date | null; + delColli?: boolean | null; + forzaEvasioneOrd?: boolean | null; + stornaQtaComm?: boolean | null; + stornaQtaOrd?: boolean | null; + whereCond?: string | null; + + constructor(data: TrasformaPrevDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codVdes = data.codVdes; + this.dataDoc = data.dataDoc; + this.delColli = data.delColli; + this.forzaEvasioneOrd = data.forzaEvasioneOrd; + this.stornaQtaComm = data.stornaQtaComm; + this.stornaQtaOrd = data.stornaQtaOrd; + this.whereCond = data.whereCond; + } +} + +export class TreeDTO { + children?: TreeDTO[] | null; + hasChildren?: boolean | null; + id?: string | null; + isLast?: string | null; + name?: string | null; + + constructor(data: TreeDTO) { + this.children = data.children; + this.hasChildren = data.hasChildren; + this.id = data.id; + this.isLast = data.isLast; + this.name = data.name; + } +} + +export class TreeViewDTO { + activityDescription?: string | null; + activityId?: string | null; + activityTypeId?: string | null; + codJcom?: string | null; + dataInsAct?: Date | null; + esito?: string | null; + isFinished?: boolean | null; + livello?: number | null; + parentActivityId?: string | null; + row?: number | null; + + constructor(data: TreeViewDTO) { + this.activityDescription = data.activityDescription; + this.activityId = data.activityId; + this.activityTypeId = data.activityTypeId; + this.codJcom = data.codJcom; + this.dataInsAct = data.dataInsAct; + this.esito = data.esito; + this.isFinished = data.isFinished; + this.livello = data.livello; + this.parentActivityId = data.parentActivityId; + this.row = data.row; + } +} + +export class TtbAbbi extends EntityBase { + codStyle?: string | null; + codStyleAbb?: string | null; + desEstera?: string | null; + descrizione?: string | null; + type: "ttb_abbi"; + + constructor(data: TtbAbbi) { + super(data); + this.codStyle = data.codStyle; + this.codStyleAbb = data.codStyleAbb; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + } +} + +export class TtbAnnoStag extends EntityBase { + annoStag?: string | null; + codJcom?: string | null; + dataFine?: Date | null; + dataFineAcq?: Date | null; + dataFineCambio?: Date | null; + dataFineCons?: Date | null; + dataFineEcomm?: Date | null; + dataFineProd?: Date | null; + dataFineProg?: Date | null; + dataFinePronto?: Date | null; + dataFineRiord?: Date | null; + dataIniz?: Date | null; + dataInizAcq?: Date | null; + dataInizCambio?: Date | null; + dataInizCons?: Date | null; + dataInizEcomm?: Date | null; + dataInizProd?: Date | null; + dataInizProg?: Date | null; + dataInizPronto?: Date | null; + dataInizRiord?: Date | null; + gruppoConsNumMaxStyle?: number | null; + jtbComt?: JtbComt | null; + ttbAnnoStagLingua?: TtbAnnoStagLingua[] | null; + type: "ttb_anno_stag"; + + constructor(data: TtbAnnoStag) { + super(data); + this.annoStag = data.annoStag; + this.codJcom = data.codJcom; + this.dataFine = data.dataFine; + this.dataFineAcq = data.dataFineAcq; + this.dataFineCambio = data.dataFineCambio; + this.dataFineCons = data.dataFineCons; + this.dataFineEcomm = data.dataFineEcomm; + this.dataFineProd = data.dataFineProd; + this.dataFineProg = data.dataFineProg; + this.dataFinePronto = data.dataFinePronto; + this.dataFineRiord = data.dataFineRiord; + this.dataIniz = data.dataIniz; + this.dataInizAcq = data.dataInizAcq; + this.dataInizCambio = data.dataInizCambio; + this.dataInizCons = data.dataInizCons; + this.dataInizEcomm = data.dataInizEcomm; + this.dataInizProd = data.dataInizProd; + this.dataInizProg = data.dataInizProg; + this.dataInizPronto = data.dataInizPronto; + this.dataInizRiord = data.dataInizRiord; + this.gruppoConsNumMaxStyle = data.gruppoConsNumMaxStyle; + this.jtbComt = data.jtbComt; + this.ttbAnnoStagLingua = data.ttbAnnoStagLingua; + } +} + +export class TtbAnnoStagLingua extends EntityBase { + annoStag?: string | null; + annoStagLingua?: string | null; + codLingua?: string | null; + type: "ttb_anno_stag_lingua"; + + constructor(data: TtbAnnoStagLingua) { + super(data); + this.annoStag = data.annoStag; + this.annoStagLingua = data.annoStagLingua; + this.codLingua = data.codLingua; + } +} + +export class TtbBarCode extends EntityBase { + codBarre?: string | null; + codBarreForn?: string | null; + codCol?: string | null; + codStyle?: string | null; + codTagl?: string | null; + qtaConf?: number | null; + type: "ttb_bar_code"; + + constructor(data: TtbBarCode) { + super(data); + this.codBarre = data.codBarre; + this.codBarreForn = data.codBarreForn; + this.codCol = data.codCol; + this.codStyle = data.codStyle; + this.codTagl = data.codTagl; + this.qtaConf = data.qtaConf; + } +} + +export class TtbCart extends EntityBase { + annoStag?: string | null; + codCart?: string | null; + desEstera?: string | null; + descrizione?: string | null; + ttbCtcl?: TtbCtcl[] | null; + type: "ttb_cart"; + + constructor(data: TtbCart) { + super(data); + this.annoStag = data.annoStag; + this.codCart = data.codCart; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + this.ttbCtcl = data.ttbCtcl; + } +} + +export class TtbClieLine extends EntityBase { + blacklist?: boolean | null; + codAnag?: string | null; + codLine?: string | null; + type: "ttb_clie_line"; + + constructor(data: TtbClieLine) { + super(data); + this.blacklist = data.blacklist; + this.codAnag = data.codAnag; + this.codLine = data.codLine; + } +} + +export class TtbCommr extends EntityBase { + dataComm?: Date | null; + dataOrd?: Date | null; + gestione?: string | null; + numComm?: number | null; + numOrd?: number | null; + qtaAcc?: number | null; + rigaOrd?: number | null; + type: "ttb_commr"; + + constructor(data: TtbCommr) { + super(data); + this.dataComm = data.dataComm; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numComm = data.numComm; + this.numOrd = data.numOrd; + this.qtaAcc = data.qtaAcc; + this.rigaOrd = data.rigaOrd; + } +} + +export class TtbCommt extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + codStyleMp?: string | null; + codStylePf?: string | null; + dataAcc?: Date | null; + dataComm?: Date | null; + dataDoc?: Date | null; + flagAcc?: string | null; + note?: string | null; + numComm?: number | null; + numDoc?: number | null; + serDoc?: string | null; + ttbCommr?: TtbCommr[] | null; + type: "ttb_commt"; + + constructor(data: TtbCommt) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codStyleMp = data.codStyleMp; + this.codStylePf = data.codStylePf; + this.dataAcc = data.dataAcc; + this.dataComm = data.dataComm; + this.dataDoc = data.dataDoc; + this.flagAcc = data.flagAcc; + this.note = data.note; + this.numComm = data.numComm; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + this.ttbCommr = data.ttbCommr; + } +} + +export class TtbComp extends EntityBase { + codComp?: string | null; + desEstera?: string | null; + descrizione?: string | null; + type: "ttb_comp"; + + constructor(data: TtbComp) { + super(data); + this.codComp = data.codComp; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + } +} + +export class TtbCtcl extends EntityBase { + annoStag?: string | null; + codCart?: string | null; + codCol?: string | null; + desEstera?: string | null; + descrizione?: string | null; + note?: string | null; + type: "ttb_ctcl"; + + constructor(data: TtbCtcl) { + super(data); + this.annoStag = data.annoStag; + this.codCart = data.codCart; + this.codCol = data.codCol; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + this.note = data.note; + } +} + +export class TtbEtic extends EntityBase { + codEtic?: string | null; + descrizione?: string | null; + ttbEticli?: TtbEticli[] | null; + type: "ttb_etic"; + + constructor(data: TtbEtic) { + super(data); + this.codEtic = data.codEtic; + this.descrizione = data.descrizione; + this.ttbEticli = data.ttbEticli; + } +} + +export class TtbEticli extends EntityBase { + codAnag?: string | null; + codEtic?: string | null; + type: "ttb_eticli"; + + constructor(data: TtbEticli) { + super(data); + this.codAnag = data.codAnag; + this.codEtic = data.codEtic; + } +} + +export class TtbLine extends EntityBase { + b64Logo?: string | null; + codAliq?: string | null; + codCconCosti?: string | null; + codCconRicavi?: string | null; + codDgrpArt?: string | null; + codLine?: string | null; + codMdepProgra?: string | null; + codMdepPronto?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + codMstp?: string | null; + codMtip?: string | null; + codScoArt?: string | null; + descrizione?: string | null; + elTipiDocNoTrad?: string | null; + flagAttivaCambioMerce?: string | null; + flagAttivo?: string | null; + flagCambioMerce?: string | null; + flagEscludiGruppoConsProd?: string | null; + flagFixNumArtXGruppoCons?: string | null; + ggRitDecor?: number | null; + impMinOrd?: number | null; + lineeCambioMerce?: string | null; + logoCartellino?: string | null; + logoGriff?: string | null; + logoWeb?: string | null; + moltiplicatorePrezzoBase?: number | null; + numCharPrecode?: number | null; + numMaxArtReso?: number | null; + numMaxArtResoBuco?: number | null; + numMinArtCol?: number | null; + percRetrocessione?: number | null; + percRoyalty?: number | null; + precode?: string | null; + prefisso?: string | null; + serCollo?: string | null; + termCons?: string | null; + tipoCodice?: string | null; + ttbLineLingua?: TtbLineLingua[] | null; + ttbLinePeriod?: TtbLinePeriod[] | null; + type: "ttb_line"; + untMis?: string | null; + + constructor(data: TtbLine) { + super(data); + this.b64Logo = data.b64Logo; + this.codAliq = data.codAliq; + this.codCconCosti = data.codCconCosti; + this.codCconRicavi = data.codCconRicavi; + this.codDgrpArt = data.codDgrpArt; + this.codLine = data.codLine; + this.codMdepProgra = data.codMdepProgra; + this.codMdepPronto = data.codMdepPronto; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.codMstp = data.codMstp; + this.codMtip = data.codMtip; + this.codScoArt = data.codScoArt; + this.descrizione = data.descrizione; + this.elTipiDocNoTrad = data.elTipiDocNoTrad; + this.flagAttivaCambioMerce = data.flagAttivaCambioMerce; + this.flagAttivo = data.flagAttivo; + this.flagCambioMerce = data.flagCambioMerce; + this.flagEscludiGruppoConsProd = data.flagEscludiGruppoConsProd; + this.flagFixNumArtXGruppoCons = data.flagFixNumArtXGruppoCons; + this.ggRitDecor = data.ggRitDecor; + this.impMinOrd = data.impMinOrd; + this.lineeCambioMerce = data.lineeCambioMerce; + this.logoCartellino = data.logoCartellino; + this.logoGriff = data.logoGriff; + this.logoWeb = data.logoWeb; + this.moltiplicatorePrezzoBase = data.moltiplicatorePrezzoBase; + this.numCharPrecode = data.numCharPrecode; + this.numMaxArtReso = data.numMaxArtReso; + this.numMaxArtResoBuco = data.numMaxArtResoBuco; + this.numMinArtCol = data.numMinArtCol; + this.percRetrocessione = data.percRetrocessione; + this.percRoyalty = data.percRoyalty; + this.precode = data.precode; + this.prefisso = data.prefisso; + this.serCollo = data.serCollo; + this.termCons = data.termCons; + this.tipoCodice = data.tipoCodice; + this.ttbLineLingua = data.ttbLineLingua; + this.ttbLinePeriod = data.ttbLinePeriod; + this.untMis = data.untMis; + } +} + +export class TtbLineLingua extends EntityBase { + codLine?: string | null; + codLingua?: string | null; + descrizioneLingua?: string | null; + type: "ttb_line_lingua"; + + constructor(data: TtbLineLingua) { + super(data); + this.codLine = data.codLine; + this.codLingua = data.codLingua; + this.descrizioneLingua = data.descrizioneLingua; + } +} + +export class TtbLinePeriod extends EntityBase { + annoStag?: string | null; + codLine?: string | null; + dataFineCambio?: Date | null; + dataFineOrd?: Date | null; + dataFineRiord?: Date | null; + dataInizCambio?: Date | null; + dataInizOrd?: Date | null; + dataInizRiord?: Date | null; + keyGroup?: string | null; + type: "ttb_line_period"; + + constructor(data: TtbLinePeriod) { + super(data); + this.annoStag = data.annoStag; + this.codLine = data.codLine; + this.dataFineCambio = data.dataFineCambio; + this.dataFineOrd = data.dataFineOrd; + this.dataFineRiord = data.dataFineRiord; + this.dataInizCambio = data.dataInizCambio; + this.dataInizOrd = data.dataInizOrd; + this.dataInizRiord = data.dataInizRiord; + this.keyGroup = data.keyGroup; + } +} + +export class TtbLisvTaglieData extends EntityBase { + codStyle?: string | null; + codTagl?: string | null; + codVlis?: string | null; + przVend?: number | null; + przVendSug?: number | null; + type: "ttb_lisv_taglie_data"; + versione?: number | null; + + constructor(data: TtbLisvTaglieData) { + super(data); + this.codStyle = data.codStyle; + this.codTagl = data.codTagl; + this.codVlis = data.codVlis; + this.przVend = data.przVend; + this.przVendSug = data.przVendSug; + this.versione = data.versione; + } +} + +export class TtbStag extends EntityBase { + codStag?: string | null; + desEstera?: string | null; + descrizione?: string | null; + perCons?: string | null; + perConsEstera?: string | null; + type: "ttb_stag"; + + constructor(data: TtbStag) { + super(data); + this.codStag = data.codStag; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + this.perCons = data.perCons; + this.perConsEstera = data.perConsEstera; + } +} + +export class TtbStyle extends EntityBase { + annoStag?: string | null; + cambioDiviCont?: number | null; + codCart?: string | null; + codColCamp?: string | null; + codComp?: string | null; + codDiviAcq?: string | null; + codDiviCont?: string | null; + codForn?: string | null; + codFornCamp?: string | null; + codGrtg?: string | null; + codLine?: string | null; + codNazi?: string | null; + codSplava?: string | null; + codStag?: string | null; + codStyle?: string | null; + codStyleForn?: string | null; + codTaglCamp?: string | null; + codTaglMax?: string | null; + codTaglMin?: string | null; + codTmat?: string | null; + colori?: string | null; + costoCamp?: number | null; + costoProposto?: number | null; + dataCompDis?: Date | null; + desComp?: string | null; + desEstera?: string | null; + distLevel?: number | null; + flagAsso?: string | null; + flagCartellino?: string | null; + flagCodBarre?: string | null; + flagHiddenGiacWeb?: string | null; + flagListino?: string | null; + flagMinOrdLineaCol?: boolean | null; + flagMpPf?: string | null; + flagSaldoProd?: string | null; + mp1?: string | null; + mp2?: string | null; + mtbAart?: MtbAart | null; + note?: string | null; + note2?: string | null; + noteEstera?: string | null; + noteLavaggio?: string | null; + pathFileImg?: string | null; + prezzoBase?: number | null; + przRetailVendIva?: number | null; + rapConvM?: number | null; + sesso?: string | null; + tema?: string | null; + temaEstero?: string | null; + ttbStyleAbbi?: TtbAbbi[] | null; + ttbStyleAss?: TtbStyleAss[] | null; + ttbStyleColori?: TtbStyleColori[] | null; + ttbStyleComp?: TtbStyleComp[] | null; + ttbStyleDaziUsa?: TtbStyleDaziUsa[] | null; + ttbStyleTaglie?: TtbStyleTaglie[] | null; + type: "ttb_style"; + valScatto?: number | null; + + constructor(data: TtbStyle) { + super(data); + this.annoStag = data.annoStag; + this.cambioDiviCont = data.cambioDiviCont; + this.codCart = data.codCart; + this.codColCamp = data.codColCamp; + this.codComp = data.codComp; + this.codDiviAcq = data.codDiviAcq; + this.codDiviCont = data.codDiviCont; + this.codForn = data.codForn; + this.codFornCamp = data.codFornCamp; + this.codGrtg = data.codGrtg; + this.codLine = data.codLine; + this.codNazi = data.codNazi; + this.codSplava = data.codSplava; + this.codStag = data.codStag; + this.codStyle = data.codStyle; + this.codStyleForn = data.codStyleForn; + this.codTaglCamp = data.codTaglCamp; + this.codTaglMax = data.codTaglMax; + this.codTaglMin = data.codTaglMin; + this.codTmat = data.codTmat; + this.colori = data.colori; + this.costoCamp = data.costoCamp; + this.costoProposto = data.costoProposto; + this.dataCompDis = data.dataCompDis; + this.desComp = data.desComp; + this.desEstera = data.desEstera; + this.distLevel = data.distLevel; + this.flagAsso = data.flagAsso; + this.flagCartellino = data.flagCartellino; + this.flagCodBarre = data.flagCodBarre; + this.flagHiddenGiacWeb = data.flagHiddenGiacWeb; + this.flagListino = data.flagListino; + this.flagMinOrdLineaCol = data.flagMinOrdLineaCol; + this.flagMpPf = data.flagMpPf; + this.flagSaldoProd = data.flagSaldoProd; + this.mp1 = data.mp1; + this.mp2 = data.mp2; + this.mtbAart = data.mtbAart; + this.note = data.note; + this.note2 = data.note2; + this.noteEstera = data.noteEstera; + this.noteLavaggio = data.noteLavaggio; + this.pathFileImg = data.pathFileImg; + this.prezzoBase = data.prezzoBase; + this.przRetailVendIva = data.przRetailVendIva; + this.rapConvM = data.rapConvM; + this.sesso = data.sesso; + this.tema = data.tema; + this.temaEstero = data.temaEstero; + this.ttbStyleAbbi = data.ttbStyleAbbi; + this.ttbStyleAss = data.ttbStyleAss; + this.ttbStyleColori = data.ttbStyleColori; + this.ttbStyleComp = data.ttbStyleComp; + this.ttbStyleDaziUsa = data.ttbStyleDaziUsa; + this.ttbStyleTaglie = data.ttbStyleTaglie; + this.valScatto = data.valScatto; + } +} + +export class TtbStyleAss extends EntityBase { + codAsso?: string | null; + codBarre?: string | null; + codStyle?: string | null; + descrizione?: string | null; + ttbStyleAssEl?: TtbStyleAssEl[] | null; + type: "ttb_style_ass"; + + constructor(data: TtbStyleAss) { + super(data); + this.codAsso = data.codAsso; + this.codBarre = data.codBarre; + this.codStyle = data.codStyle; + this.descrizione = data.descrizione; + this.ttbStyleAssEl = data.ttbStyleAssEl; + } +} + +export class TtbStyleAssEl extends EntityBase { + codAsso?: string | null; + codCol?: string | null; + codStyle?: string | null; + codTagl?: string | null; + pos?: number | null; + qtaAsso?: number | null; + type: "ttb_style_ass_el"; + + constructor(data: TtbStyleAssEl) { + super(data); + this.codAsso = data.codAsso; + this.codCol = data.codCol; + this.codStyle = data.codStyle; + this.codTagl = data.codTagl; + this.pos = data.pos; + this.qtaAsso = data.qtaAsso; + } +} + +export class TtbStyleBoxr extends EntityBase { + codAsso?: string | null; + codBox?: string | null; + codStyle?: string | null; + type: "ttb_style_boxr"; + + constructor(data: TtbStyleBoxr) { + super(data); + this.codAsso = data.codAsso; + this.codBox = data.codBox; + this.codStyle = data.codStyle; + } +} + +export class TtbStyleBoxt extends EntityBase { + codBox?: string | null; + descrizione?: string | null; + ttbStyleBoxr?: TtbStyleBoxr[] | null; + type: "ttb_style_boxt"; + + constructor(data: TtbStyleBoxt) { + super(data); + this.codBox = data.codBox; + this.descrizione = data.descrizione; + this.ttbStyleBoxr = data.ttbStyleBoxr; + } +} + +export class TtbStyleColori extends EntityBase { + altezzaCm?: number | null; + codCol?: string | null; + codColForn?: string | null; + codStyle?: string | null; + costo?: number | null; + desEstera?: string | null; + descrizione?: string | null; + flagAttivo?: string | null; + flagCamp?: string | null; + note?: string | null; + qtaMinOrd?: number | null; + qtaSottoScorta?: number | null; + type: "ttb_style_colori"; + + constructor(data: TtbStyleColori) { + super(data); + this.altezzaCm = data.altezzaCm; + this.codCol = data.codCol; + this.codColForn = data.codColForn; + this.codStyle = data.codStyle; + this.costo = data.costo; + this.desEstera = data.desEstera; + this.descrizione = data.descrizione; + this.flagAttivo = data.flagAttivo; + this.flagCamp = data.flagCamp; + this.note = data.note; + this.qtaMinOrd = data.qtaMinOrd; + this.qtaSottoScorta = data.qtaSottoScorta; + } +} + +export class TtbStyleComp extends EntityBase { + codComp?: string | null; + codStyle?: string | null; + idRiga?: number | null; + percComp?: number | null; + type: "ttb_style_comp"; + utilizzo?: string | null; + + constructor(data: TtbStyleComp) { + super(data); + this.codComp = data.codComp; + this.codStyle = data.codStyle; + this.idRiga = data.idRiga; + this.percComp = data.percComp; + this.utilizzo = data.utilizzo; + } +} + +export class TtbStyleDaziUsa extends EntityBase { + babynobaby?: string | null; + centKg?: number | null; + codDazio?: string | null; + codStyle?: string | null; + descrizioneAgg?: string | null; + kgTgCamp?: number | null; + kgTgMax?: number | null; + percDazio?: number | null; + percPrezzo?: number | null; + type: "ttb_style_dazi_usa"; + + constructor(data: TtbStyleDaziUsa) { + super(data); + this.babynobaby = data.babynobaby; + this.centKg = data.centKg; + this.codDazio = data.codDazio; + this.codStyle = data.codStyle; + this.descrizioneAgg = data.descrizioneAgg; + this.kgTgCamp = data.kgTgCamp; + this.kgTgMax = data.kgTgMax; + this.percDazio = data.percDazio; + this.percPrezzo = data.percPrezzo; + } +} + +export class TtbStyleTaglie extends EntityBase { + babynobaby?: string | null; + codStyle?: string | null; + codTagl?: string | null; + codTaglEstera?: string | null; + costo?: number | null; + eta?: string | null; + flagAttivo?: string | null; + flagCamp?: string | null; + numScatto?: number | null; + pesoKg?: number | null; + pos?: number | null; + qtaMinOrd?: number | null; + qtaSottoScorta?: number | null; + statura?: string | null; + type: "ttb_style_taglie"; + + constructor(data: TtbStyleTaglie) { + super(data); + this.babynobaby = data.babynobaby; + this.codStyle = data.codStyle; + this.codTagl = data.codTagl; + this.codTaglEstera = data.codTaglEstera; + this.costo = data.costo; + this.eta = data.eta; + this.flagAttivo = data.flagAttivo; + this.flagCamp = data.flagCamp; + this.numScatto = data.numScatto; + this.pesoKg = data.pesoKg; + this.pos = data.pos; + this.qtaMinOrd = data.qtaMinOrd; + this.qtaSottoScorta = data.qtaSottoScorta; + this.statura = data.statura; + } +} + +export class TtbTmat extends EntityBase { + codTmat?: string | null; + descrizione?: string | null; + flagTesFil?: string | null; + type: "ttb_tmat"; + + constructor(data: TtbTmat) { + super(data); + this.codTmat = data.codTmat; + this.descrizione = data.descrizione; + this.flagTesFil = data.flagTesFil; + } +} + +export interface Type { + typeName?: string | null; +} + +export interface TypeVariable extends Type, AnnotatedElement { + annotatedBounds?: AnnotatedType[] | null; + bounds?: Type[] | null; + genericDeclaration?: D | null; + name?: string | null; +} + +export class ULRowDTO { + barcodeUl?: string | null; + codMart?: string | null; + dataOrd?: Date | null; + dataScad?: Date | null; + numOrd?: number | null; + partitaMag?: string | null; + qtaCol?: number | null; + rigaOrd?: number | null; + + constructor(data: ULRowDTO) { + this.barcodeUl = data.barcodeUl; + this.codMart = data.codMart; + this.dataOrd = data.dataOrd; + this.dataScad = data.dataScad; + this.numOrd = data.numOrd; + this.partitaMag = data.partitaMag; + this.qtaCol = data.qtaCol; + this.rigaOrd = data.rigaOrd; + } +} + +export class UlVenditaDTO { + articoloPartita?: ArticoloPartitaDTO | null; + codMart?: string | null; + codMdep?: string | null; + codTcol?: string | null; + dataCollo?: Date | null; + gestione?: string | null; + numCnf?: number | null; + numCollo?: number | null; + partitaMag?: string | null; + qtaCol?: number | null; + serCollo?: string | null; + + constructor(data: UlVenditaDTO) { + this.articoloPartita = data.articoloPartita; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codTcol = data.codTcol; + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.partitaMag = data.partitaMag; + this.qtaCol = data.qtaCol; + this.serCollo = data.serCollo; + } +} + +export class UniqueKeyDTO { + + constructor(data: UniqueKeyDTO) { + } +} + +export class UntMisDTO { + numCnf?: number | null; + pesoNetto?: number | null; + qta?: number | null; + qta2?: number | null; + qta3?: number | null; + qtaCnf?: number | null; + rapConv?: number | null; + untMis?: string | null; + untMis2?: string | null; + untMis3?: string | null; + + constructor(data: UntMisDTO) { + this.numCnf = data.numCnf; + this.pesoNetto = data.pesoNetto; + this.qta = data.qta; + this.qta2 = data.qta2; + this.qta3 = data.qta3; + this.qtaCnf = data.qtaCnf; + this.rapConv = data.rapConv; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + } +} + +export class UpdateArticoloDTO { + attributes?: WooCommerceProductVariationAttributeDTO[] | null; + categories?: WooCommerceCategoryDTO[] | null; + id?: number | null; + images?: WooCommerceImageDTO[] | null; + inStock?: boolean | null; + manage_stock?: boolean | null; + name?: string | null; + price?: number | null; + regular_price?: number | null; + sku?: string | null; + stock_quantity?: number | null; + type?: string | null; + variations?: UpdateArticoloDTO[] | null; + + constructor(data: UpdateArticoloDTO) { + this.attributes = data.attributes; + this.categories = data.categories; + this.id = data.id; + this.images = data.images; + this.inStock = data.inStock; + this.manage_stock = data.manage_stock; + this.name = data.name; + this.price = data.price; + this.regular_price = data.regular_price; + this.sku = data.sku; + this.stock_quantity = data.stock_quantity; + this.type = data.type; + this.variations = data.variations; + } +} + +export class UpdateBarcodeImballoRequestDTO { + codMart?: string | null; + newBarcodeImballo?: string | null; + + constructor(data: UpdateBarcodeImballoRequestDTO) { + this.codMart = data.codMart; + this.newBarcodeImballo = data.newBarcodeImballo; + } +} + +export class UpdatePesoArticoloRequestDTO { + codMart?: string | null; + taraKg?: number | null; + updateOpenOrdersULs?: boolean | null; + + constructor(data: UpdatePesoArticoloRequestDTO) { + this.codMart = data.codMart; + this.taraKg = data.taraKg; + this.updateOpenOrdersULs = data.updateOpenOrdersULs; + } +} + +export class UpdatePosizioneULRequestDTO { + mtbColt?: MtbColt | null; + posizione?: string | null; + + constructor(data: UpdatePosizioneULRequestDTO) { + this.mtbColt = data.mtbColt; + this.posizione = data.posizione; + } +} + +export class UpdateQtaImmesseStepRequestDTO { + codJfas?: string | null; + ordineLavorazione?: OrdineLavorazioneDTO | null; + qta?: number | null; + + constructor(data: UpdateQtaImmesseStepRequestDTO) { + this.codJfas = data.codJfas; + this.ordineLavorazione = data.ordineLavorazione; + this.qta = data.qta; + } +} + +export class UpdateTipoULRequestDTO { + codTcol?: string | null; + mtbColt?: MtbColt | null; + + constructor(data: UpdateTipoULRequestDTO) { + this.codTcol = data.codTcol; + this.mtbColt = data.mtbColt; + } +} + +export class UpdateVersSLDTO { + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + qtaResidua?: number | null; + + constructor(data: UpdateVersSLDTO) { + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.qtaResidua = data.qtaResidua; + } +} + +export class UpdateWrikeIdRequestDTO { + activityId?: string | null; + wrikeId?: string | null; + + constructor(data: UpdateWrikeIdRequestDTO) { + this.activityId = data.activityId; + this.wrikeId = data.wrikeId; + } +} + +export class User { + user_name?: string | null; + + constructor(data: User) { + this.user_name = data.user_name; + } +} + +export class UserAbsenceRequestDTO { + codJcom?: string | null; + codJflav?: string | null; + dataFine?: Date | null; + dataInizio?: Date | null; + fullname?: string | null; + giustificativo?: string | null; + note?: string | null; + oreAssenza?: number | null; + + constructor(data: UserAbsenceRequestDTO) { + this.codJcom = data.codJcom; + this.codJflav = data.codJflav; + this.dataFine = data.dataFine; + this.dataInizio = data.dataInizio; + this.fullname = data.fullname; + this.giustificativo = data.giustificativo; + this.note = data.note; + this.oreAssenza = data.oreAssenza; + } +} + +export class UserDTO { + attivo?: boolean | null; + codMdep?: string | null; + email?: string | null; + fullname?: string | null; + internal?: boolean | null; + keyGroup?: number | null; + passwordExpired?: boolean | null; + userCode?: string | null; + username?: string | null; + web?: boolean | null; + + constructor(data: UserDTO) { + this.attivo = data.attivo; + this.codMdep = data.codMdep; + this.email = data.email; + this.fullname = data.fullname; + this.internal = data.internal; + this.keyGroup = data.keyGroup; + this.passwordExpired = data.passwordExpired; + this.userCode = data.userCode; + this.username = data.username; + this.web = data.web; + } +} + +export class UserRegistrationDTO { + codAzienda?: string | null; + email?: string | null; + fullName?: string | null; + keyGroup?: number | null; + name?: string | null; + password?: string | null; + surname?: string | null; + username?: string | null; + + constructor(data: UserRegistrationDTO) { + this.codAzienda = data.codAzienda; + this.email = data.email; + this.fullName = data.fullName; + this.keyGroup = data.keyGroup; + this.name = data.name; + this.password = data.password; + this.surname = data.surname; + this.username = data.username; + } +} + +export class UserWPasswordDTO { + attivo?: boolean | null; + email?: string | null; + fullname?: string | null; + password?: string | null; + type?: string | null; + username?: string | null; + + constructor(data: UserWPasswordDTO) { + this.attivo = data.attivo; + this.email = data.email; + this.fullname = data.fullname; + this.password = data.password; + this.type = data.type; + this.username = data.username; + } +} + +export class UserWorkHoursClockHistoryDTO { + aOra?: Date | null; + codJflav?: string | null; + daOra?: Date | null; + dataLav?: Date | null; + totalMinutes?: number | null; + + constructor(data: UserWorkHoursClockHistoryDTO) { + this.aOra = data.aOra; + this.codJflav = data.codJflav; + this.daOra = data.daOra; + this.dataLav = data.dataLav; + this.totalMinutes = data.totalMinutes; + } +} + +export class UserWorkHoursClockInRequestDTO { + positionLatitude?: number | null; + positionLongitude?: number | null; + timestamp?: Date | null; + validPosition?: boolean | null; + + constructor(data: UserWorkHoursClockInRequestDTO) { + this.positionLatitude = data.positionLatitude; + this.positionLongitude = data.positionLongitude; + this.timestamp = data.timestamp; + this.validPosition = data.validPosition; + } +} + +export class UserWorkHoursClockOutRequestDTO { + codJcom?: string | null; + codJfas?: string | null; + note?: string | null; + positionLatitude?: number | null; + positionLongitude?: number | null; + timestamp?: Date | null; + trasfertaEstera?: boolean | null; + trasfertaItalia?: boolean | null; + validPosition?: boolean | null; + + constructor(data: UserWorkHoursClockOutRequestDTO) { + this.codJcom = data.codJcom; + this.codJfas = data.codJfas; + this.note = data.note; + this.positionLatitude = data.positionLatitude; + this.positionLongitude = data.positionLongitude; + this.timestamp = data.timestamp; + this.trasfertaEstera = data.trasfertaEstera; + this.trasfertaItalia = data.trasfertaItalia; + this.validPosition = data.validPosition; + } +} + +export class UserWorkHoursStatusDTO { + lastEntrata?: Date | null; + lastUscita?: Date | null; + userInside?: boolean | null; + + constructor(data: UserWorkHoursStatusDTO) { + this.lastEntrata = data.lastEntrata; + this.lastUscita = data.lastUscita; + this.userInside = data.userInside; + } +} + +export class UtbPrevisioneMeteo extends EntityBase { + dataAcquisizione?: Date | null; + dataPrevisione?: Date | null; + geog?: LatLng | null; + humidity?: number | null; + idCondizione?: number | null; + idPrevisione?: number | null; + isDay?: number | null; + location?: string | null; + maxtempC?: number | null; + mintempC?: number | null; + oraPrevisione?: number | null; + precipMm?: number | null; + sunriseSunset?: string | null; + tempC?: number | null; + type: "utb_previsione_meteo"; + windDir?: string | null; + windKph?: number | null; + + constructor(data: UtbPrevisioneMeteo) { + super(data); + this.dataAcquisizione = data.dataAcquisizione; + this.dataPrevisione = data.dataPrevisione; + this.geog = data.geog; + this.humidity = data.humidity; + this.idCondizione = data.idCondizione; + this.idPrevisione = data.idPrevisione; + this.isDay = data.isDay; + this.location = data.location; + this.maxtempC = data.maxtempC; + this.mintempC = data.mintempC; + this.oraPrevisione = data.oraPrevisione; + this.precipMm = data.precipMm; + this.sunriseSunset = data.sunriseSunset; + this.tempC = data.tempC; + this.windDir = data.windDir; + this.windKph = data.windKph; + } +} + +export class UtenteDTO implements Serializable { + bloccoListino?: string | null; + bloccoPagaClie?: string | null; + bloccoPagaNewClie?: string | null; + cod_anag_newclie?: string | null; + cod_paga?: string | null; + cod_vlis_newclie?: string | null; + date?: Date | null; + full_name?: string | null; + moltipl_barcodemode?: string | null; + nomeAzienda?: string | null; + nomeNegozioRequired?: string | null; + recTelObbligatorio?: string | null; + sconto1?: number | null; + sconto2?: number | null; + user_code?: string | null; + user_name?: string | null; + vend_asso_obbligatorio?: string | null; + + constructor(data: UtenteDTO) { + this.bloccoListino = data.bloccoListino; + this.bloccoPagaClie = data.bloccoPagaClie; + this.bloccoPagaNewClie = data.bloccoPagaNewClie; + this.cod_anag_newclie = data.cod_anag_newclie; + this.cod_paga = data.cod_paga; + this.cod_vlis_newclie = data.cod_vlis_newclie; + this.date = data.date; + this.full_name = data.full_name; + this.moltipl_barcodemode = data.moltipl_barcodemode; + this.nomeAzienda = data.nomeAzienda; + this.nomeNegozioRequired = data.nomeNegozioRequired; + this.recTelObbligatorio = data.recTelObbligatorio; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.user_code = data.user_code; + this.user_name = data.user_name; + this.vend_asso_obbligatorio = data.vend_asso_obbligatorio; + } +} + +export interface VarBinary extends Annotation { +} + +export class VariazioneDTO { + attributi?: AttributoDTO[] | null; + codMart?: string | null; + przVend?: string | null; + qtaDisp?: string | null; + + constructor(data: VariazioneDTO) { + this.attributi = data.attributi; + this.codMart = data.codMart; + this.przVend = data.przVend; + this.qtaDisp = data.qtaDisp; + } +} + +export class VariazioniDTO { + cod_mdep?: string | null; + cod_vlis?: string | null; + data_variazione?: Date | null; + descrizione?: string | null; + elenco_casse?: string | null; + flag_list_iva_inclusa?: string | null; + + constructor(data: VariazioniDTO) { + this.cod_mdep = data.cod_mdep; + this.cod_vlis = data.cod_vlis; + this.data_variazione = data.data_variazione; + this.descrizione = data.descrizione; + this.elenco_casse = data.elenco_casse; + this.flag_list_iva_inclusa = data.flag_list_iva_inclusa; + } +} + +export class VariazioniDettaglioDTO { + annotazioniArt?: string | null; + articoloComposto?: string | null; + codAliq?: string | null; + codBarre?: string | null; + codBarreImb?: string | null; + codMart?: string | null; + codMdep?: string | null; + codMgrp?: string | null; + codMsfa?: string | null; + codMsgr?: string | null; + codPromo?: string | null; + codVlis?: string | null; + colliPedana?: number | null; + dataFine?: Date | null; + dataIniz?: Date | null; + dataInizPromo?: Date | null; + dataUltVar?: Date | null; + dataVariazione?: Date | null; + descrArt?: string | null; + descrArtEqui?: string | null; + descrCassa?: string | null; + descrGrup?: string | null; + descrLisv?: string | null; + descrMsfa?: string | null; + descrPromo?: string | null; + descrSgrp?: string | null; + descrizione?: string | null; + descrizioneEstesa?: string | null; + elencoCasse?: string | null; + esposizioneComp?: string | null; + esposizioneCompAcq?: string | null; + finePromo?: string | null; + flagCalcPrz?: string | null; + flagCalcPrzAcq?: string | null; + flagEsponiPrz?: string | null; + flagListIvaInclusa?: string | null; + flagStato?: string | null; + flagTipoPromo?: string | null; + flagTracciabilita?: string | null; + ggScadPartita?: number | null; + idArtEqui?: string | null; + idPromo?: string | null; + ingredienti?: string | null; + intercodeXmlVariazioni?: string | null; + libero1?: string | null; + libero2?: string | null; + partitaMag?: string | null; + percAliq?: number | null; + percSco1?: number | null; + percSco2?: number | null; + percSco3?: number | null; + percSco4?: number | null; + percSfrido?: number | null; + pesoKg?: number | null; + plu?: string | null; + posizione?: string | null; + posizioneArticolo?: string | null; + prezzoPieno?: number | null; + przBase?: number | null; + przPienoIva?: number | null; + przVend?: number | null; + przVendIva?: number | null; + qtaCnf?: number | null; + rapConv?: number | null; + rapConv2?: number | null; + rapConv3?: number | null; + repartoCassa?: string | null; + taraKg?: number | null; + tipoCodice?: string | null; + tipoVariazione?: string | null; + tipoVariazioneLisv?: string | null; + untMis?: string | null; + untMis2?: string | null; + untMis3?: string | null; + untMisVen?: string | null; + + constructor(data: VariazioniDettaglioDTO) { + this.annotazioniArt = data.annotazioniArt; + this.articoloComposto = data.articoloComposto; + this.codAliq = data.codAliq; + this.codBarre = data.codBarre; + this.codBarreImb = data.codBarreImb; + this.codMart = data.codMart; + this.codMdep = data.codMdep; + this.codMgrp = data.codMgrp; + this.codMsfa = data.codMsfa; + this.codMsgr = data.codMsgr; + this.codPromo = data.codPromo; + this.codVlis = data.codVlis; + this.colliPedana = data.colliPedana; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.dataInizPromo = data.dataInizPromo; + this.dataUltVar = data.dataUltVar; + this.dataVariazione = data.dataVariazione; + this.descrArt = data.descrArt; + this.descrArtEqui = data.descrArtEqui; + this.descrCassa = data.descrCassa; + this.descrGrup = data.descrGrup; + this.descrLisv = data.descrLisv; + this.descrMsfa = data.descrMsfa; + this.descrPromo = data.descrPromo; + this.descrSgrp = data.descrSgrp; + this.descrizione = data.descrizione; + this.descrizioneEstesa = data.descrizioneEstesa; + this.elencoCasse = data.elencoCasse; + this.esposizioneComp = data.esposizioneComp; + this.esposizioneCompAcq = data.esposizioneCompAcq; + this.finePromo = data.finePromo; + this.flagCalcPrz = data.flagCalcPrz; + this.flagCalcPrzAcq = data.flagCalcPrzAcq; + this.flagEsponiPrz = data.flagEsponiPrz; + this.flagListIvaInclusa = data.flagListIvaInclusa; + this.flagStato = data.flagStato; + this.flagTipoPromo = data.flagTipoPromo; + this.flagTracciabilita = data.flagTracciabilita; + this.ggScadPartita = data.ggScadPartita; + this.idArtEqui = data.idArtEqui; + this.idPromo = data.idPromo; + this.ingredienti = data.ingredienti; + this.intercodeXmlVariazioni = data.intercodeXmlVariazioni; + this.libero1 = data.libero1; + this.libero2 = data.libero2; + this.partitaMag = data.partitaMag; + this.percAliq = data.percAliq; + this.percSco1 = data.percSco1; + this.percSco2 = data.percSco2; + this.percSco3 = data.percSco3; + this.percSco4 = data.percSco4; + this.percSfrido = data.percSfrido; + this.pesoKg = data.pesoKg; + this.plu = data.plu; + this.posizione = data.posizione; + this.posizioneArticolo = data.posizioneArticolo; + this.prezzoPieno = data.prezzoPieno; + this.przBase = data.przBase; + this.przPienoIva = data.przPienoIva; + this.przVend = data.przVend; + this.przVendIva = data.przVendIva; + this.qtaCnf = data.qtaCnf; + this.rapConv = data.rapConv; + this.rapConv2 = data.rapConv2; + this.rapConv3 = data.rapConv3; + this.repartoCassa = data.repartoCassa; + this.taraKg = data.taraKg; + this.tipoCodice = data.tipoCodice; + this.tipoVariazione = data.tipoVariazione; + this.tipoVariazioneLisv = data.tipoVariazioneLisv; + this.untMis = data.untMis; + this.untMis2 = data.untMis2; + this.untMis3 = data.untMis3; + this.untMisVen = data.untMisVen; + } +} + +export class VariazioniPvInputDTO { + codVlis?: string | null; + dataValidita?: Date | null; + fileXml?: string | null; + giornoVariazione?: string | null; + inviaDisattivazioni?: string | null; + inviaIngredienti?: string | null; + oraInvioPrec?: string | null; + tipoReport?: string | null; + tipoReportEnum?: VariazioniReportType | null; + userName?: string | null; + variazioni?: VariazioniDettaglioDTO[] | null; + whereCondArt?: string | null; + whereCondDoc?: string | null; + whereCondLisv?: string | null; + + constructor(data: VariazioniPvInputDTO) { + this.codVlis = data.codVlis; + this.dataValidita = data.dataValidita; + this.fileXml = data.fileXml; + this.giornoVariazione = data.giornoVariazione; + this.inviaDisattivazioni = data.inviaDisattivazioni; + this.inviaIngredienti = data.inviaIngredienti; + this.oraInvioPrec = data.oraInvioPrec; + this.tipoReport = data.tipoReport; + this.tipoReportEnum = data.tipoReportEnum; + this.userName = data.userName; + this.variazioni = data.variazioni; + this.whereCondArt = data.whereCondArt; + this.whereCondDoc = data.whereCondDoc; + this.whereCondLisv = data.whereCondLisv; + } +} + +export class VebadDTO { + corpoDoc?: VebadDesadvCorpoDTO | null; + dettagliLotti?: VebadDesadvDettagliLottiDTO[] | null; + estremiFile?: VebadDesadvEstremiDTO | null; + testataDoc?: VebadDesadvTestataDTO | null; + + constructor(data: VebadDTO) { + this.corpoDoc = data.corpoDoc; + this.dettagliLotti = data.dettagliLotti; + this.estremiFile = data.estremiFile; + this.testataDoc = data.testataDoc; + } +} + +export class VebadDesadvCorpoDTO { + codArt?: string | null; + codArtCliente?: string | null; + descBreveArt?: string | null; + flagOmaggio?: number | null; + flagTrattamentoImballi?: number | null; + noteDesc?: string | null; + numRigaDoc?: number | null; + ordineVend?: string | null; + qtaRiga?: string | null; + rifOrdineCliente?: string | null; + tipoRecord?: string | null; + untMis?: string | null; + + constructor(data: VebadDesadvCorpoDTO) { + this.codArt = data.codArt; + this.codArtCliente = data.codArtCliente; + this.descBreveArt = data.descBreveArt; + this.flagOmaggio = data.flagOmaggio; + this.flagTrattamentoImballi = data.flagTrattamentoImballi; + this.noteDesc = data.noteDesc; + this.numRigaDoc = data.numRigaDoc; + this.ordineVend = data.ordineVend; + this.qtaRiga = data.qtaRiga; + this.rifOrdineCliente = data.rifOrdineCliente; + this.tipoRecord = data.tipoRecord; + this.untMis = data.untMis; + } +} + +export class VebadDesadvDettagliLottiDTO { + codLineaProd?: string | null; + codSscc?: string | null; + codStabilimentoProd?: string | null; + dataProd?: string | null; + dataScad?: Date | null; + descStabilimentoProd?: string | null; + gtin?: string | null; + lotto?: string | null; + numRigaDoc?: number | null; + numRigaLotti?: number | null; + oraProd?: number | null; + qta?: string | null; + qtaInColli?: number | null; + qtaSscc?: number | null; + tipoRecord?: string | null; + transcodifica?: string | null; + + constructor(data: VebadDesadvDettagliLottiDTO) { + this.codLineaProd = data.codLineaProd; + this.codSscc = data.codSscc; + this.codStabilimentoProd = data.codStabilimentoProd; + this.dataProd = data.dataProd; + this.dataScad = data.dataScad; + this.descStabilimentoProd = data.descStabilimentoProd; + this.gtin = data.gtin; + this.lotto = data.lotto; + this.numRigaDoc = data.numRigaDoc; + this.numRigaLotti = data.numRigaLotti; + this.oraProd = data.oraProd; + this.qta = data.qta; + this.qtaInColli = data.qtaInColli; + this.qtaSscc = data.qtaSscc; + this.tipoRecord = data.tipoRecord; + this.transcodifica = data.transcodifica; + } +} + +export class VebadDesadvEstremiDTO { + DataGenerazione?: string | null; + OraGenerazione?: string | null; + dataGenerazione?: string | null; + oraGenerazione?: string | null; + pIvaFornitore?: string | null; + ragSocFornitore?: string | null; + tipoRecord?: string | null; + + constructor(data: VebadDesadvEstremiDTO) { + this.DataGenerazione = data.DataGenerazione; + this.OraGenerazione = data.OraGenerazione; + this.dataGenerazione = data.dataGenerazione; + this.oraGenerazione = data.oraGenerazione; + this.pIvaFornitore = data.pIvaFornitore; + this.ragSocFornitore = data.ragSocFornitore; + this.tipoRecord = data.tipoRecord; + } +} + +export class VebadDesadvTestataDTO { + codCondizioneDiPorto?: string | null; + dataDDT?: string | null; + destinazioneMerce?: string | null; + nominativoAutista?: string | null; + numDoc?: string | null; + pIvaVettoreTrasporto?: string | null; + targaMezzo?: string | null; + totColliSpediti?: number | null; + totKgLegniSpediti?: string | null; + totKgLordiSpediti?: string | null; + totKgNettiSpediti?: string | null; + totPalletSpediti?: number | null; + + constructor(data: VebadDesadvTestataDTO) { + this.codCondizioneDiPorto = data.codCondizioneDiPorto; + this.dataDDT = data.dataDDT; + this.destinazioneMerce = data.destinazioneMerce; + this.nominativoAutista = data.nominativoAutista; + this.numDoc = data.numDoc; + this.pIvaVettoreTrasporto = data.pIvaVettoreTrasporto; + this.targaMezzo = data.targaMezzo; + this.totColliSpediti = data.totColliSpediti; + this.totKgLegniSpediti = data.totKgLegniSpediti; + this.totKgLordiSpediti = data.totKgLordiSpediti; + this.totKgNettiSpediti = data.totKgNettiSpediti; + this.totPalletSpediti = data.totPalletSpediti; + } +} + +export class Vendita { + codAnag?: string | null; + codVdes?: string | null; + dataOrd?: Date | null; + gestione?: string | null; + numOrd?: number | null; + venditaRow?: VenditaRow[] | null; + + constructor(data: Vendita) { + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.dataOrd = data.dataOrd; + this.gestione = data.gestione; + this.numOrd = data.numOrd; + this.venditaRow = data.venditaRow; + } +} + +export class VenditaForDay { + dataReg?: Date | null; + idStep?: number | null; + qtaVend?: number | null; + + constructor(data: VenditaForDay) { + this.dataReg = data.dataReg; + this.idStep = data.idStep; + this.qtaVend = data.qtaVend; + } +} + +export class VenditaForProdFin { + codMart?: string | null; + pesoMedio?: number | null; + qtaVend?: number | null; + + constructor(data: VenditaForProdFin) { + this.codMart = data.codMart; + this.pesoMedio = data.pesoMedio; + this.qtaVend = data.qtaVend; + } +} + +export class VenditaRow { + codMart?: string | null; + dataBolla?: Date | null; + descrizione?: string | null; + descrzione?: string | null; + numBolla?: number | null; + partitaMag?: string | null; + pesoMedio?: number | null; + qta?: number | null; + + constructor(data: VenditaRow) { + this.codMart = data.codMart; + this.dataBolla = data.dataBolla; + this.descrizione = data.descrizione; + this.descrzione = data.descrzione; + this.numBolla = data.numBolla; + this.partitaMag = data.partitaMag; + this.pesoMedio = data.pesoMedio; + this.qta = data.qta; + } +} + +export class VerificaGiacenzeDTO { + codMdep?: string | null; + dataVerifica?: Date | null; + rows?: VerificaGiacenzeRowDTO[] | null; + + constructor(data: VerificaGiacenzeDTO) { + this.codMdep = data.codMdep; + this.dataVerifica = data.dataVerifica; + this.rows = data.rows; + } +} + +export class VerificaGiacenzeRowDTO { + barcode?: string | null; + codMart?: string | null; + numCnf?: number | null; + partitaMag?: string | null; + qta?: number | null; + qtaCnf?: number | null; + qtaInGiacenza?: number | null; + + constructor(data: VerificaGiacenzeRowDTO) { + this.barcode = data.barcode; + this.codMart = data.codMart; + this.numCnf = data.numCnf; + this.partitaMag = data.partitaMag; + this.qta = data.qta; + this.qtaCnf = data.qtaCnf; + this.qtaInGiacenza = data.qtaInGiacenza; + } +} + +export class VerificaInventarioDTO { + assCostoInVerifica?: boolean | null; + codMdep?: string | null; + dataFineGiacenza?: Date | null; + dataInizGiacenza?: Date | null; + dataInventario?: Date | null; + flagOperazione?: string | null; + giacenzaDB?: boolean | null; + idInventario?: number | null; + invUbicazione?: boolean | null; + tipoCosto?: string | null; + tipoGiacenza?: string | null; + tipoVerifica?: string | null; + whereCondFiltro?: string | null; + whereCondInvPrec?: string | null; + + constructor(data: VerificaInventarioDTO) { + this.assCostoInVerifica = data.assCostoInVerifica; + this.codMdep = data.codMdep; + this.dataFineGiacenza = data.dataFineGiacenza; + this.dataInizGiacenza = data.dataInizGiacenza; + this.dataInventario = data.dataInventario; + this.flagOperazione = data.flagOperazione; + this.giacenzaDB = data.giacenzaDB; + this.idInventario = data.idInventario; + this.invUbicazione = data.invUbicazione; + this.tipoCosto = data.tipoCosto; + this.tipoGiacenza = data.tipoGiacenza; + this.tipoVerifica = data.tipoVerifica; + this.whereCondFiltro = data.whereCondFiltro; + this.whereCondInvPrec = data.whereCondInvPrec; + } +} + +export class VersaMaterialiRequestDTO { + barcodeUl?: string | null; + codMart?: string | null; + dataCollo?: Date | null; + gestione?: string | null; + numCnf?: number | null; + numCollo?: number | null; + partitaMag?: string | null; + posizioneVersamento?: string | null; + qtaCnf?: number | null; + qtaTot?: number | null; + serCollo?: string | null; + + constructor(data: VersaMaterialiRequestDTO) { + this.barcodeUl = data.barcodeUl; + this.codMart = data.codMart; + this.dataCollo = data.dataCollo; + this.gestione = data.gestione; + this.numCnf = data.numCnf; + this.numCollo = data.numCollo; + this.partitaMag = data.partitaMag; + this.posizioneVersamento = data.posizioneVersamento; + this.qtaCnf = data.qtaCnf; + this.qtaTot = data.qtaTot; + this.serCollo = data.serCollo; + } +} + +export class VersaMaterialiResponseDTO { + + constructor(data: VersaMaterialiResponseDTO) { + } +} + +export class VersamentoAutomaticoULResponseDTO { + failed?: MtbColr[] | null; + success?: MtbColr[] | null; + + constructor(data: VersamentoAutomaticoULResponseDTO) { + this.failed = data.failed; + this.success = data.success; + } +} + +export class VersamentoMaterialeSuOrdineDTO { + cloneOrdine?: boolean | null; + codJfas?: string | null; + mtbColt?: MtbColt | null; + ordine?: DtbOrdt | null; + qtaVersamento?: number | null; + startOrdine?: boolean | null; + transferRequired?: boolean | null; + + constructor(data: VersamentoMaterialeSuOrdineDTO) { + this.cloneOrdine = data.cloneOrdine; + this.codJfas = data.codJfas; + this.mtbColt = data.mtbColt; + this.ordine = data.ordine; + this.qtaVersamento = data.qtaVersamento; + this.startOrdine = data.startOrdine; + this.transferRequired = data.transferRequired; + } +} + +export class VtbAgen extends EntityBase { + cap?: string | null; + citta?: string | null; + codAnag?: string | null; + codCausRit?: string | null; + codFisc?: string | null; + codVage?: string | null; + codVisp?: string | null; + codVlis?: string | null; + condClieAgg?: string | null; + dataFineRap?: Date | null; + dataInizRap?: Date | null; + eMail?: string | null; + fax?: string | null; + indirizzo?: string | null; + nazione?: string | null; + note?: string | null; + numOrdFirst?: number | null; + partIva?: string | null; + percProv?: number | null; + percProvAge?: number | null; + prov?: string | null; + ragSoc?: string | null; + serie?: string | null; + tel?: string | null; + tipoAgen?: string | null; + tipoCliente?: string | null; + tipoIndirizzo?: string | null; + type: "vtb_agen"; + vtbAgenBudget?: VtbAgenBudget[] | null; + vtbAgenPremi?: VtbAgenPremi[] | null; + vtbAgenProv?: VtbAgenProv[] | null; + vtbAgenRigheFat?: VtbAgenRigheFat[] | null; + + constructor(data: VtbAgen) { + super(data); + this.cap = data.cap; + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codCausRit = data.codCausRit; + this.codFisc = data.codFisc; + this.codVage = data.codVage; + this.codVisp = data.codVisp; + this.codVlis = data.codVlis; + this.condClieAgg = data.condClieAgg; + this.dataFineRap = data.dataFineRap; + this.dataInizRap = data.dataInizRap; + this.eMail = data.eMail; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.note = data.note; + this.numOrdFirst = data.numOrdFirst; + this.partIva = data.partIva; + this.percProv = data.percProv; + this.percProvAge = data.percProvAge; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.serie = data.serie; + this.tel = data.tel; + this.tipoAgen = data.tipoAgen; + this.tipoCliente = data.tipoCliente; + this.tipoIndirizzo = data.tipoIndirizzo; + this.vtbAgenBudget = data.vtbAgenBudget; + this.vtbAgenPremi = data.vtbAgenPremi; + this.vtbAgenProv = data.vtbAgenProv; + this.vtbAgenRigheFat = data.vtbAgenRigheFat; + } +} + +export class VtbAgenBudget extends EntityBase { + anno?: number | null; + codDiviCont?: string | null; + codMtip?: string | null; + codVage?: string | null; + flagTipologia?: string | null; + idRiga?: number | null; + importo?: number | null; + mese?: number | null; + type: "vtb_agen_budget"; + + constructor(data: VtbAgenBudget) { + super(data); + this.anno = data.anno; + this.codDiviCont = data.codDiviCont; + this.codMtip = data.codMtip; + this.codVage = data.codVage; + this.flagTipologia = data.flagTipologia; + this.idRiga = data.idRiga; + this.importo = data.importo; + this.mese = data.mese; + } +} + +export class VtbAgenEnasarcoFirr extends EntityBase { + aImpProvv?: number | null; + anno?: number | null; + cambioDiviCont?: number | null; + codDiviCont?: string | null; + daImpProvv?: number | null; + percEnasarcoAziendaTrim?: number | null; + percEnasarcoTrim?: number | null; + percFirr01?: number | null; + percFirr02?: number | null; + percFirr03?: number | null; + prevMin?: number | null; + provvMax?: number | null; + tipoAgen?: string | null; + type: "vtb_agen_enasarco_firr"; + + constructor(data: VtbAgenEnasarcoFirr) { + super(data); + this.aImpProvv = data.aImpProvv; + this.anno = data.anno; + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.daImpProvv = data.daImpProvv; + this.percEnasarcoAziendaTrim = data.percEnasarcoAziendaTrim; + this.percEnasarcoTrim = data.percEnasarcoTrim; + this.percFirr01 = data.percFirr01; + this.percFirr02 = data.percFirr02; + this.percFirr03 = data.percFirr03; + this.prevMin = data.prevMin; + this.provvMax = data.provvMax; + this.tipoAgen = data.tipoAgen; + } +} + +export class VtbAgenPremi extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codVage?: string | null; + dataLiquid?: Date | null; + dataMaturaz?: Date | null; + descrizione?: string | null; + iDriga?: number | null; + importo?: number | null; + type: "vtb_agen_premi"; + + constructor(data: VtbAgenPremi) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codVage = data.codVage; + this.dataLiquid = data.dataLiquid; + this.dataMaturaz = data.dataMaturaz; + this.descrizione = data.descrizione; + this.iDriga = data.iDriga; + this.importo = data.importo; + } +} + +export class VtbAgenProv extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codScoArt?: string | null; + codScoCli?: string | null; + codVage?: string | null; + fissoProv?: number | null; + percGest?: number | null; + percIspe?: number | null; + percProv?: number | null; + type: "vtb_agen_prov"; + valGest?: number | null; + valIspe?: number | null; + + constructor(data: VtbAgenProv) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codScoArt = data.codScoArt; + this.codScoCli = data.codScoCli; + this.codVage = data.codVage; + this.fissoProv = data.fissoProv; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percProv = data.percProv; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + } +} + +export class VtbAgenRigheFat extends EntityBase { + codVage?: string | null; + riga?: number | null; + rigaFat?: string | null; + type: "vtb_agen_righe_fat"; + + constructor(data: VtbAgenRigheFat) { + super(data); + this.codVage = data.codVage; + this.riga = data.riga; + this.rigaFat = data.rigaFat; + } +} + +export class VtbAgenTipo extends EntityBase { + descrizione?: string | null; + tipoAgen?: string | null; + type: "vtb_agen_tipo"; + + constructor(data: VtbAgenTipo) { + super(data); + this.descrizione = data.descrizione; + this.tipoAgen = data.tipoAgen; + } +} + +export class VtbAmac extends EntityBase { + annoFabbr?: number | null; + codJcom?: string | null; + codMart?: string | null; + dataInizGaranzia?: Date | null; + dataInizManut?: Date | null; + dataScadGaranzia?: Date | null; + dataScadManut?: Date | null; + descrizione?: string | null; + flagTipoRinnovo?: string | null; + matricola?: string | null; + note1?: string | null; + note2?: string | null; + note3?: string | null; + type: "vtb_amac"; + vtbAmacComp?: VtbAmacComp[] | null; + + constructor(data: VtbAmac) { + super(data); + this.annoFabbr = data.annoFabbr; + this.codJcom = data.codJcom; + this.codMart = data.codMart; + this.dataInizGaranzia = data.dataInizGaranzia; + this.dataInizManut = data.dataInizManut; + this.dataScadGaranzia = data.dataScadGaranzia; + this.dataScadManut = data.dataScadManut; + this.descrizione = data.descrizione; + this.flagTipoRinnovo = data.flagTipoRinnovo; + this.matricola = data.matricola; + this.note1 = data.note1; + this.note2 = data.note2; + this.note3 = data.note3; + this.vtbAmacComp = data.vtbAmacComp; + } +} + +export class VtbAmacComp extends EntityBase { + codMart?: string | null; + flagGaranzia?: string | null; + idRiga?: number | null; + matricola?: string | null; + note?: string | null; + qta?: number | null; + type: "vtb_amac_comp"; + + constructor(data: VtbAmacComp) { + super(data); + this.codMart = data.codMart; + this.flagGaranzia = data.flagGaranzia; + this.idRiga = data.idRiga; + this.matricola = data.matricola; + this.note = data.note; + this.qta = data.qta; + } +} + +export class VtbArti extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codMart?: string | null; + codSupp?: string | null; + codVart?: string | null; + codVlis?: string | null; + codVsez?: string | null; + descrizione?: string | null; + fileDisegno?: string | null; + note?: string | null; + posizione?: string | null; + prezzoAcq?: number | null; + prezzoBase?: number | null; + scoAcq1?: number | null; + scoAcq2?: number | null; + tipologiaVart?: string | null; + type: "vtb_arti"; + untMis?: string | null; + vtbArtiAcc?: VtbArtiAcc[] | null; + vtbArtiDesc?: VtbArtiDesc[] | null; + vtbArtiVaria?: VtbArtiVaria[] | null; + + constructor(data: VtbArti) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codMart = data.codMart; + this.codSupp = data.codSupp; + this.codVart = data.codVart; + this.codVlis = data.codVlis; + this.codVsez = data.codVsez; + this.descrizione = data.descrizione; + this.fileDisegno = data.fileDisegno; + this.note = data.note; + this.posizione = data.posizione; + this.prezzoAcq = data.prezzoAcq; + this.prezzoBase = data.prezzoBase; + this.scoAcq1 = data.scoAcq1; + this.scoAcq2 = data.scoAcq2; + this.tipologiaVart = data.tipologiaVart; + this.untMis = data.untMis; + this.vtbArtiAcc = data.vtbArtiAcc; + this.vtbArtiDesc = data.vtbArtiDesc; + this.vtbArtiVaria = data.vtbArtiVaria; + } +} + +export class VtbArtiAcc extends EntityBase { + capitolo?: string | null; + codLingua?: string | null; + codMart?: string | null; + codVacc?: string | null; + codVart?: string | null; + costoUnt?: number | null; + descrizione?: string | null; + flagOpz?: string | null; + idGruppo?: number | null; + idRiga?: number | null; + note?: string | null; + pesoKg?: number | null; + qta?: number | null; + rapConv?: number | null; + sconto1?: number | null; + sconto2?: number | null; + type: "vtb_arti_acc"; + untMis?: string | null; + valUnt?: number | null; + + constructor(data: VtbArtiAcc) { + super(data); + this.capitolo = data.capitolo; + this.codLingua = data.codLingua; + this.codMart = data.codMart; + this.codVacc = data.codVacc; + this.codVart = data.codVart; + this.costoUnt = data.costoUnt; + this.descrizione = data.descrizione; + this.flagOpz = data.flagOpz; + this.idGruppo = data.idGruppo; + this.idRiga = data.idRiga; + this.note = data.note; + this.pesoKg = data.pesoKg; + this.qta = data.qta; + this.rapConv = data.rapConv; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.untMis = data.untMis; + this.valUnt = data.valUnt; + } +} + +export class VtbArtiDesc extends EntityBase { + capitolo?: string | null; + codLingua?: string | null; + codMart?: string | null; + codVart?: string | null; + descrEstesa?: string | null; + descrizione?: string | null; + flagAllegato?: string | null; + flagListino?: string | null; + flagPrev?: string | null; + flagStamPrz?: string | null; + idRiga?: number | null; + nomeFileDescr?: string | null; + type: "vtb_arti_desc"; + + constructor(data: VtbArtiDesc) { + super(data); + this.capitolo = data.capitolo; + this.codLingua = data.codLingua; + this.codMart = data.codMart; + this.codVart = data.codVart; + this.descrEstesa = data.descrEstesa; + this.descrizione = data.descrizione; + this.flagAllegato = data.flagAllegato; + this.flagListino = data.flagListino; + this.flagPrev = data.flagPrev; + this.flagStamPrz = data.flagStamPrz; + this.idRiga = data.idRiga; + this.nomeFileDescr = data.nomeFileDescr; + } +} + +export class VtbArtiVaria extends EntityBase { + codVart?: string | null; + descrizioneCarat?: string | null; + idRiga?: number | null; + nomeCarat?: string | null; + note?: string | null; + type: "vtb_arti_varia"; + + constructor(data: VtbArtiVaria) { + super(data); + this.codVart = data.codVart; + this.descrizioneCarat = data.descrizioneCarat; + this.idRiga = data.idRiga; + this.nomeCarat = data.nomeCarat; + this.note = data.note; + } +} + +export class VtbAss extends EntityBase { + codVass?: string | null; + descrizione?: string | null; + type: "vtb_ass"; + + constructor(data: VtbAss) { + super(data); + this.codVass = data.codVass; + this.descrizione = data.descrizione; + } +} + +export class VtbAtt extends EntityBase { + codVatt?: string | null; + descrizione?: string | null; + type: "vtb_att"; + + constructor(data: VtbAtt) { + super(data); + this.codVatt = data.codVatt; + this.descrizione = data.descrizione; + } +} + +export class VtbAuto extends EntityBase { + codAuto?: string | null; + codBene?: string | null; + descrizione?: string | null; + flagAutomezzoTv?: string | null; + flagInUso?: string | null; + licenza?: string | null; + portataQli?: number | null; + targa?: string | null; + type: "vtb_auto"; + vtbAutoKm?: VtbAutoKm[] | null; + vtbAutoScad?: VtbAutoScad[] | null; + + constructor(data: VtbAuto) { + super(data); + this.codAuto = data.codAuto; + this.codBene = data.codBene; + this.descrizione = data.descrizione; + this.flagAutomezzoTv = data.flagAutomezzoTv; + this.flagInUso = data.flagInUso; + this.licenza = data.licenza; + this.portataQli = data.portataQli; + this.targa = data.targa; + this.vtbAutoKm = data.vtbAutoKm; + this.vtbAutoScad = data.vtbAutoScad; + } +} + +export class VtbAutoKm extends EntityBase { + codAuto?: string | null; + codVvet?: string | null; + dataCons?: Date | null; + impCarb?: number | null; + kmFine?: number | null; + kmInizio?: number | null; + luogoPartenza?: string | null; + qtaCarb?: number | null; + type: "vtb_auto_km"; + + constructor(data: VtbAutoKm) { + super(data); + this.codAuto = data.codAuto; + this.codVvet = data.codVvet; + this.dataCons = data.dataCons; + this.impCarb = data.impCarb; + this.kmFine = data.kmFine; + this.kmInizio = data.kmInizio; + this.luogoPartenza = data.luogoPartenza; + this.qtaCarb = data.qtaCarb; + } +} + +export class VtbAutoScad extends EntityBase { + codAuto?: string | null; + dataEff?: Date | null; + dataScad?: Date | null; + descrizione?: string | null; + idRiga?: number | null; + kmEffettivi?: number | null; + kmPrevisti?: number | null; + note?: string | null; + tipoScad?: string | null; + type: "vtb_auto_scad"; + + constructor(data: VtbAutoScad) { + super(data); + this.codAuto = data.codAuto; + this.dataEff = data.dataEff; + this.dataScad = data.dataScad; + this.descrizione = data.descrizione; + this.idRiga = data.idRiga; + this.kmEffettivi = data.kmEffettivi; + this.kmPrevisti = data.kmPrevisti; + this.note = data.note; + this.tipoScad = data.tipoScad; + } +} + +export class VtbBdgr extends EntityBase { + codAnag?: string | null; + codMart?: string | null; + idBdg?: number | null; + idRow?: number | null; + qtaBudget?: number | null; + qtaStorico?: number | null; + type: "vtb_bdgr"; + valBudget?: number | null; + valStorico?: number | null; + + constructor(data: VtbBdgr) { + super(data); + this.codAnag = data.codAnag; + this.codMart = data.codMart; + this.idBdg = data.idBdg; + this.idRow = data.idRow; + this.qtaBudget = data.qtaBudget; + this.qtaStorico = data.qtaStorico; + this.valBudget = data.valBudget; + this.valStorico = data.valStorico; + } +} + +export class VtbBdgt extends EntityBase { + budgetA?: Date | null; + budgetDa?: Date | null; + descrizione?: string | null; + getBdgFunction?: string | null; + idBdg?: number | null; + storicoA?: Date | null; + storicoDa?: Date | null; + type: "vtb_bdgt"; + vtbBdgr?: VtbBdgr[] | null; + + constructor(data: VtbBdgt) { + super(data); + this.budgetA = data.budgetA; + this.budgetDa = data.budgetDa; + this.descrizione = data.descrizione; + this.getBdgFunction = data.getBdgFunction; + this.idBdg = data.idBdg; + this.storicoA = data.storicoA; + this.storicoDa = data.storicoDa; + this.vtbBdgr = data.vtbBdgr; + } +} + +export class VtbCdist extends EntityBase { + codAnagDistr?: string | null; + codDtip?: string | null; + codFormBolle?: string | null; + codFormOrd?: string | null; + dirFtpBolle?: string | null; + dirFtpOrdini?: string | null; + indirizzoFtp?: string | null; + password?: string | null; + pathBolle?: string | null; + pathOrdini?: string | null; + type: "vtb_cdist"; + userName?: string | null; + + constructor(data: VtbCdist) { + super(data); + this.codAnagDistr = data.codAnagDistr; + this.codDtip = data.codDtip; + this.codFormBolle = data.codFormBolle; + this.codFormOrd = data.codFormOrd; + this.dirFtpBolle = data.dirFtpBolle; + this.dirFtpOrdini = data.dirFtpOrdini; + this.indirizzoFtp = data.indirizzoFtp; + this.password = data.password; + this.pathBolle = data.pathBolle; + this.pathOrdini = data.pathOrdini; + this.userName = data.userName; + } +} + +export class VtbClie extends EntityBase implements EquatableEntityInterface { + agenziaBanca?: string | null; + applicationName?: string | null; + codAbi?: string | null; + codAliq?: string | null; + codAnag?: string | null; + codAnagStat?: string | null; + codAssicurato?: string | null; + codBanc?: string | null; + codBancAzi?: string | null; + codBic?: string | null; + codCab?: string | null; + codCconCosti?: string | null; + codCconRicavi?: string | null; + codComVal?: string | null; + codDtipSped?: string | null; + codFidelity?: string | null; + codFornFido?: string | null; + codGriglia?: string | null; + codMdep?: string | null; + codPaga?: string | null; + codScoCli?: string | null; + codVage?: string | null; + codVage2?: string | null; + codVass?: string | null; + codVatt?: string | null; + codVcom?: string | null; + codVgrpAcq?: string | null; + codVlis?: string | null; + codVpre?: string | null; + codVseg?: string | null; + codVset?: string | null; + codVtbloccons?: string | null; + codVtip?: string | null; + codVtipFido?: string | null; + codVvet?: string | null; + codVvet2?: string | null; + codVzon?: string | null; + costoEsenzione?: string | null; + countFidelity?: number | null; + dataConsObbl?: boolean | null; + dataConsStart?: Date | null; + dataConsStop?: Date | null; + dataFineFido?: Date | null; + dataInizAttivita?: Date | null; + dataInizFido?: Date | null; + dataMandato?: Date | null; + descrEsenzione?: string | null; + eanFidelity?: string | null; + excludedColumns?: string[] | null; + fatturaPedaneSeparate?: boolean | null; + fido?: number | null; + flagAddBollo?: string | null; + flagPrzCons?: boolean | null; + flagSpese?: string | null; + flagSpeseArt?: string | null; + flagStampaPrezzi?: string | null; + flagStato?: string | null; + flagTd?: string | null; + fonte?: string | null; + ggChiusura?: string | null; + gtbAnag?: GtbAnag | null; + iban?: string | null; + idMandato?: string | null; + immagine?: number | null; + impMinOrd?: number | null; + infoComVal?: string | null; + mesiEsclusi?: string | null; + mezzo?: string | null; + mmDecor?: string | null; + nomeNegozio?: string | null; + note?: string | null; + noteCons?: string | null; + noteFido?: string | null; + numCc?: string | null; + parent?: any | null; + percProv?: number | null; + percProv2?: number | null; + periodFat?: string | null; + porto?: string | null; + queryTimeoutSeconds?: number | null; + sconto1?: number | null; + sconto2?: number | null; + solvibilita?: number | null; + tableName?: string | null; + termCons?: string | null; + tipoFatDif?: string | null; + tipoNegozio?: string | null; + transactionGroupId?: number | null; + ttbClieLine?: TtbClieLine[] | null; + type: "vtb_clie"; + valutazione?: number | null; + + constructor(data: VtbClie) { + super(data); + this.agenziaBanca = data.agenziaBanca; + this.applicationName = data.applicationName; + this.codAbi = data.codAbi; + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codAnagStat = data.codAnagStat; + this.codAssicurato = data.codAssicurato; + this.codBanc = data.codBanc; + this.codBancAzi = data.codBancAzi; + this.codBic = data.codBic; + this.codCab = data.codCab; + this.codCconCosti = data.codCconCosti; + this.codCconRicavi = data.codCconRicavi; + this.codComVal = data.codComVal; + this.codDtipSped = data.codDtipSped; + this.codFidelity = data.codFidelity; + this.codFornFido = data.codFornFido; + this.codGriglia = data.codGriglia; + this.codMdep = data.codMdep; + this.codPaga = data.codPaga; + this.codScoCli = data.codScoCli; + this.codVage = data.codVage; + this.codVage2 = data.codVage2; + this.codVass = data.codVass; + this.codVatt = data.codVatt; + this.codVcom = data.codVcom; + this.codVgrpAcq = data.codVgrpAcq; + this.codVlis = data.codVlis; + this.codVpre = data.codVpre; + this.codVseg = data.codVseg; + this.codVset = data.codVset; + this.codVtbloccons = data.codVtbloccons; + this.codVtip = data.codVtip; + this.codVtipFido = data.codVtipFido; + this.codVvet = data.codVvet; + this.codVvet2 = data.codVvet2; + this.codVzon = data.codVzon; + this.costoEsenzione = data.costoEsenzione; + this.countFidelity = data.countFidelity; + this.dataConsObbl = data.dataConsObbl; + this.dataConsStart = data.dataConsStart; + this.dataConsStop = data.dataConsStop; + this.dataFineFido = data.dataFineFido; + this.dataInizAttivita = data.dataInizAttivita; + this.dataInizFido = data.dataInizFido; + this.dataMandato = data.dataMandato; + this.descrEsenzione = data.descrEsenzione; + this.eanFidelity = data.eanFidelity; + this.excludedColumns = data.excludedColumns; + this.fatturaPedaneSeparate = data.fatturaPedaneSeparate; + this.fido = data.fido; + this.flagAddBollo = data.flagAddBollo; + this.flagPrzCons = data.flagPrzCons; + this.flagSpese = data.flagSpese; + this.flagSpeseArt = data.flagSpeseArt; + this.flagStampaPrezzi = data.flagStampaPrezzi; + this.flagStato = data.flagStato; + this.flagTd = data.flagTd; + this.fonte = data.fonte; + this.ggChiusura = data.ggChiusura; + this.gtbAnag = data.gtbAnag; + this.iban = data.iban; + this.idMandato = data.idMandato; + this.immagine = data.immagine; + this.impMinOrd = data.impMinOrd; + this.infoComVal = data.infoComVal; + this.mesiEsclusi = data.mesiEsclusi; + this.mezzo = data.mezzo; + this.mmDecor = data.mmDecor; + this.nomeNegozio = data.nomeNegozio; + this.note = data.note; + this.noteCons = data.noteCons; + this.noteFido = data.noteFido; + this.numCc = data.numCc; + this.parent = data.parent; + this.percProv = data.percProv; + this.percProv2 = data.percProv2; + this.periodFat = data.periodFat; + this.porto = data.porto; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.solvibilita = data.solvibilita; + this.tableName = data.tableName; + this.termCons = data.termCons; + this.tipoFatDif = data.tipoFatDif; + this.tipoNegozio = data.tipoNegozio; + this.transactionGroupId = data.transactionGroupId; + this.ttbClieLine = data.ttbClieLine; + this.valutazione = data.valutazione; + } +} + +export class VtbClieFido extends EntityBase { + codAnag?: string | null; + codVtipFido?: string | null; + dataOper?: Date | null; + fido?: number | null; + idRigaFido?: number | null; + type: "vtb_clie_fido"; + + constructor(data: VtbClieFido) { + super(data); + this.codAnag = data.codAnag; + this.codVtipFido = data.codVtipFido; + this.dataOper = data.dataOper; + this.fido = data.fido; + this.idRigaFido = data.idRigaFido; + } +} + +export class VtbCliePersRif extends EntityBase { + codAnag?: string | null; + codVdes?: string | null; + dataUltAgg?: Date | null; + eMail?: string | null; + fax?: string | null; + idPersRif?: number | null; + mansione?: string | null; + numCellulare?: string | null; + personaRif?: string | null; + telefono?: string | null; + tipoIndirizzo?: string | null; + type: "vtb_clie_pers_rif"; + + constructor(data: VtbCliePersRif) { + super(data); + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.dataUltAgg = data.dataUltAgg; + this.eMail = data.eMail; + this.fax = data.fax; + this.idPersRif = data.idPersRif; + this.mansione = data.mansione; + this.numCellulare = data.numCellulare; + this.personaRif = data.personaRif; + this.telefono = data.telefono; + this.tipoIndirizzo = data.tipoIndirizzo; + } +} + +export class VtbCompensiTdr extends EntityBase { + codMart?: string | null; + codVcom?: string | null; + percGest?: number | null; + type: "vtb_compensi_tdr"; + valGest?: number | null; + + constructor(data: VtbCompensiTdr) { + super(data); + this.codMart = data.codMart; + this.codVcom = data.codVcom; + this.percGest = data.percGest; + this.valGest = data.valGest; + } +} + +export class VtbCompensiTdt extends EntityBase { + cambio?: number | null; + codDivi?: string | null; + codVcom?: string | null; + descrizione?: string | null; + type: "vtb_compensi_tdt"; + vtbCompensiTdr?: VtbCompensiTdr[] | null; + + constructor(data: VtbCompensiTdt) { + super(data); + this.cambio = data.cambio; + this.codDivi = data.codDivi; + this.codVcom = data.codVcom; + this.descrizione = data.descrizione; + this.vtbCompensiTdr = data.vtbCompensiTdr; + } +} + +export class VtbConcorrenti extends EntityBase { + codConcorrente?: string | null; + concorrente?: string | null; + flagAttivo?: string | null; + piazza?: string | null; + type: "vtb_concorrenti"; + + constructor(data: VtbConcorrenti) { + super(data); + this.codConcorrente = data.codConcorrente; + this.concorrente = data.concorrente; + this.flagAttivo = data.flagAttivo; + this.piazza = data.piazza; + } +} + +export class VtbDest extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + cap?: string | null; + capLegale?: string | null; + citta?: string | null; + cittaLegale?: string | null; + codAcc?: string | null; + codAffiliazione?: string | null; + codAliq?: string | null; + codAliqIn?: string | null; + codAliqOut?: string | null; + codAlis?: string | null; + codAnag?: string | null; + codCentroAzi?: string | null; + codEan?: string | null; + codFisc?: string | null; + codFiscLegale?: string | null; + codGriglia?: string | null; + codMdep?: string | null; + codScoCli?: string | null; + codVage?: string | null; + codVatt?: string | null; + codVcom?: string | null; + codVdes?: string | null; + codVlis?: string | null; + codVpre?: string | null; + codVseg?: string | null; + codVset?: string | null; + codVtip?: string | null; + codVvet?: string | null; + codVzon?: string | null; + cuuPa?: string | null; + dataAttivazione?: Date | null; + dataCessazione?: Date | null; + descrizAliqOut?: string | null; + destinatario?: string | null; + eMail?: string | null; + eMailPec?: string | null; + excludedColumns?: string[] | null; + fax?: string | null; + flagAttivo?: string | null; + flagDomicRiba?: string | null; + flagEsponi?: string | null; + flagStabileOrg?: string | null; + flagStampaPrezzi?: string | null; + fonte?: string | null; + ggChiusura?: string | null; + ggCons?: number | null; + impMinOrd?: number | null; + indirizzo?: string | null; + indirizzoLegale?: string | null; + itinerario?: string | null; + lat?: number | null; + lng?: number | null; + nazione?: string | null; + nazioneLegale?: string | null; + note?: string | null; + parent?: any | null; + partIva?: string | null; + partIvaLegale?: string | null; + personaRif?: string | null; + precode?: string | null; + prov?: string | null; + provLegale?: string | null; + queryTimeoutSeconds?: number | null; + ragSocLegale?: string | null; + tableName?: string | null; + tel?: string | null; + termCons?: string | null; + tipoNegozio?: string | null; + transactionGroupId?: number | null; + type: "vtb_dest"; + vtbDestIntercode?: VtbDestIntercode[] | null; + + constructor(data: VtbDest) { + super(data); + this.applicationName = data.applicationName; + this.cap = data.cap; + this.capLegale = data.capLegale; + this.citta = data.citta; + this.cittaLegale = data.cittaLegale; + this.codAcc = data.codAcc; + this.codAffiliazione = data.codAffiliazione; + this.codAliq = data.codAliq; + this.codAliqIn = data.codAliqIn; + this.codAliqOut = data.codAliqOut; + this.codAlis = data.codAlis; + this.codAnag = data.codAnag; + this.codCentroAzi = data.codCentroAzi; + this.codEan = data.codEan; + this.codFisc = data.codFisc; + this.codFiscLegale = data.codFiscLegale; + this.codGriglia = data.codGriglia; + this.codMdep = data.codMdep; + this.codScoCli = data.codScoCli; + this.codVage = data.codVage; + this.codVatt = data.codVatt; + this.codVcom = data.codVcom; + this.codVdes = data.codVdes; + this.codVlis = data.codVlis; + this.codVpre = data.codVpre; + this.codVseg = data.codVseg; + this.codVset = data.codVset; + this.codVtip = data.codVtip; + this.codVvet = data.codVvet; + this.codVzon = data.codVzon; + this.cuuPa = data.cuuPa; + this.dataAttivazione = data.dataAttivazione; + this.dataCessazione = data.dataCessazione; + this.descrizAliqOut = data.descrizAliqOut; + this.destinatario = data.destinatario; + this.eMail = data.eMail; + this.eMailPec = data.eMailPec; + this.excludedColumns = data.excludedColumns; + this.fax = data.fax; + this.flagAttivo = data.flagAttivo; + this.flagDomicRiba = data.flagDomicRiba; + this.flagEsponi = data.flagEsponi; + this.flagStabileOrg = data.flagStabileOrg; + this.flagStampaPrezzi = data.flagStampaPrezzi; + this.fonte = data.fonte; + this.ggChiusura = data.ggChiusura; + this.ggCons = data.ggCons; + this.impMinOrd = data.impMinOrd; + this.indirizzo = data.indirizzo; + this.indirizzoLegale = data.indirizzoLegale; + this.itinerario = data.itinerario; + this.lat = data.lat; + this.lng = data.lng; + this.nazione = data.nazione; + this.nazioneLegale = data.nazioneLegale; + this.note = data.note; + this.parent = data.parent; + this.partIva = data.partIva; + this.partIvaLegale = data.partIvaLegale; + this.personaRif = data.personaRif; + this.precode = data.precode; + this.prov = data.prov; + this.provLegale = data.provLegale; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.ragSocLegale = data.ragSocLegale; + this.tableName = data.tableName; + this.tel = data.tel; + this.termCons = data.termCons; + this.tipoNegozio = data.tipoNegozio; + this.transactionGroupId = data.transactionGroupId; + this.vtbDestIntercode = data.vtbDestIntercode; + } +} + +export class VtbDestIntercode extends EntityBase { + codAnag?: string | null; + codCarat01?: string | null; + codCarat02?: string | null; + codCarat03?: string | null; + codCarat04?: string | null; + codForn?: string | null; + codVcom?: string | null; + codVdes?: string | null; + codVpre?: string | null; + intercode?: string | null; + tipologia?: string | null; + type: "vtb_dest_intercode"; + + constructor(data: VtbDestIntercode) { + super(data); + this.codAnag = data.codAnag; + this.codCarat01 = data.codCarat01; + this.codCarat02 = data.codCarat02; + this.codCarat03 = data.codCarat03; + this.codCarat04 = data.codCarat04; + this.codForn = data.codForn; + this.codVcom = data.codVcom; + this.codVdes = data.codVdes; + this.codVpre = data.codVpre; + this.intercode = data.intercode; + this.tipologia = data.tipologia; + } +} + +export class VtbDist extends EntityBase { + cambioDiviCont?: number | null; + codBanc?: string | null; + codDiviCont?: string | null; + dataDist?: Date | null; + dataEsportazione?: Date | null; + flagCont?: string | null; + flagEffetti?: string | null; + flagStp?: string | null; + impTot?: number | null; + numCmov?: number | null; + numRic?: number | null; + percAnticipo?: number | null; + rifDist?: number | null; + tipoPaga?: string | null; + type: "vtb_dist"; + vtbRiba?: VtbRiba[] | null; + + constructor(data: VtbDist) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codBanc = data.codBanc; + this.codDiviCont = data.codDiviCont; + this.dataDist = data.dataDist; + this.dataEsportazione = data.dataEsportazione; + this.flagCont = data.flagCont; + this.flagEffetti = data.flagEffetti; + this.flagStp = data.flagStp; + this.impTot = data.impTot; + this.numCmov = data.numCmov; + this.numRic = data.numRic; + this.percAnticipo = data.percAnticipo; + this.rifDist = data.rifDist; + this.tipoPaga = data.tipoPaga; + this.vtbRiba = data.vtbRiba; + } +} + +export class VtbDistIncar extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + codPaga?: string | null; + codVdes?: string | null; + compilatoDa?: string | null; + dataDist?: Date | null; + dataDoc?: Date | null; + dataIns?: Date | null; + descrizPaga?: string | null; + flagRegAcc?: string | null; + flagTipoFatturazione?: string | null; + idRiga?: number | null; + impIncasso?: number | null; + numDist?: number | null; + numDoc?: number | null; + serDoc?: string | null; + type: "vtb_dist_incar"; + + constructor(data: VtbDistIncar) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codPaga = data.codPaga; + this.codVdes = data.codVdes; + this.compilatoDa = data.compilatoDa; + this.dataDist = data.dataDist; + this.dataDoc = data.dataDoc; + this.dataIns = data.dataIns; + this.descrizPaga = data.descrizPaga; + this.flagRegAcc = data.flagRegAcc; + this.flagTipoFatturazione = data.flagTipoFatturazione; + this.idRiga = data.idRiga; + this.impIncasso = data.impIncasso; + this.numDist = data.numDist; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class VtbDistIncat extends EntityBase { + codCassa?: string | null; + codMdep?: string | null; + codVage?: string | null; + codVvet?: string | null; + controllatoDa?: string | null; + dataChk?: Date | null; + dataDist?: Date | null; + dataReg?: Date | null; + numCmov?: number | null; + numDist?: number | null; + registratoDa?: string | null; + type: "vtb_dist_incat"; + vtbDistIncar?: VtbDistIncar[] | null; + + constructor(data: VtbDistIncat) { + super(data); + this.codCassa = data.codCassa; + this.codMdep = data.codMdep; + this.codVage = data.codVage; + this.codVvet = data.codVvet; + this.controllatoDa = data.controllatoDa; + this.dataChk = data.dataChk; + this.dataDist = data.dataDist; + this.dataReg = data.dataReg; + this.numCmov = data.numCmov; + this.numDist = data.numDist; + this.registratoDa = data.registratoDa; + this.vtbDistIncar = data.vtbDistIncar; + } +} + +export class VtbFidelity extends EntityBase { + codFidelity?: string | null; + dataFineCampagna?: Date | null; + dataInizioCampagna?: Date | null; + descrizione?: string | null; + flagIncArtscont?: string | null; + flagIncNoart?: string | null; + flagScoVal?: string | null; + impPremio?: number | null; + passo?: number | null; + percScoPremio?: number | null; + qtaPunti?: number | null; + qtaPuntiPasso?: number | null; + tipoAccumulo?: string | null; + type: "vtb_fidelity"; + valImpMin?: number | null; + valScoPremio?: number | null; + vtbFidelityArticoli?: VtbFidelityArticoli[] | null; + + constructor(data: VtbFidelity) { + super(data); + this.codFidelity = data.codFidelity; + this.dataFineCampagna = data.dataFineCampagna; + this.dataInizioCampagna = data.dataInizioCampagna; + this.descrizione = data.descrizione; + this.flagIncArtscont = data.flagIncArtscont; + this.flagIncNoart = data.flagIncNoart; + this.flagScoVal = data.flagScoVal; + this.impPremio = data.impPremio; + this.passo = data.passo; + this.percScoPremio = data.percScoPremio; + this.qtaPunti = data.qtaPunti; + this.qtaPuntiPasso = data.qtaPuntiPasso; + this.tipoAccumulo = data.tipoAccumulo; + this.valImpMin = data.valImpMin; + this.valScoPremio = data.valScoPremio; + this.vtbFidelityArticoli = data.vtbFidelityArticoli; + } +} + +export class VtbFidelityAnag extends EntityBase { + cap?: string | null; + citta?: string | null; + codFidelity?: string | null; + codFisc?: string | null; + codMdep?: string | null; + cognome?: string | null; + comuneNascita?: string | null; + dataIns?: Date | null; + dataMod?: Date | null; + dataNascita?: Date | null; + eMail?: string | null; + eanFidelity?: string | null; + indirizzo?: string | null; + nazione?: string | null; + nome?: string | null; + nominativo?: string | null; + partIva?: string | null; + prov?: string | null; + provNascita?: string | null; + sesso?: string | null; + telefono?: string | null; + type: "vtb_fidelity_anag"; + userName?: string | null; + + constructor(data: VtbFidelityAnag) { + super(data); + this.cap = data.cap; + this.citta = data.citta; + this.codFidelity = data.codFidelity; + this.codFisc = data.codFisc; + this.codMdep = data.codMdep; + this.cognome = data.cognome; + this.comuneNascita = data.comuneNascita; + this.dataIns = data.dataIns; + this.dataMod = data.dataMod; + this.dataNascita = data.dataNascita; + this.eMail = data.eMail; + this.eanFidelity = data.eanFidelity; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.nome = data.nome; + this.nominativo = data.nominativo; + this.partIva = data.partIva; + this.prov = data.prov; + this.provNascita = data.provNascita; + this.sesso = data.sesso; + this.telefono = data.telefono; + this.userName = data.userName; + } +} + +export class VtbFidelityArticoli extends EntityBase { + amountFidelity?: number | null; + codFidelity?: string | null; + codMart?: string | null; + countFidelity?: number | null; + type: "vtb_fidelity_articoli"; + + constructor(data: VtbFidelityArticoli) { + super(data); + this.amountFidelity = data.amountFidelity; + this.codFidelity = data.codFidelity; + this.codMart = data.codMart; + this.countFidelity = data.countFidelity; + } +} + +export class VtbGriglia extends EntityBase { + codGriglia?: string | null; + dataValidita?: Date | null; + descrizione?: string | null; + type: "vtb_griglia"; + vtbGrigliaArt?: VtbGrigliaArt[] | null; + + constructor(data: VtbGriglia) { + super(data); + this.codGriglia = data.codGriglia; + this.dataValidita = data.dataValidita; + this.descrizione = data.descrizione; + this.vtbGrigliaArt = data.vtbGrigliaArt; + } +} + +export class VtbGrigliaArt extends EntityBase { + codGriglia?: string | null; + codMart?: string | null; + dataValidita?: Date | null; + type: "vtb_griglia_art"; + + constructor(data: VtbGrigliaArt) { + super(data); + this.codGriglia = data.codGriglia; + this.codMart = data.codMart; + this.dataValidita = data.dataValidita; + } +} + +export class VtbGrpAcq extends EntityBase { + codVass?: string | null; + codVgrpAcq?: string | null; + descrizione?: string | null; + type: "vtb_grp_acq"; + + constructor(data: VtbGrpAcq) { + super(data); + this.codVass = data.codVass; + this.codVgrpAcq = data.codVgrpAcq; + this.descrizione = data.descrizione; + } +} + +export class VtbIspe extends EntityBase { + cap?: string | null; + citta?: string | null; + codFisc?: string | null; + codVage?: string | null; + codVisp?: string | null; + eMail?: string | null; + fax?: string | null; + indirizzo?: string | null; + nazione?: string | null; + note?: string | null; + partIva?: string | null; + prov?: string | null; + ragSoc?: string | null; + tel?: string | null; + type: "vtb_ispe"; + vtbAgen?: VtbAgen[] | null; + + constructor(data: VtbIspe) { + super(data); + this.cap = data.cap; + this.citta = data.citta; + this.codFisc = data.codFisc; + this.codVage = data.codVage; + this.codVisp = data.codVisp; + this.eMail = data.eMail; + this.fax = data.fax; + this.indirizzo = data.indirizzo; + this.nazione = data.nazione; + this.note = data.note; + this.partIva = data.partIva; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.tel = data.tel; + this.vtbAgen = data.vtbAgen; + } +} + +export class VtbList extends EntityBase { + arrCam?: number | null; + arrRic?: number | null; + cambio?: number | null; + codDivi?: string | null; + codVlis?: string | null; + codVlisRif?: string | null; + descrizione?: string | null; + flagAddSfrido?: boolean | null; + flagAddTrasp?: boolean | null; + flagArrPrzIva?: string | null; + flagAttivo?: string | null; + flagCalcoloPrz?: string | null; + flagECommerce?: string | null; + flagListIvaInclusa?: string | null; + flagLisvMargine?: string | null; + flagRicScatto?: string | null; + percGest?: number | null; + percIspe?: number | null; + percOneri?: number | null; + percPromo?: number | null; + percProv?: number | null; + percRecSpese?: number | null; + ricarica?: number | null; + type: "vtb_list"; + versioneRif?: number | null; + vtbList?: VtbList[] | null; + vtbListData?: VtbListData[] | null; + vtbListPremi?: VtbListPremi[] | null; + + constructor(data: VtbList) { + super(data); + this.arrCam = data.arrCam; + this.arrRic = data.arrRic; + this.cambio = data.cambio; + this.codDivi = data.codDivi; + this.codVlis = data.codVlis; + this.codVlisRif = data.codVlisRif; + this.descrizione = data.descrizione; + this.flagAddSfrido = data.flagAddSfrido; + this.flagAddTrasp = data.flagAddTrasp; + this.flagArrPrzIva = data.flagArrPrzIva; + this.flagAttivo = data.flagAttivo; + this.flagCalcoloPrz = data.flagCalcoloPrz; + this.flagECommerce = data.flagECommerce; + this.flagListIvaInclusa = data.flagListIvaInclusa; + this.flagLisvMargine = data.flagLisvMargine; + this.flagRicScatto = data.flagRicScatto; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.percProv = data.percProv; + this.percRecSpese = data.percRecSpese; + this.ricarica = data.ricarica; + this.versioneRif = data.versioneRif; + this.vtbList = data.vtbList; + this.vtbListData = data.vtbListData; + this.vtbListPremi = data.vtbListPremi; + } +} + +export class VtbListDTO implements Serializable { + arr_cam?: number | null; + arr_ric?: number | null; + cambio?: number | null; + cod_divi?: string | null; + cod_vlis?: string | null; + descr?: string | null; + flag_calcolo_prz?: string | null; + flag_ric_scatto?: string | null; + ricarica?: number | null; + + constructor(data: VtbListDTO) { + this.arr_cam = data.arr_cam; + this.arr_ric = data.arr_ric; + this.cambio = data.cambio; + this.cod_divi = data.cod_divi; + this.cod_vlis = data.cod_vlis; + this.descr = data.descr; + this.flag_calcolo_prz = data.flag_calcolo_prz; + this.flag_ric_scatto = data.flag_ric_scatto; + this.ricarica = data.ricarica; + } +} + +export class VtbListData extends EntityBase { + checkDataFine?: boolean | null; + checkDataIniz?: boolean | null; + cifreDec?: number | null; + codPromo?: string | null; + codVlis?: string | null; + codVlisRif?: string | null; + cod_divi?: string | null; + condizioniComm?: string | null; + dataAtt?: Date | null; + dataFine?: Date | null; + dataIniz?: Date | null; + dataTrasmissione?: Date | null; + dataTrasmissioneFinePromo?: Date | null; + dataUltVar?: Date | null; + datiLogistici?: boolean | null; + descrPromo?: string | null; + descrizione?: string | null; + flagVolantino?: boolean | null; + mtbLisvData?: MtbLisvData[] | null; + mtbLisvDataSpese?: MtbLisvDataSpese[] | null; + note?: string | null; + porto?: string | null; + ricarica?: number | null; + type: "vtb_list_data"; + versione?: number | null; + versioneRif?: number | null; + vtbList?: VtbList | null; + vtbListData?: VtbListData[] | null; + vtbPromo?: VtbPromo | null; + + constructor(data: VtbListData) { + super(data); + this.checkDataFine = data.checkDataFine; + this.checkDataIniz = data.checkDataIniz; + this.cifreDec = data.cifreDec; + this.codPromo = data.codPromo; + this.codVlis = data.codVlis; + this.codVlisRif = data.codVlisRif; + this.cod_divi = data.cod_divi; + this.condizioniComm = data.condizioniComm; + this.dataAtt = data.dataAtt; + this.dataFine = data.dataFine; + this.dataIniz = data.dataIniz; + this.dataTrasmissione = data.dataTrasmissione; + this.dataTrasmissioneFinePromo = data.dataTrasmissioneFinePromo; + this.dataUltVar = data.dataUltVar; + this.datiLogistici = data.datiLogistici; + this.descrPromo = data.descrPromo; + this.descrizione = data.descrizione; + this.flagVolantino = data.flagVolantino; + this.mtbLisvData = data.mtbLisvData; + this.mtbLisvDataSpese = data.mtbLisvDataSpese; + this.note = data.note; + this.porto = data.porto; + this.ricarica = data.ricarica; + this.versione = data.versione; + this.versioneRif = data.versioneRif; + this.vtbList = data.vtbList; + this.vtbListData = data.vtbListData; + this.vtbPromo = data.vtbPromo; + } +} + +export class VtbListPremi extends EntityBase { + aDataFat?: Date | null; + aImportoFat?: number | null; + aImportoFat02?: number | null; + aImportoFat03?: number | null; + aImportoFat04?: number | null; + codVlis?: string | null; + daDataFat?: Date | null; + daImportoFat?: number | null; + dataMaturaz?: Date | null; + descrizione?: string | null; + fatturatoBdg?: number | null; + flagLiquidato?: string | null; + idRiga?: number | null; + importoLiquid?: number | null; + note?: string | null; + percFat?: number | null; + percFat02?: number | null; + percFat03?: number | null; + percFat04?: number | null; + type: "vtb_list_premi"; + valoreFisso?: number | null; + + constructor(data: VtbListPremi) { + super(data); + this.aDataFat = data.aDataFat; + this.aImportoFat = data.aImportoFat; + this.aImportoFat02 = data.aImportoFat02; + this.aImportoFat03 = data.aImportoFat03; + this.aImportoFat04 = data.aImportoFat04; + this.codVlis = data.codVlis; + this.daDataFat = data.daDataFat; + this.daImportoFat = data.daImportoFat; + this.dataMaturaz = data.dataMaturaz; + this.descrizione = data.descrizione; + this.fatturatoBdg = data.fatturatoBdg; + this.flagLiquidato = data.flagLiquidato; + this.idRiga = data.idRiga; + this.importoLiquid = data.importoLiquid; + this.note = data.note; + this.percFat = data.percFat; + this.percFat02 = data.percFat02; + this.percFat03 = data.percFat03; + this.percFat04 = data.percFat04; + this.valoreFisso = data.valoreFisso; + } +} + +export class VtbMzon extends EntityBase { + codVmzo?: string | null; + descrizione?: string | null; + type: "vtb_mzon"; + vtbZone?: VtbZone[] | null; + + constructor(data: VtbMzon) { + super(data); + this.codVmzo = data.codVmzo; + this.descrizione = data.descrizione; + this.vtbZone = data.vtbZone; + } +} + +export class VtbOffr extends EntityBase implements EquatableEntityInterface { + applicationName?: string | null; + codMart?: string | null; + codMartOrig?: string | null; + costoUnt?: number | null; + dataFineContr?: Date | null; + dataInizContr?: Date | null; + descrizione?: string | null; + descrizioneHtml?: string | null; + excludedColumns?: string[] | null; + idOfferta?: number | null; + jsonCosti?: string | null; + note?: string | null; + parent?: any | null; + percSco1?: number | null; + percSco2?: number | null; + percSco3?: number | null; + percSco4?: number | null; + przUnt?: number | null; + qtaCnf?: number | null; + qtaDoc?: number | null; + qtaFatt?: number | null; + qtaOff?: number | null; + qtaOrd?: number | null; + queryTimeoutSeconds?: number | null; + rapConv?: number | null; + rapConvVend?: number | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "vtb_offr"; + untMis?: string | null; + untMisVend?: string | null; + + constructor(data: VtbOffr) { + super(data); + this.applicationName = data.applicationName; + this.codMart = data.codMart; + this.codMartOrig = data.codMartOrig; + this.costoUnt = data.costoUnt; + this.dataFineContr = data.dataFineContr; + this.dataInizContr = data.dataInizContr; + this.descrizione = data.descrizione; + this.descrizioneHtml = data.descrizioneHtml; + this.excludedColumns = data.excludedColumns; + this.idOfferta = data.idOfferta; + this.jsonCosti = data.jsonCosti; + this.note = data.note; + this.parent = data.parent; + this.percSco1 = data.percSco1; + this.percSco2 = data.percSco2; + this.percSco3 = data.percSco3; + this.percSco4 = data.percSco4; + this.przUnt = data.przUnt; + this.qtaCnf = data.qtaCnf; + this.qtaDoc = data.qtaDoc; + this.qtaFatt = data.qtaFatt; + this.qtaOff = data.qtaOff; + this.qtaOrd = data.qtaOrd; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.rapConv = data.rapConv; + this.rapConvVend = data.rapConvVend; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.untMis = data.untMis; + this.untMisVend = data.untMisVend; + } +} + +export class VtbOfft extends EntityBase implements EquatableEntityInterface { + activityId?: string | null; + applicationName?: string | null; + codAnag?: string | null; + codPaga?: string | null; + codVdes?: string | null; + dataIns?: Date | null; + dataOff?: Date | null; + dataScadOff?: Date | null; + dataUltMod?: Date | null; + excludedColumns?: string[] | null; + idOfferta?: number | null; + inseritoDa?: string | null; + modificatoDa?: string | null; + note?: string | null; + parent?: any | null; + queryTimeoutSeconds?: number | null; + statoOfferta?: VtbOfftStatoOfferta | null; + stbActivity?: StbActivity | null; + tableName?: string | null; + transactionGroupId?: number | null; + type: "vtb_offt"; + vtbOffr?: VtbOffr[] | null; + + constructor(data: VtbOfft) { + super(data); + this.activityId = data.activityId; + this.applicationName = data.applicationName; + this.codAnag = data.codAnag; + this.codPaga = data.codPaga; + this.codVdes = data.codVdes; + this.dataIns = data.dataIns; + this.dataOff = data.dataOff; + this.dataScadOff = data.dataScadOff; + this.dataUltMod = data.dataUltMod; + this.excludedColumns = data.excludedColumns; + this.idOfferta = data.idOfferta; + this.inseritoDa = data.inseritoDa; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.parent = data.parent; + this.queryTimeoutSeconds = data.queryTimeoutSeconds; + this.statoOfferta = data.statoOfferta; + this.stbActivity = data.stbActivity; + this.tableName = data.tableName; + this.transactionGroupId = data.transactionGroupId; + this.vtbOffr = data.vtbOffr; + } +} + +export class VtbPremiArtr extends EntityBase { + codMart?: string | null; + codVpre?: string | null; + percPremio?: number | null; + type: "vtb_premi_artr"; + valPremio?: number | null; + + constructor(data: VtbPremiArtr) { + super(data); + this.codMart = data.codMart; + this.codVpre = data.codVpre; + this.percPremio = data.percPremio; + this.valPremio = data.valPremio; + } +} + +export class VtbPremiArtt extends EntityBase { + cambio?: number | null; + codDivi?: string | null; + codVpre?: string | null; + descrizione?: string | null; + type: "vtb_premi_artt"; + vtbPremiArtr?: VtbPremiArtr[] | null; + + constructor(data: VtbPremiArtt) { + super(data); + this.cambio = data.cambio; + this.codDivi = data.codDivi; + this.codVpre = data.codVpre; + this.descrizione = data.descrizione; + this.vtbPremiArtr = data.vtbPremiArtr; + } +} + +export class VtbPromo extends EntityBase { + codAliq?: string | null; + codPromo?: string | null; + codPromoIntercode?: string | null; + dataFineSellIn?: Date | null; + dataFineSellOut?: Date | null; + dataInizSellIn?: Date | null; + dataInizSellOut?: Date | null; + descArticoliPromo?: string | null; + desc_clienti?: string | null; + descrizione?: string | null; + filtroArticoliOmaggio?: string | null; + filtroArticoliPromo?: string | null; + filtroClienti?: string | null; + flagAttivo?: string | null; + flagPromoRimb?: string | null; + flagScontoContrattuale?: string | null; + flagTipoPromo?: string | null; + flagTipologia?: string | null; + flagVolantino?: boolean | null; + intercodeXmlVariazioni?: string | null; + przBloccato?: number | null; + qtVend?: number | null; + qtaOmaggio?: number | null; + type: "vtb_promo"; + umOmaggio?: string | null; + umVend?: string | null; + + constructor(data: VtbPromo) { + super(data); + this.codAliq = data.codAliq; + this.codPromo = data.codPromo; + this.codPromoIntercode = data.codPromoIntercode; + this.dataFineSellIn = data.dataFineSellIn; + this.dataFineSellOut = data.dataFineSellOut; + this.dataInizSellIn = data.dataInizSellIn; + this.dataInizSellOut = data.dataInizSellOut; + this.descArticoliPromo = data.descArticoliPromo; + this.desc_clienti = data.desc_clienti; + this.descrizione = data.descrizione; + this.filtroArticoliOmaggio = data.filtroArticoliOmaggio; + this.filtroArticoliPromo = data.filtroArticoliPromo; + this.filtroClienti = data.filtroClienti; + this.flagAttivo = data.flagAttivo; + this.flagPromoRimb = data.flagPromoRimb; + this.flagScontoContrattuale = data.flagScontoContrattuale; + this.flagTipoPromo = data.flagTipoPromo; + this.flagTipologia = data.flagTipologia; + this.flagVolantino = data.flagVolantino; + this.intercodeXmlVariazioni = data.intercodeXmlVariazioni; + this.przBloccato = data.przBloccato; + this.qtVend = data.qtVend; + this.qtaOmaggio = data.qtaOmaggio; + this.umOmaggio = data.umOmaggio; + this.umVend = data.umVend; + } +} + +export class VtbRangeRicarico extends EntityBase { + codMgrp?: string | null; + codMsgr?: string | null; + flagAttivo?: boolean | null; + flagMultiplo?: string | null; + flagTipoRicarico?: string | null; + ricaricoMax?: number | null; + ricaricoMin?: number | null; + tipoArr?: string | null; + type: "vtb_range_ricarico"; + valArr?: number | null; + + constructor(data: VtbRangeRicarico) { + super(data); + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.flagAttivo = data.flagAttivo; + this.flagMultiplo = data.flagMultiplo; + this.flagTipoRicarico = data.flagTipoRicarico; + this.ricaricoMax = data.ricaricoMax; + this.ricaricoMin = data.ricaricoMin; + this.tipoArr = data.tipoArr; + this.valArr = data.valArr; + } +} + +export class VtbRiba extends EntityBase { + cambioDiviCont?: number | null; + codAnag?: string | null; + codDiviCont?: string | null; + dataDist?: Date | null; + dataDoc?: Date | null; + dataRientroCast?: Date | null; + dataScad?: Date | null; + dataValuta?: Date | null; + idGruppo?: number | null; + impScad?: number | null; + numDoc?: number | null; + numScad?: number | null; + rifDebito?: string | null; + rifDist?: number | null; + riga?: number | null; + segno?: number | null; + serDoc?: string | null; + tipoAnag?: string | null; + type: "vtb_riba"; + + constructor(data: VtbRiba) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codAnag = data.codAnag; + this.codDiviCont = data.codDiviCont; + this.dataDist = data.dataDist; + this.dataDoc = data.dataDoc; + this.dataRientroCast = data.dataRientroCast; + this.dataScad = data.dataScad; + this.dataValuta = data.dataValuta; + this.idGruppo = data.idGruppo; + this.impScad = data.impScad; + this.numDoc = data.numDoc; + this.numScad = data.numScad; + this.rifDebito = data.rifDebito; + this.rifDist = data.rifDist; + this.riga = data.riga; + this.segno = data.segno; + this.serDoc = data.serDoc; + this.tipoAnag = data.tipoAnag; + } +} + +export class VtbRicarSugg extends EntityBase { + codAnag?: string | null; + codDivi?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + daImporto?: number | null; + percRicarica?: number | null; + type: "vtb_ricar_sugg"; + + constructor(data: VtbRicarSugg) { + super(data); + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.daImporto = data.daImporto; + this.percRicarica = data.percRicarica; + } +} + +export class VtbRicariche extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + daImporto?: number | null; + percRicarica?: number | null; + type: "vtb_ricariche"; + untMis?: string | null; + + constructor(data: VtbRicariche) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.daImporto = data.daImporto; + this.percRicarica = data.percRicarica; + this.untMis = data.untMis; + } +} + +export class VtbRilPrzr extends EntityBase { + barcode?: string | null; + codConcorrente?: string | null; + codMart?: string | null; + compilatoDa?: string | null; + dataIns?: Date | null; + dataUltMod?: Date | null; + flagPromo?: string | null; + idRil?: number | null; + modificatoDa?: string | null; + note?: string | null; + prezzoRil?: number | null; + type: "vtb_ril_przr"; + + constructor(data: VtbRilPrzr) { + super(data); + this.barcode = data.barcode; + this.codConcorrente = data.codConcorrente; + this.codMart = data.codMart; + this.compilatoDa = data.compilatoDa; + this.dataIns = data.dataIns; + this.dataUltMod = data.dataUltMod; + this.flagPromo = data.flagPromo; + this.idRil = data.idRil; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.prezzoRil = data.prezzoRil; + } +} + +export class VtbRilPrzt extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + compilatoDa?: string | null; + dataDoc?: Date | null; + dataIns?: Date | null; + dataRil?: Date | null; + dataUltMod?: Date | null; + idRil?: number | null; + modificatoDa?: string | null; + note?: string | null; + numDoc?: number | null; + operatore?: string | null; + serDoc?: string | null; + type: "vtb_ril_przt"; + vtbRilPrzr?: VtbRilPrzr[] | null; + + constructor(data: VtbRilPrzt) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.compilatoDa = data.compilatoDa; + this.dataDoc = data.dataDoc; + this.dataIns = data.dataIns; + this.dataRil = data.dataRil; + this.dataUltMod = data.dataUltMod; + this.idRil = data.idRil; + this.modificatoDa = data.modificatoDa; + this.note = data.note; + this.numDoc = data.numDoc; + this.operatore = data.operatore; + this.serDoc = data.serDoc; + this.vtbRilPrzr = data.vtbRilPrzr; + } +} + +export class VtbScar extends EntityBase { + codScoArt?: string | null; + descrizione?: string | null; + type: "vtb_scar"; + + constructor(data: VtbScar) { + super(data); + this.codScoArt = data.codScoArt; + this.descrizione = data.descrizione; + } +} + +export class VtbSccl extends EntityBase { + codScoCli?: string | null; + contratto?: string | null; + descrizione?: string | null; + type: "vtb_sccl"; + + constructor(data: VtbSccl) { + super(data); + this.codScoCli = data.codScoCli; + this.contratto = data.contratto; + this.descrizione = data.descrizione; + } +} + +export class VtbScon extends EntityBase { + cambioDiviCont?: number | null; + codDiviCont?: string | null; + codScoArt?: string | null; + codScoCli?: string | null; + codVage?: string | null; + codVlis?: string | null; + fissoProv?: number | null; + percGest?: number | null; + percIspe?: number | null; + percOneri?: number | null; + percPromo?: number | null; + percProv?: number | null; + percSco1?: number | null; + percSco2?: number | null; + percSco3?: number | null; + percSco4?: number | null; + type: "vtb_scon"; + valGest?: number | null; + valIspe?: number | null; + valOneri?: number | null; + valPromo?: number | null; + vtbScar?: VtbScar | null; + vtbSccl?: VtbSccl | null; + + constructor(data: VtbScon) { + super(data); + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.codScoArt = data.codScoArt; + this.codScoCli = data.codScoCli; + this.codVage = data.codVage; + this.codVlis = data.codVlis; + this.fissoProv = data.fissoProv; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percOneri = data.percOneri; + this.percPromo = data.percPromo; + this.percProv = data.percProv; + this.percSco1 = data.percSco1; + this.percSco2 = data.percSco2; + this.percSco3 = data.percSco3; + this.percSco4 = data.percSco4; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valOneri = data.valOneri; + this.valPromo = data.valPromo; + this.vtbScar = data.vtbScar; + this.vtbSccl = data.vtbSccl; + } +} + +export class VtbSconDTO implements Serializable { + cod_sco_art?: string | null; + cod_sco_cli?: string | null; + cod_vlis?: string | null; + s1?: number | null; + s2?: number | null; + + constructor(data: VtbSconDTO) { + this.cod_sco_art = data.cod_sco_art; + this.cod_sco_cli = data.cod_sco_cli; + this.cod_vlis = data.cod_vlis; + this.s1 = data.s1; + this.s2 = data.s2; + } +} + +export class VtbSconFasce extends EntityBase { + aImporto?: number | null; + cambioDiviCont?: number | null; + codDiviCont?: string | null; + daImporto?: number | null; + sconto1?: number | null; + sconto2?: number | null; + sconto3?: number | null; + type: "vtb_scon_fasce"; + + constructor(data: VtbSconFasce) { + super(data); + this.aImporto = data.aImporto; + this.cambioDiviCont = data.cambioDiviCont; + this.codDiviCont = data.codDiviCont; + this.daImporto = data.daImporto; + this.sconto1 = data.sconto1; + this.sconto2 = data.sconto2; + this.sconto3 = data.sconto3; + } +} + +export class VtbSegm extends EntityBase { + codVseg?: string | null; + descrizione?: string | null; + type: "vtb_segm"; + + constructor(data: VtbSegm) { + super(data); + this.codVseg = data.codVseg; + this.descrizione = data.descrizione; + } +} + +export class VtbSett extends EntityBase { + codVset?: string | null; + descrizione?: string | null; + type: "vtb_sett"; + + constructor(data: VtbSett) { + super(data); + this.codVset = data.codVset; + this.descrizione = data.descrizione; + } +} + +export class VtbTipi extends EntityBase { + codVtip?: string | null; + descrizione?: string | null; + type: "vtb_tipi"; + + constructor(data: VtbTipi) { + super(data); + this.codVtip = data.codVtip; + this.descrizione = data.descrizione; + } +} + +export class VtbTipiNegozio extends EntityBase { + tipoNegozio?: string | null; + type: "vtb_tipi_negozio"; + + constructor(data: VtbTipiNegozio) { + super(data); + this.tipoNegozio = data.tipoNegozio; + } +} + +export class VtbTipoBlocCons extends EntityBase { + codVtbloccons?: string | null; + descrizione?: string | null; + type: "vtb_tipo_bloc_cons"; + + constructor(data: VtbTipoBlocCons) { + super(data); + this.codVtbloccons = data.codVtbloccons; + this.descrizione = data.descrizione; + } +} + +export class VtbTipoFido extends EntityBase { + codVtipFido?: string | null; + defaultVal?: string | null; + descrizione?: string | null; + flagAggiornaAnag?: string | null; + type: "vtb_tipo_fido"; + + constructor(data: VtbTipoFido) { + super(data); + this.codVtipFido = data.codVtipFido; + this.defaultVal = data.defaultVal; + this.descrizione = data.descrizione; + this.flagAggiornaAnag = data.flagAggiornaAnag; + } +} + +export class VtbVetr extends EntityBase { + aQta?: number | null; + codDivi?: string | null; + codSpes?: string | null; + codVvet?: string | null; + daQta?: number | null; + idRiga?: string | null; + impFisso?: number | null; + impUnt?: number | null; + type: "vtb_vetr"; + + constructor(data: VtbVetr) { + super(data); + this.aQta = data.aQta; + this.codDivi = data.codDivi; + this.codSpes = data.codSpes; + this.codVvet = data.codVvet; + this.daQta = data.daQta; + this.idRiga = data.idRiga; + this.impFisso = data.impFisso; + this.impUnt = data.impUnt; + } +} + +export class VtbVett extends EntityBase { + archiviazioneElettronica?: boolean | null; + cap?: string | null; + citta?: string | null; + codAnag?: string | null; + codLettVett?: string | null; + codVvet?: string | null; + coefVol?: number | null; + eMail?: string | null; + fax?: string | null; + flagAttivo?: string | null; + indirizzo?: string | null; + modStamp?: string | null; + nazione?: string | null; + note?: string | null; + numAutoriz?: string | null; + partIva?: string | null; + precode?: string | null; + prov?: string | null; + ragSoc?: string | null; + telefono?: string | null; + type: "vtb_vett"; + vtbVetr?: VtbVetr[] | null; + vtbVettTarghe?: VtbVettTarghe[] | null; + + constructor(data: VtbVett) { + super(data); + this.archiviazioneElettronica = data.archiviazioneElettronica; + this.cap = data.cap; + this.citta = data.citta; + this.codAnag = data.codAnag; + this.codLettVett = data.codLettVett; + this.codVvet = data.codVvet; + this.coefVol = data.coefVol; + this.eMail = data.eMail; + this.fax = data.fax; + this.flagAttivo = data.flagAttivo; + this.indirizzo = data.indirizzo; + this.modStamp = data.modStamp; + this.nazione = data.nazione; + this.note = data.note; + this.numAutoriz = data.numAutoriz; + this.partIva = data.partIva; + this.precode = data.precode; + this.prov = data.prov; + this.ragSoc = data.ragSoc; + this.telefono = data.telefono; + this.vtbVetr = data.vtbVetr; + this.vtbVettTarghe = data.vtbVettTarghe; + } +} + +export class VtbVettLett extends EntityBase { + codClieInt?: string | null; + codLettVett?: string | null; + codSospensione?: string | null; + descrizione?: string | null; + flagSospendiInternazionali?: string | null; + flagSospendiNazionali?: string | null; + formato?: string | null; + mittente?: string | null; + mittenteInt?: string | null; + numVettFine?: number | null; + numVettIniz?: number | null; + numVettIntFine?: number | null; + numVettIntIniz?: number | null; + numVettIntUlt?: number | null; + numVettUlt?: number | null; + password?: string | null; + pathFile?: string | null; + precode?: string | null; + sitoFtp?: string | null; + type: "vtb_vett_lett"; + userName?: string | null; + vtbVettLettPorto?: VtbVettLettPorto[] | null; + vtbVettLettServizi?: VtbVettLettServizi[] | null; + + constructor(data: VtbVettLett) { + super(data); + this.codClieInt = data.codClieInt; + this.codLettVett = data.codLettVett; + this.codSospensione = data.codSospensione; + this.descrizione = data.descrizione; + this.flagSospendiInternazionali = data.flagSospendiInternazionali; + this.flagSospendiNazionali = data.flagSospendiNazionali; + this.formato = data.formato; + this.mittente = data.mittente; + this.mittenteInt = data.mittenteInt; + this.numVettFine = data.numVettFine; + this.numVettIniz = data.numVettIniz; + this.numVettIntFine = data.numVettIntFine; + this.numVettIntIniz = data.numVettIntIniz; + this.numVettIntUlt = data.numVettIntUlt; + this.numVettUlt = data.numVettUlt; + this.password = data.password; + this.pathFile = data.pathFile; + this.precode = data.precode; + this.sitoFtp = data.sitoFtp; + this.userName = data.userName; + this.vtbVettLettPorto = data.vtbVettLettPorto; + this.vtbVettLettServizi = data.vtbVettLettServizi; + } +} + +export class VtbVettLettPorto extends EntityBase { + codLettVett?: string | null; + codServizio?: string | null; + porto?: string | null; + type: "vtb_vett_lett_porto"; + + constructor(data: VtbVettLettPorto) { + super(data); + this.codLettVett = data.codLettVett; + this.codServizio = data.codServizio; + this.porto = data.porto; + } +} + +export class VtbVettLettServizi extends EntityBase { + codLettVett?: string | null; + codServizio?: string | null; + mezzo?: string | null; + type: "vtb_vett_lett_servizi"; + + constructor(data: VtbVettLettServizi) { + super(data); + this.codLettVett = data.codLettVett; + this.codServizio = data.codServizio; + this.mezzo = data.mezzo; + } +} + +export class VtbVettTarghe extends EntityBase { + codVvet?: string | null; + targa?: string | null; + tipo?: string | null; + type: "vtb_vett_targhe"; + + constructor(data: VtbVettTarghe) { + super(data); + this.codVvet = data.codVvet; + this.targa = data.targa; + this.tipo = data.tipo; + } +} + +export class VtbVettZone extends EntityBase { + codVvet?: string | null; + codZonaTarif?: string | null; + descrizione?: string | null; + type: "vtb_vett_zone"; + + constructor(data: VtbVettZone) { + super(data); + this.codVvet = data.codVvet; + this.codZonaTarif = data.codZonaTarif; + this.descrizione = data.descrizione; + } +} + +export class VtbViaggi extends EntityBase { + codAuto?: string | null; + codFornTrasp?: string | null; + codVvet?: string | null; + codVzon?: string | null; + container?: string | null; + dataOraInizTrasp?: Date | null; + destinazione?: string | null; + flagRitirClie?: boolean | null; + gtbMezzo?: GtbMezzo | null; + idViaggio?: string | null; + incoterms?: string | null; + mezzo?: string | null; + nave?: string | null; + note?: string | null; + noteIncoterms?: string | null; + numPrenotazione?: string | null; + portoCarico?: string | null; + posizione?: number | null; + recalcPosizione?: boolean | null; + sigillo?: string | null; + stato?: Stato | null; + targa?: string | null; + type: "vtb_viaggi"; + vtbViaggiList?: VtbViaggi[] | null; + + constructor(data: VtbViaggi) { + super(data); + this.codAuto = data.codAuto; + this.codFornTrasp = data.codFornTrasp; + this.codVvet = data.codVvet; + this.codVzon = data.codVzon; + this.container = data.container; + this.dataOraInizTrasp = data.dataOraInizTrasp; + this.destinazione = data.destinazione; + this.flagRitirClie = data.flagRitirClie; + this.gtbMezzo = data.gtbMezzo; + this.idViaggio = data.idViaggio; + this.incoterms = data.incoterms; + this.mezzo = data.mezzo; + this.nave = data.nave; + this.note = data.note; + this.noteIncoterms = data.noteIncoterms; + this.numPrenotazione = data.numPrenotazione; + this.portoCarico = data.portoCarico; + this.posizione = data.posizione; + this.recalcPosizione = data.recalcPosizione; + this.sigillo = data.sigillo; + this.stato = data.stato; + this.targa = data.targa; + this.vtbViaggiList = data.vtbViaggiList; + } +} + +export class VtbZone extends EntityBase { + codVmzo?: string | null; + codVzon?: string | null; + descrizione?: string | null; + type: "vtb_zone"; + + constructor(data: VtbZone) { + super(data); + this.codVmzo = data.codVmzo; + this.codVzon = data.codVzon; + this.descrizione = data.descrizione; + } +} + +export class WMSApprovvigionamentoLineeDTO { + codJfas?: string | null; + codMart?: string | null; + codMgrp?: string | null; + codMsgr?: string | null; + dataFine?: Date | null; + dataInizio?: Date | null; + descrizioneMgrp?: string | null; + descrizioneMsgr?: string | null; + numCnfFabbisogno?: number | null; + numCnfOrd?: number | null; + numCnfVersata?: number | null; + qtaColVersata?: number | null; + qtaFabbisogno?: number | null; + qtaOrd?: number | null; + untMis?: string | null; + + constructor(data: WMSApprovvigionamentoLineeDTO) { + this.codJfas = data.codJfas; + this.codMart = data.codMart; + this.codMgrp = data.codMgrp; + this.codMsgr = data.codMsgr; + this.dataFine = data.dataFine; + this.dataInizio = data.dataInizio; + this.descrizioneMgrp = data.descrizioneMgrp; + this.descrizioneMsgr = data.descrizioneMsgr; + this.numCnfFabbisogno = data.numCnfFabbisogno; + this.numCnfOrd = data.numCnfOrd; + this.numCnfVersata = data.numCnfVersata; + this.qtaColVersata = data.qtaColVersata; + this.qtaFabbisogno = data.qtaFabbisogno; + this.qtaOrd = data.qtaOrd; + this.untMis = data.untMis; + } +} + +export class WMSVersionDTO { + forced?: boolean | null; + latestVersion?: string | null; + latestVersionCode?: number | null; + releaseNotes?: string[] | null; + url?: string | null; + + constructor(data: WMSVersionDTO) { + this.forced = data.forced; + this.latestVersion = data.latestVersion; + this.latestVersionCode = data.latestVersionCode; + this.releaseNotes = data.releaseNotes; + this.url = data.url; + } +} + +export class WbcProductStock implements Serializable { + articolo?: string | null; + codBarre?: string | null; + colore?: string | null; + descr?: string | null; + descrEng?: string | null; + disponibile?: number | null; + taglia?: string | null; + + constructor(data: WbcProductStock) { + this.articolo = data.articolo; + this.codBarre = data.codBarre; + this.colore = data.colore; + this.descr = data.descr; + this.descrEng = data.descrEng; + this.disponibile = data.disponibile; + this.taglia = data.taglia; + } +} + +export class WdtbDocr extends DtbBaseDocR { + codBarre?: string | null; + codDivi?: string | null; + codDtipComp?: string | null; + costoUnt?: number | null; + dataDocComp?: Date | null; + dataScadPartita?: Date | null; + flagElaborato?: string | null; + flagEvasoForzato?: string | null; + flagPrzScontati?: string | null; + numDocComp?: number | null; + percAliq?: number | null; + percGest?: number | null; + percIspe?: number | null; + percProv?: number | null; + qtaDoc?: number | null; + righeKit?: DtbDocOrdR[] | null; + serDocComp?: string | null; + type: "wdtb_docr"; + untDoc?: string | null; + valGest?: number | null; + valIspe?: number | null; + valProv?: number | null; + + constructor(data: WdtbDocr) { + super(data); + this.codBarre = data.codBarre; + this.codDivi = data.codDivi; + this.codDtipComp = data.codDtipComp; + this.costoUnt = data.costoUnt; + this.dataDocComp = data.dataDocComp; + this.dataScadPartita = data.dataScadPartita; + this.flagElaborato = data.flagElaborato; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagPrzScontati = data.flagPrzScontati; + this.numDocComp = data.numDocComp; + this.percAliq = data.percAliq; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percProv = data.percProv; + this.qtaDoc = data.qtaDoc; + this.righeKit = data.righeKit; + this.serDocComp = data.serDocComp; + this.untDoc = data.untDoc; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valProv = data.valProv; + } +} + +export class WdtbDoct extends DtbBaseDocT { + codBancAzi?: string | null; + codLingua?: string | null; + codNewCli?: string | null; + dataMod?: Date | null; + dataRifScad?: Date | null; + dtbTipi?: DtbTipi | null; + flagElaborato?: string | null; + modificatoDa?: string | null; + partIva?: string | null; + rows?: WdtbDocr[] | null; + type: "wdtb_doct"; + wdtbDocr?: WdtbDocr[] | null; + + constructor(data: WdtbDoct) { + super(data); + this.codBancAzi = data.codBancAzi; + this.codLingua = data.codLingua; + this.codNewCli = data.codNewCli; + this.dataMod = data.dataMod; + this.dataRifScad = data.dataRifScad; + this.dtbTipi = data.dtbTipi; + this.flagElaborato = data.flagElaborato; + this.modificatoDa = data.modificatoDa; + this.partIva = data.partIva; + this.wdtbDocr = data.wdtbDocr; + } +} + +export class WdtbDoctDTO { + codAnag?: string | null; + codDtip?: string | null; + dataDoc?: Date | null; + numDoc?: number | null; + serDoc?: string | null; + + constructor(data: WdtbDoctDTO) { + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.dataDoc = data.dataDoc; + this.numDoc = data.numDoc; + this.serDoc = data.serDoc; + } +} + +export class WdtbNewCliOrd extends EntityBase { + cap?: string | null; + capDes?: string | null; + citta?: string | null; + cittaDes?: string | null; + codAbi?: string | null; + codAnag?: string | null; + codAnagImported?: string | null; + codCab?: string | null; + codFisc?: string | null; + codVdes?: string | null; + codVdesImported?: string | null; + cognome?: string | null; + cuuPa?: string | null; + dataInizAttivita?: Date | null; + dataOrd?: Date | null; + destinatario?: string | null; + diacod?: string | null; + eMail?: string | null; + eMailDes?: string | null; + eMailPec?: string | null; + eMailPersRif?: string | null; + fax?: string | null; + faxDes?: string | null; + faxPersRif?: string | null; + gestione?: string | null; + indirizzo?: string | null; + indirizzoDes?: string | null; + intercode?: string | null; + mezzo?: string | null; + nazione?: string | null; + nazioneDes?: string | null; + nome?: string | null; + nomeNegozio?: string | null; + note?: string | null; + noteDes?: string | null; + numCelPersRif?: string | null; + numCell?: string | null; + numOrd?: number | null; + partIva?: string | null; + personaRif?: string | null; + porto?: string | null; + prov?: string | null; + provDes?: string | null; + ragSoc?: string | null; + ragSoc2?: string | null; + serie?: string | null; + telefono?: string | null; + telefonoDes?: string | null; + telefonoPersRif?: string | null; + tipoAzienda?: string | null; + type: "wdtb_new_cli_ord"; + + constructor(data: WdtbNewCliOrd) { + super(data); + this.cap = data.cap; + this.capDes = data.capDes; + this.citta = data.citta; + this.cittaDes = data.cittaDes; + this.codAbi = data.codAbi; + this.codAnag = data.codAnag; + this.codAnagImported = data.codAnagImported; + this.codCab = data.codCab; + this.codFisc = data.codFisc; + this.codVdes = data.codVdes; + this.codVdesImported = data.codVdesImported; + this.cognome = data.cognome; + this.cuuPa = data.cuuPa; + this.dataInizAttivita = data.dataInizAttivita; + this.dataOrd = data.dataOrd; + this.destinatario = data.destinatario; + this.diacod = data.diacod; + this.eMail = data.eMail; + this.eMailDes = data.eMailDes; + this.eMailPec = data.eMailPec; + this.eMailPersRif = data.eMailPersRif; + this.fax = data.fax; + this.faxDes = data.faxDes; + this.faxPersRif = data.faxPersRif; + this.gestione = data.gestione; + this.indirizzo = data.indirizzo; + this.indirizzoDes = data.indirizzoDes; + this.intercode = data.intercode; + this.mezzo = data.mezzo; + this.nazione = data.nazione; + this.nazioneDes = data.nazioneDes; + this.nome = data.nome; + this.nomeNegozio = data.nomeNegozio; + this.note = data.note; + this.noteDes = data.noteDes; + this.numCelPersRif = data.numCelPersRif; + this.numCell = data.numCell; + this.numOrd = data.numOrd; + this.partIva = data.partIva; + this.personaRif = data.personaRif; + this.porto = data.porto; + this.prov = data.prov; + this.provDes = data.provDes; + this.ragSoc = data.ragSoc; + this.ragSoc2 = data.ragSoc2; + this.serie = data.serie; + this.telefono = data.telefono; + this.telefonoDes = data.telefonoDes; + this.telefonoPersRif = data.telefonoPersRif; + this.tipoAzienda = data.tipoAzienda; + } +} + +export class WdtbOrdr extends DtbOrdCommonR { + codAsso?: string | null; + codBox?: string | null; + codDivi?: string | null; + codMcon?: string | null; + codOann?: string | null; + codVage?: string | null; + flagEvaso?: string | null; + flagEvasoForzato?: string | null; + flagPrzScontati?: string | null; + flagResoRiv?: string | null; + flagTd?: string | null; + ggCons?: number | null; + percAliq?: number | null; + percGest?: number | null; + percIspe?: number | null; + percProv?: number | null; + posRiga?: number | null; + qtaAcc?: number | null; + qtaCol?: number | null; + qtaEvasa?: number | null; + qtaOmg?: number | null; + qtaOrd?: number | null; + qtaOrd2?: number | null; + qtaOrd3?: number | null; + qtaReso?: number | null; + righeKit?: DtbDocOrdR[] | null; + serie?: string | null; + type: "wdtb_ordr"; + untMisDTO?: UntMisDTO | null; + untOrd?: string | null; + untOrd2?: string | null; + untOrd3?: string | null; + valGest?: number | null; + valIspe?: number | null; + valProv?: number | null; + + constructor(data: WdtbOrdr) { + super(data); + this.codAsso = data.codAsso; + this.codBox = data.codBox; + this.codDivi = data.codDivi; + this.codMcon = data.codMcon; + this.codOann = data.codOann; + this.codVage = data.codVage; + this.flagEvaso = data.flagEvaso; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagPrzScontati = data.flagPrzScontati; + this.flagResoRiv = data.flagResoRiv; + this.flagTd = data.flagTd; + this.ggCons = data.ggCons; + this.percAliq = data.percAliq; + this.percGest = data.percGest; + this.percIspe = data.percIspe; + this.percProv = data.percProv; + this.posRiga = data.posRiga; + this.qtaAcc = data.qtaAcc; + this.qtaCol = data.qtaCol; + this.qtaEvasa = data.qtaEvasa; + this.qtaOmg = data.qtaOmg; + this.qtaOrd = data.qtaOrd; + this.qtaOrd2 = data.qtaOrd2; + this.qtaOrd3 = data.qtaOrd3; + this.qtaReso = data.qtaReso; + this.righeKit = data.righeKit; + this.serie = data.serie; + this.untMisDTO = data.untMisDTO; + this.untOrd = data.untOrd; + this.untOrd2 = data.untOrd2; + this.untOrd3 = data.untOrd3; + this.valGest = data.valGest; + this.valIspe = data.valIspe; + this.valProv = data.valProv; + } +} + +export class WdtbOrds extends EntityBase { + codAliq?: string | null; + codAnag?: string | null; + codDivi?: string | null; + codSpes?: string | null; + codVdes?: string | null; + dataOrd?: Date | null; + descrizione?: string | null; + flagPrzIva?: string | null; + gestione?: string | null; + idRiga?: number | null; + importo?: number | null; + importoIva?: number | null; + numOrd?: number | null; + serie?: string | null; + type: "wdtb_ords"; + + constructor(data: WdtbOrds) { + super(data); + this.codAliq = data.codAliq; + this.codAnag = data.codAnag; + this.codDivi = data.codDivi; + this.codSpes = data.codSpes; + this.codVdes = data.codVdes; + this.dataOrd = data.dataOrd; + this.descrizione = data.descrizione; + this.flagPrzIva = data.flagPrzIva; + this.gestione = data.gestione; + this.idRiga = data.idRiga; + this.importo = data.importo; + this.importoIva = data.importoIva; + this.numOrd = data.numOrd; + this.serie = data.serie; + } +} + +export class WdtbOrdt extends DtbDocOrdT { + activityId?: string | null; + codBancAzi?: string | null; + codEtic?: string | null; + codLingua?: string | null; + codVage2?: string | null; + controllatoDa?: string | null; + dataConsProd?: Date | null; + dataConsRich?: Date | null; + dataInsOrd?: Date | null; + dataOrdDef?: Date | null; + dataOrdRif?: Date | null; + descrEstesaProd?: string | null; + descrizioneProd?: string | null; + eanFidelity?: string | null; + firmaClie?: string | null; + firmaCliePrivacy?: string | null; + flagAnnulla?: string | null; + flagElaborato?: string | null; + flagEvasoForzato?: string | null; + flagEvasoProd?: string | null; + flagSospeso?: string | null; + gestioneRif?: string | null; + note?: string | null; + numOrdDef?: number | null; + numOrdRif?: number | null; + personaRif?: string | null; + qtaEvasaProd?: number | null; + rigaOrdRif?: number | null; + rows?: WdtbOrdr[] | null; + serie?: string | null; + stbActivity?: StbActivity | null; + type: "wdtb_ordt"; + userName?: string | null; + wdtbNewCliOrd?: WdtbNewCliOrd | null; + wdtbOrdr?: WdtbOrdr[] | null; + wdtbOrds?: WdtbOrds[] | null; + + constructor(data: WdtbOrdt) { + super(data); + this.activityId = data.activityId; + this.codBancAzi = data.codBancAzi; + this.codEtic = data.codEtic; + this.codLingua = data.codLingua; + this.codVage2 = data.codVage2; + this.controllatoDa = data.controllatoDa; + this.dataConsProd = data.dataConsProd; + this.dataConsRich = data.dataConsRich; + this.dataInsOrd = data.dataInsOrd; + this.dataOrdDef = data.dataOrdDef; + this.dataOrdRif = data.dataOrdRif; + this.descrEstesaProd = data.descrEstesaProd; + this.descrizioneProd = data.descrizioneProd; + this.eanFidelity = data.eanFidelity; + this.firmaClie = data.firmaClie; + this.firmaCliePrivacy = data.firmaCliePrivacy; + this.flagAnnulla = data.flagAnnulla; + this.flagElaborato = data.flagElaborato; + this.flagEvasoForzato = data.flagEvasoForzato; + this.flagEvasoProd = data.flagEvasoProd; + this.flagSospeso = data.flagSospeso; + this.gestioneRif = data.gestioneRif; + this.note = data.note; + this.numOrdDef = data.numOrdDef; + this.numOrdRif = data.numOrdRif; + this.personaRif = data.personaRif; + this.qtaEvasaProd = data.qtaEvasaProd; + this.rigaOrdRif = data.rigaOrdRif; + this.serie = data.serie; + this.stbActivity = data.stbActivity; + this.userName = data.userName; + this.wdtbNewCliOrd = data.wdtbNewCliOrd; + this.wdtbOrdr = data.wdtbOrdr; + this.wdtbOrds = data.wdtbOrds; + } +} + +export class WebpushConfigDTO { + data?: { [index: string]: string } | null; + headers?: { [index: string]: string } | null; + link?: string | null; + notification?: WebpushNotificationDTO | null; + + constructor(data: WebpushConfigDTO) { + this.data = data.data; + this.headers = data.headers; + this.link = data.link; + this.notification = data.notification; + } +} + +export class WebpushNotificationDTO { + actions?: ActionDTO[] | null; + badge?: string | null; + body?: string | null; + customData?: { [index: string]: any } | null; + data?: any | null; + direction?: string | null; + icon?: string | null; + image?: string | null; + language?: string | null; + renotify?: boolean | null; + requireInteraction?: boolean | null; + silent?: boolean | null; + tag?: string | null; + timestampMillis?: number | null; + title?: string | null; + vibrate?: number[] | null; + + constructor(data: WebpushNotificationDTO) { + this.actions = data.actions; + this.badge = data.badge; + this.body = data.body; + this.customData = data.customData; + this.data = data.data; + this.direction = data.direction; + this.icon = data.icon; + this.image = data.image; + this.language = data.language; + this.renotify = data.renotify; + this.requireInteraction = data.requireInteraction; + this.silent = data.silent; + this.tag = data.tag; + this.timestampMillis = data.timestampMillis; + this.title = data.title; + this.vibrate = data.vibrate; + } +} + +export class WooCommerceArticoloDTO { + categorie?: CategoriaDTO[] | null; + codMart?: string | null; + descrizione?: string | null; + immagini?: ImmagineDTO[] | null; + przVend?: string | null; + qtaDisp?: string | null; + variazioni?: VariazioneDTO[] | null; + + constructor(data: WooCommerceArticoloDTO) { + this.categorie = data.categorie; + this.codMart = data.codMart; + this.descrizione = data.descrizione; + this.immagini = data.immagini; + this.przVend = data.przVend; + this.qtaDisp = data.qtaDisp; + this.variazioni = data.variazioni; + } +} + +export class WooCommerceBillingDTO { + address_1?: string | null; + address_2?: string | null; + city?: string | null; + company?: string | null; + country?: string | null; + email?: string | null; + first_name?: string | null; + last_name?: string | null; + phone?: string | null; + postcode?: string | null; + state?: string | null; + + constructor(data: WooCommerceBillingDTO) { + this.address_1 = data.address_1; + this.address_2 = data.address_2; + this.city = data.city; + this.company = data.company; + this.country = data.country; + this.email = data.email; + this.first_name = data.first_name; + this.last_name = data.last_name; + this.phone = data.phone; + this.postcode = data.postcode; + this.state = data.state; + } +} + +export class WooCommerceCategoryDTO { + id?: number | null; + name?: string | null; + slug?: string | null; + + constructor(data: WooCommerceCategoryDTO) { + this.id = data.id; + this.name = data.name; + this.slug = data.slug; + } +} + +export class WooCommerceCouponLineDTO { + code?: string | null; + discount?: string | null; + discount_tax?: string | null; + id?: number | null; + meta_data?: WooCommerceMetadataDTO[] | null; + + constructor(data: WooCommerceCouponLineDTO) { + this.code = data.code; + this.discount = data.discount; + this.discount_tax = data.discount_tax; + this.id = data.id; + this.meta_data = data.meta_data; + } +} + +export class WooCommerceDimensionsDTO { + height?: string | null; + length?: string | null; + width?: string | null; + + constructor(data: WooCommerceDimensionsDTO) { + this.height = data.height; + this.length = data.length; + this.width = data.width; + } +} + +export class WooCommerceFeelLinesDTO { + id?: string | null; + meta_data?: WooCommerceMetadataDTO[] | null; + name?: string | null; + tax_class?: string | null; + tax_status?: string | null; + taxes?: WooCommerceTaxLineDTO[] | null; + total?: string | null; + total_tax?: string | null; + + constructor(data: WooCommerceFeelLinesDTO) { + this.id = data.id; + this.meta_data = data.meta_data; + this.name = data.name; + this.tax_class = data.tax_class; + this.tax_status = data.tax_status; + this.taxes = data.taxes; + this.total = data.total; + this.total_tax = data.total_tax; + } +} + +export class WooCommerceHrefDTO { + href?: string | null; + + constructor(data: WooCommerceHrefDTO) { + this.href = data.href; + } +} + +export class WooCommerceImageDTO { + alt?: string | null; + date_created?: string | null; + date_created_gmt?: string | null; + date_modified?: string | null; + date_modified_gmt?: string | null; + id?: number | null; + name?: string | null; + src?: string | null; + + constructor(data: WooCommerceImageDTO) { + this.alt = data.alt; + this.date_created = data.date_created; + this.date_created_gmt = data.date_created_gmt; + this.date_modified = data.date_modified; + this.date_modified_gmt = data.date_modified_gmt; + this.id = data.id; + this.name = data.name; + this.src = data.src; + } +} + +export class WooCommerceLineItemsDTO { + id?: number | null; + meta_data?: WooCommerceMetadataDTO[] | null; + name?: string | null; + price?: string | null; + product_id?: number | null; + quantity?: number | null; + sku?: string | null; + subtotal?: string | null; + subtotal_tax?: string | null; + tax_class?: string | null; + taxes?: WooCommerceTaxDTO[] | null; + total?: string | null; + total_tax?: string | null; + variation_id?: number | null; + + constructor(data: WooCommerceLineItemsDTO) { + this.id = data.id; + this.meta_data = data.meta_data; + this.name = data.name; + this.price = data.price; + this.product_id = data.product_id; + this.quantity = data.quantity; + this.sku = data.sku; + this.subtotal = data.subtotal; + this.subtotal_tax = data.subtotal_tax; + this.tax_class = data.tax_class; + this.taxes = data.taxes; + this.total = data.total; + this.total_tax = data.total_tax; + this.variation_id = data.variation_id; + } +} + +export class WooCommerceLinksDTO { + collection?: WooCommerceHrefDTO[] | null; + customer?: WooCommerceHrefDTO[] | null; + self?: WooCommerceHrefDTO[] | null; + up?: WooCommerceHrefDTO[] | null; + + constructor(data: WooCommerceLinksDTO) { + this.collection = data.collection; + this.customer = data.customer; + this.self = data.self; + this.up = data.up; + } +} + +export class WooCommerceMetadataDTO { + id?: number | null; + key?: string | null; + value?: any | null; + + constructor(data: WooCommerceMetadataDTO) { + this.id = data.id; + this.key = data.key; + this.value = data.value; + } +} + +export class WooCommerceOrderDTO { + _links?: WooCommerceLinksDTO | null; + billing?: WooCommerceBillingDTO | null; + cart_hash?: string | null; + cart_tax?: string | null; + coupon_lines?: WooCommerceCouponLineDTO[] | null; + created_via?: string | null; + currency?: string | null; + currency_symbol?: string | null; + customer_id?: number | null; + customer_ip_address?: string | null; + customer_note?: string | null; + customer_user_agent?: string | null; + date_completed?: string | null; + date_completed_gmt?: string | null; + date_created?: string | null; + date_created_gmt?: string | null; + date_modified?: string | null; + date_modified_gmt?: string | null; + date_paid?: string | null; + date_paid_gmt?: string | null; + discont_total?: string | null; + discount_tax?: string | null; + elaborato?: boolean | null; + fee_lines?: WooCommerceFeelLinesDTO[] | null; + id?: number | null; + line_items?: WooCommerceLineItemsDTO[] | null; + meta_data?: WooCommerceMetadataDTO[] | null; + number?: string | null; + order_key?: string | null; + parent_id?: number | null; + payment_method?: string | null; + payment_method_title?: string | null; + prices_include_tax?: boolean | null; + refunds?: any[] | null; + shipping?: WooCommerceShippingDTO | null; + shipping_lines?: WooCommerceShippingLineDTO[] | null; + shipping_tax?: string | null; + shipping_total?: string | null; + status?: string | null; + tax_lines?: WooCommerceTaxLineDTO[] | null; + total?: string | null; + total_tax?: string | null; + transaction_id?: string | null; + version?: string | null; + + constructor(data: WooCommerceOrderDTO) { + this._links = data._links; + this.billing = data.billing; + this.cart_hash = data.cart_hash; + this.cart_tax = data.cart_tax; + this.coupon_lines = data.coupon_lines; + this.created_via = data.created_via; + this.currency = data.currency; + this.currency_symbol = data.currency_symbol; + this.customer_id = data.customer_id; + this.customer_ip_address = data.customer_ip_address; + this.customer_note = data.customer_note; + this.customer_user_agent = data.customer_user_agent; + this.date_completed = data.date_completed; + this.date_completed_gmt = data.date_completed_gmt; + this.date_created = data.date_created; + this.date_created_gmt = data.date_created_gmt; + this.date_modified = data.date_modified; + this.date_modified_gmt = data.date_modified_gmt; + this.date_paid = data.date_paid; + this.date_paid_gmt = data.date_paid_gmt; + this.discont_total = data.discont_total; + this.discount_tax = data.discount_tax; + this.elaborato = data.elaborato; + this.fee_lines = data.fee_lines; + this.id = data.id; + this.line_items = data.line_items; + this.meta_data = data.meta_data; + this.number = data.number; + this.order_key = data.order_key; + this.parent_id = data.parent_id; + this.payment_method = data.payment_method; + this.payment_method_title = data.payment_method_title; + this.prices_include_tax = data.prices_include_tax; + this.refunds = data.refunds; + this.shipping = data.shipping; + this.shipping_lines = data.shipping_lines; + this.shipping_tax = data.shipping_tax; + this.shipping_total = data.shipping_total; + this.status = data.status; + this.tax_lines = data.tax_lines; + this.total = data.total; + this.total_tax = data.total_tax; + this.transaction_id = data.transaction_id; + this.version = data.version; + } +} + +export class WooCommerceProductAttributeDTO { + _links?: WooCommerceLinksDTO | null; + has_archives?: boolean | null; + id?: number | null; + name?: string | null; + new?: boolean | null; + order_by?: string | null; + slug?: string | null; + type?: string | null; + + constructor(data: WooCommerceProductAttributeDTO) { + this._links = data._links; + this.has_archives = data.has_archives; + this.id = data.id; + this.name = data.name; + this.new = data.new; + this.order_by = data.order_by; + this.slug = data.slug; + this.type = data.type; + } +} + +export class WooCommerceProductAttributeTermDTO { + _links?: WooCommerceLinksDTO | null; + count?: number | null; + description?: string | null; + error?: any | null; + id?: number | null; + menu_order?: number | null; + name?: string | null; + slug?: string | null; + + constructor(data: WooCommerceProductAttributeTermDTO) { + this._links = data._links; + this.count = data.count; + this.description = data.description; + this.error = data.error; + this.id = data.id; + this.menu_order = data.menu_order; + this.name = data.name; + this.slug = data.slug; + } +} + +export class WooCommerceProductCategoryDTO { + _links?: WooCommerceLinksDTO | null; + count?: number | null; + description?: string | null; + display?: string | null; + error?: any | null; + id?: number | null; + image?: WooCommerceProductCategoryImageDTO | null; + menu_order?: number | null; + name?: string | null; + parent?: number | null; + slug?: string | null; + yoast_head?: any | null; + + constructor(data: WooCommerceProductCategoryDTO) { + this._links = data._links; + this.count = data.count; + this.description = data.description; + this.display = data.display; + this.error = data.error; + this.id = data.id; + this.image = data.image; + this.menu_order = data.menu_order; + this.name = data.name; + this.parent = data.parent; + this.slug = data.slug; + this.yoast_head = data.yoast_head; + } +} + +export class WooCommerceProductCategoryImageDTO { + alt?: string | null; + date_created?: string | null; + date_created_gmt?: string | null; + date_modified?: string | null; + date_modified_gmt?: string | null; + id?: number | null; + name?: string | null; + src?: string | null; + + constructor(data: WooCommerceProductCategoryImageDTO) { + this.alt = data.alt; + this.date_created = data.date_created; + this.date_created_gmt = data.date_created_gmt; + this.date_modified = data.date_modified; + this.date_modified_gmt = data.date_modified_gmt; + this.id = data.id; + this.name = data.name; + this.src = data.src; + } +} + +export class WooCommerceProductDTO { + _links?: WooCommerceLinksDTO | null; + attributes?: any[] | null; + average_rating?: string | null; + backordered?: boolean | null; + backorders?: string | null; + backorders_allowed?: boolean | null; + button_text?: string | null; + catalog_visibility?: string | null; + categories?: WooCommerceCategoryDTO[] | null; + cross_sell_ids?: number[] | null; + date_created?: string | null; + date_created_gmt?: string | null; + date_modified?: string | null; + date_modified_gmt?: string | null; + date_on_sale_from?: string | null; + date_on_sale_from_gmt?: string | null; + date_on_sale_to?: string | null; + date_on_sale_to_gmt?: string | null; + default_attributes?: any[] | null; + description?: string | null; + dimensions?: WooCommerceDimensionsDTO | null; + download_expiry?: number | null; + download_limit?: number | null; + downloadable?: boolean | null; + downloads?: WooCommerceProductDownloadDTO[] | null; + error?: { [index: string]: any } | null; + external_url?: string | null; + featured?: boolean | null; + grouped_products?: any[] | null; + id?: number | null; + images?: WooCommerceImageDTO[] | null; + low_stock_amount?: number | null; + manage_stock?: boolean | null; + menu_order?: number | null; + meta_data?: WooCommerceMetadataDTO[] | null; + name?: string | null; + on_sale?: boolean | null; + parent_id?: number | null; + permalink?: string | null; + price?: string | null; + price_html?: string | null; + purchasable?: boolean | null; + purchase_note?: string | null; + rating_count?: number | null; + regular_price?: string | null; + related_ids?: number[] | null; + reviews_allowed?: boolean | null; + sale_price?: string | null; + shipping_class?: string | null; + shipping_class_id?: number | null; + shipping_required?: boolean | null; + shipping_taxable?: boolean | null; + short_description?: string | null; + sku?: string | null; + slug?: string | null; + sold_individually?: boolean | null; + status?: string | null; + stock_quantity?: number | null; + stock_status?: string | null; + tags?: WooCommerceTagDTO[] | null; + tax_class?: string | null; + tax_status?: string | null; + total_sales?: number | null; + type?: string | null; + upsell_ids?: number[] | null; + variations?: number[] | null; + virtual?: boolean | null; + weight?: string | null; + yoast_head?: any | null; + + constructor(data: WooCommerceProductDTO) { + this._links = data._links; + this.attributes = data.attributes; + this.average_rating = data.average_rating; + this.backordered = data.backordered; + this.backorders = data.backorders; + this.backorders_allowed = data.backorders_allowed; + this.button_text = data.button_text; + this.catalog_visibility = data.catalog_visibility; + this.categories = data.categories; + this.cross_sell_ids = data.cross_sell_ids; + this.date_created = data.date_created; + this.date_created_gmt = data.date_created_gmt; + this.date_modified = data.date_modified; + this.date_modified_gmt = data.date_modified_gmt; + this.date_on_sale_from = data.date_on_sale_from; + this.date_on_sale_from_gmt = data.date_on_sale_from_gmt; + this.date_on_sale_to = data.date_on_sale_to; + this.date_on_sale_to_gmt = data.date_on_sale_to_gmt; + this.default_attributes = data.default_attributes; + this.description = data.description; + this.dimensions = data.dimensions; + this.download_expiry = data.download_expiry; + this.download_limit = data.download_limit; + this.downloadable = data.downloadable; + this.downloads = data.downloads; + this.error = data.error; + this.external_url = data.external_url; + this.featured = data.featured; + this.grouped_products = data.grouped_products; + this.id = data.id; + this.images = data.images; + this.low_stock_amount = data.low_stock_amount; + this.manage_stock = data.manage_stock; + this.menu_order = data.menu_order; + this.meta_data = data.meta_data; + this.name = data.name; + this.on_sale = data.on_sale; + this.parent_id = data.parent_id; + this.permalink = data.permalink; + this.price = data.price; + this.price_html = data.price_html; + this.purchasable = data.purchasable; + this.purchase_note = data.purchase_note; + this.rating_count = data.rating_count; + this.regular_price = data.regular_price; + this.related_ids = data.related_ids; + this.reviews_allowed = data.reviews_allowed; + this.sale_price = data.sale_price; + this.shipping_class = data.shipping_class; + this.shipping_class_id = data.shipping_class_id; + this.shipping_required = data.shipping_required; + this.shipping_taxable = data.shipping_taxable; + this.short_description = data.short_description; + this.sku = data.sku; + this.slug = data.slug; + this.sold_individually = data.sold_individually; + this.status = data.status; + this.stock_quantity = data.stock_quantity; + this.stock_status = data.stock_status; + this.tags = data.tags; + this.tax_class = data.tax_class; + this.tax_status = data.tax_status; + this.total_sales = data.total_sales; + this.type = data.type; + this.upsell_ids = data.upsell_ids; + this.variations = data.variations; + this.virtual = data.virtual; + this.weight = data.weight; + this.yoast_head = data.yoast_head; + } +} + +export class WooCommerceProductDownloadDTO { + file?: string | null; + id?: string | null; + name?: string | null; + + constructor(data: WooCommerceProductDownloadDTO) { + this.file = data.file; + this.id = data.id; + this.name = data.name; + } +} + +export class WooCommerceProductVariationAttributeDTO { + id?: number | null; + key?: string | null; + name?: string | null; + option?: string | null; + options?: string[] | null; + value?: string | null; + variation?: boolean | null; + visible?: boolean | null; + + constructor(data: WooCommerceProductVariationAttributeDTO) { + this.id = data.id; + this.key = data.key; + this.name = data.name; + this.option = data.option; + this.options = data.options; + this.value = data.value; + this.variation = data.variation; + this.visible = data.visible; + } +} + +export class WooCommerceProductVariationDTO { + _links?: WooCommerceLinksDTO | null; + attributes?: WooCommerceProductVariationAttributeDTO[] | null; + backordered?: boolean | null; + backorders?: string | null; + backorders_allowed?: boolean | null; + date_created?: string | null; + date_created_gmt?: string | null; + date_modified?: string | null; + date_modified_gmt?: string | null; + date_on_sale_from?: string | null; + date_on_sale_from_gmt?: string | null; + date_on_sale_to?: string | null; + date_on_sale_to_gmt?: string | null; + description?: string | null; + dimensions?: WooCommerceDimensionsDTO | null; + download_expiry?: number | null; + download_limit?: number | null; + downloadable?: boolean | null; + downloads?: any[] | null; + id?: number | null; + image?: any | null; + manage_stock?: string | null; + menu_order?: number | null; + meta_data?: WooCommerceMetadataDTO[] | null; + on_sale?: boolean | null; + permalink?: string | null; + price?: string | null; + purchasable?: boolean | null; + regular_price?: string | null; + sale_price?: string | null; + shipping_class?: string | null; + shipping_class_id?: string | null; + sku?: string | null; + status?: string | null; + stock_quantity?: number | null; + stock_status?: string | null; + tax_class?: string | null; + tax_status?: string | null; + virtual?: boolean | null; + weight?: string | null; + + constructor(data: WooCommerceProductVariationDTO) { + this._links = data._links; + this.attributes = data.attributes; + this.backordered = data.backordered; + this.backorders = data.backorders; + this.backorders_allowed = data.backorders_allowed; + this.date_created = data.date_created; + this.date_created_gmt = data.date_created_gmt; + this.date_modified = data.date_modified; + this.date_modified_gmt = data.date_modified_gmt; + this.date_on_sale_from = data.date_on_sale_from; + this.date_on_sale_from_gmt = data.date_on_sale_from_gmt; + this.date_on_sale_to = data.date_on_sale_to; + this.date_on_sale_to_gmt = data.date_on_sale_to_gmt; + this.description = data.description; + this.dimensions = data.dimensions; + this.download_expiry = data.download_expiry; + this.download_limit = data.download_limit; + this.downloadable = data.downloadable; + this.downloads = data.downloads; + this.id = data.id; + this.image = data.image; + this.manage_stock = data.manage_stock; + this.menu_order = data.menu_order; + this.meta_data = data.meta_data; + this.on_sale = data.on_sale; + this.permalink = data.permalink; + this.price = data.price; + this.purchasable = data.purchasable; + this.regular_price = data.regular_price; + this.sale_price = data.sale_price; + this.shipping_class = data.shipping_class; + this.shipping_class_id = data.shipping_class_id; + this.sku = data.sku; + this.status = data.status; + this.stock_quantity = data.stock_quantity; + this.stock_status = data.stock_status; + this.tax_class = data.tax_class; + this.tax_status = data.tax_status; + this.virtual = data.virtual; + this.weight = data.weight; + } +} + +export class WooCommerceShippingDTO { + address_1?: string | null; + address_2?: string | null; + city?: string | null; + company?: string | null; + country?: string | null; + email?: string | null; + first_name?: string | null; + last_name?: string | null; + phone?: string | null; + postcode?: string | null; + state?: string | null; + + constructor(data: WooCommerceShippingDTO) { + this.address_1 = data.address_1; + this.address_2 = data.address_2; + this.city = data.city; + this.company = data.company; + this.country = data.country; + this.email = data.email; + this.first_name = data.first_name; + this.last_name = data.last_name; + this.phone = data.phone; + this.postcode = data.postcode; + this.state = data.state; + } +} + +export class WooCommerceShippingLineDTO { + id?: string | null; + instance_id?: string | null; + meta_data?: WooCommerceMetadataDTO[] | null; + method_id?: string | null; + method_title?: string | null; + taxes?: WooCommerceTaxLineDTO[] | null; + total?: string | null; + total_tax?: string | null; + + constructor(data: WooCommerceShippingLineDTO) { + this.id = data.id; + this.instance_id = data.instance_id; + this.meta_data = data.meta_data; + this.method_id = data.method_id; + this.method_title = data.method_title; + this.taxes = data.taxes; + this.total = data.total; + this.total_tax = data.total_tax; + } +} + +export class WooCommerceTagDTO { + id?: number | null; + name?: string | null; + slug?: string | null; + + constructor(data: WooCommerceTagDTO) { + this.id = data.id; + this.name = data.name; + this.slug = data.slug; + } +} + +export class WooCommerceTaxDTO { + id?: number | null; + subtotal?: string | null; + total?: string | null; + + constructor(data: WooCommerceTaxDTO) { + this.id = data.id; + this.subtotal = data.subtotal; + this.total = data.total; + } +} + +export class WooCommerceTaxLineDTO { + id?: string | null; + instance_id?: string | null; + method_id?: string | null; + method_title?: string | null; + taxes?: WooCommerceTaxDTO[] | null; + total?: string | null; + total_tax?: string | null; + + constructor(data: WooCommerceTaxLineDTO) { + this.id = data.id; + this.instance_id = data.instance_id; + this.method_id = data.method_id; + this.method_title = data.method_title; + this.taxes = data.taxes; + this.total = data.total; + this.total_tax = data.total_tax; + } +} + +export class WorkedHours { + activityDescription?: string | null; + donePreviousMonth?: boolean | null; + donePreviousQuarter?: boolean | null; + doneThisMonth?: boolean | null; + doneThisQuarter?: boolean | null; + fullName?: string | null; + oreFatte?: number | null; + plannedNextWeek?: boolean | null; + plannedPreviousWeek?: boolean | null; + plannedThisWeek?: boolean | null; + username?: string | null; + + constructor(data: WorkedHours) { + this.activityDescription = data.activityDescription; + this.donePreviousMonth = data.donePreviousMonth; + this.donePreviousQuarter = data.donePreviousQuarter; + this.doneThisMonth = data.doneThisMonth; + this.doneThisQuarter = data.doneThisQuarter; + this.fullName = data.fullName; + this.oreFatte = data.oreFatte; + this.plannedNextWeek = data.plannedNextWeek; + this.plannedPreviousWeek = data.plannedPreviousWeek; + this.plannedThisWeek = data.plannedThisWeek; + this.username = data.username; + } +} + +export interface Wrapper { +} + +export class WrlUsersFasi extends EntityBase { + codJfas?: string | null; + type: "wrl_users_fasi"; + userName?: string | null; + + constructor(data: WrlUsersFasi) { + super(data); + this.codJfas = data.codJfas; + this.userName = data.userName; + } +} + +export class WtbClie extends EntityBase { + codAnag?: string | null; + type: "wtb_clie"; + userName?: string | null; + + constructor(data: WtbClie) { + super(data); + this.codAnag = data.codAnag; + this.userName = data.userName; + } +} + +export class WtbClieDest extends EntityBase { + codAnag?: string | null; + codVdes?: string | null; + type: "wtb_clie_dest"; + userName?: string | null; + + constructor(data: WtbClieDest) { + super(data); + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.userName = data.userName; + } +} + +export class WtbDepo extends EntityBase { + codMdep?: string | null; + type: "wtb_depo"; + userName?: string | null; + + constructor(data: WtbDepo) { + super(data); + this.codMdep = data.codMdep; + this.userName = data.userName; + } +} + +export class WtbDeviceNotification extends EntityBase { + notificationId?: number | null; + readDate?: Date | null; + type: "wtb_device_notification"; + userDeviceId?: number | null; + + constructor(data: WtbDeviceNotification) { + super(data); + this.notificationId = data.notificationId; + this.readDate = data.readDate; + this.userDeviceId = data.userDeviceId; + } +} + +export class WtbDeviceTokenTopic extends EntityBase { + deviceTokenId?: number | null; + topicName?: string | null; + type: "wtb_device_token_topics"; + + constructor(data: WtbDeviceTokenTopic) { + super(data); + this.deviceTokenId = data.deviceTokenId; + this.topicName = data.topicName; + } +} + +export class WtbFavoriteArt extends EntityBase { + codMart?: string | null; + dataImport?: Date | null; + dataIns?: Date | null; + riga?: number | null; + type: "wtb_favorite_art"; + userName?: string | null; + + constructor(data: WtbFavoriteArt) { + super(data); + this.codMart = data.codMart; + this.dataImport = data.dataImport; + this.dataIns = data.dataIns; + this.riga = data.riga; + this.userName = data.userName; + } +} + +export class WtbForn extends EntityBase { + codAnag?: string | null; + type: "wtb_forn"; + userName?: string | null; + + constructor(data: WtbForn) { + super(data); + this.codAnag = data.codAnag; + this.userName = data.userName; + } +} + +export class WtbFornDest extends EntityBase { + codAnag?: string | null; + codVdes?: string | null; + type: "wtb_forn_dest"; + userName?: string | null; + + constructor(data: WtbFornDest) { + super(data); + this.codAnag = data.codAnag; + this.codVdes = data.codVdes; + this.userName = data.userName; + } +} + +export class WtbGestSetupUser extends EntityBase { + gestName?: string | null; + keySection?: string | null; + section?: string | null; + type: "wtb_gest_setup_user"; + userName?: string | null; + value?: string | null; + + constructor(data: WtbGestSetupUser) { + super(data); + this.gestName = data.gestName; + this.keySection = data.keySection; + this.section = data.section; + this.userName = data.userName; + this.value = data.value; + } +} + +export class WtbJrepr extends EntityBase { + campoSelect?: string | null; + etichetta?: string | null; + expression?: string | null; + fieldToSearch?: string | null; + flagDisabled?: string | null; + flagEditable?: string | null; + flagVisible?: string | null; + hideToUsergroups?: string | null; + hideToUsers?: string | null; + id?: number | null; + obblGroups?: string | null; + ordine?: number | null; + parameterName?: string | null; + reportId?: number | null; + showToUsergroups?: string | null; + showToUsers?: string | null; + tipo?: string | null; + type: "wtb_jrepr"; + + constructor(data: WtbJrepr) { + super(data); + this.campoSelect = data.campoSelect; + this.etichetta = data.etichetta; + this.expression = data.expression; + this.fieldToSearch = data.fieldToSearch; + this.flagDisabled = data.flagDisabled; + this.flagEditable = data.flagEditable; + this.flagVisible = data.flagVisible; + this.hideToUsergroups = data.hideToUsergroups; + this.hideToUsers = data.hideToUsers; + this.id = data.id; + this.obblGroups = data.obblGroups; + this.ordine = data.ordine; + this.parameterName = data.parameterName; + this.reportId = data.reportId; + this.showToUsergroups = data.showToUsergroups; + this.showToUsers = data.showToUsers; + this.tipo = data.tipo; + } +} + +export class WtbJreprSub extends EntityBase { + b64Jasper?: string | null; + id?: number | null; + jasperFilename?: string | null; + reportId?: number | null; + type: "wtb_jrepr_sub"; + + constructor(data: WtbJreprSub) { + super(data); + this.b64Jasper = data.b64Jasper; + this.id = data.id; + this.jasperFilename = data.jasperFilename; + this.reportId = data.reportId; + } +} + +export class WtbJrept extends EntityBase { + b64Jrxml?: string | null; + b64Query?: string | null; + compiledJasper?: number[] | null; + descrizioneGruppo?: string | null; + filename?: string | null; + grlAnagJrepts?: GrlAnagJrept[] | null; + hideToUsergroups?: string | null; + hideToUsers?: string | null; + id?: number | null; + note?: string | null; + orientation?: Orientation | null; + reportName?: string | null; + showToUsergroups?: string | null; + showToUsers?: string | null; + title?: string | null; + type: "wtb_jrept"; + wtbJrepr?: WtbJrepr[] | null; + wtbJreprSub?: WtbJreprSub[] | null; + wtbJreptSetups?: WtbJreptSetup[] | null; + + constructor(data: WtbJrept) { + super(data); + this.b64Jrxml = data.b64Jrxml; + this.b64Query = data.b64Query; + this.compiledJasper = data.compiledJasper; + this.descrizioneGruppo = data.descrizioneGruppo; + this.filename = data.filename; + this.grlAnagJrepts = data.grlAnagJrepts; + this.hideToUsergroups = data.hideToUsergroups; + this.hideToUsers = data.hideToUsers; + this.id = data.id; + this.note = data.note; + this.orientation = data.orientation; + this.reportName = data.reportName; + this.showToUsergroups = data.showToUsergroups; + this.showToUsers = data.showToUsers; + this.title = data.title; + this.wtbJrepr = data.wtbJrepr; + this.wtbJreprSub = data.wtbJreprSub; + this.wtbJreptSetups = data.wtbJreptSetups; + } +} + +export class WtbJreptSetup extends EntityBase { + codAnag?: string | null; + codDtip?: string | null; + codMdep?: string | null; + id?: number | null; + orientation?: Orientation | null; + printDuplex?: boolean | null; + printQuantity?: number | null; + printerName?: string | null; + reportId?: number | null; + tipo?: WtbJreptSetupTipo | null; + type: "wtb_jrept_setup"; + + constructor(data: WtbJreptSetup) { + super(data); + this.codAnag = data.codAnag; + this.codDtip = data.codDtip; + this.codMdep = data.codMdep; + this.id = data.id; + this.orientation = data.orientation; + this.printDuplex = data.printDuplex; + this.printQuantity = data.printQuantity; + this.printerName = data.printerName; + this.reportId = data.reportId; + this.tipo = data.tipo; + } +} + +export class WtbMessage extends EntityBase { + dataCreazione?: Date | null; + dataInvio?: Date | null; + idEmail?: number | null; + idMessage?: number | null; + type: "wtb_message"; + userName?: string | null; + wtbMessageAttachment?: WtbMessageAttachment[] | null; + + constructor(data: WtbMessage) { + super(data); + this.dataCreazione = data.dataCreazione; + this.dataInvio = data.dataInvio; + this.idEmail = data.idEmail; + this.idMessage = data.idMessage; + this.userName = data.userName; + this.wtbMessageAttachment = data.wtbMessageAttachment; + } +} + +export class WtbMessageAttachment extends EntityBase { + content?: string | null; + fileName?: string | null; + idMessage?: number | null; + type: "wtb_message_attachment"; + + constructor(data: WtbMessageAttachment) { + super(data); + this.content = data.content; + this.fileName = data.fileName; + this.idMessage = data.idMessage; + } +} + +export class WtbMessageEmail extends EntityBase { + body?: string | null; + cc?: string | null; + ccn?: string | null; + flagHtml?: string | null; + fromE?: string | null; + idEmail?: number | null; + replyTo?: string | null; + subject?: string | null; + toE?: string | null; + type: "wtb_message_email"; + + constructor(data: WtbMessageEmail) { + super(data); + this.body = data.body; + this.cc = data.cc; + this.ccn = data.ccn; + this.flagHtml = data.flagHtml; + this.fromE = data.fromE; + this.idEmail = data.idEmail; + this.replyTo = data.replyTo; + this.subject = data.subject; + this.toE = data.toE; + } +} + +export class WtbNotification extends EntityBase { + attachments?: WtbNotificationImage[] | null; + body?: string | null; + endDate?: Date | null; + id?: number | null; + imageFile?: WtbNotificationImage | null; + imageUrl?: string | null; + notificationData?: { [index: string]: string } | null; + persistent?: boolean | null; + startDate?: Date | null; + title?: string | null; + topics?: string[] | null; + type: "wtb_notification"; + wtbDeviceNotifications?: WtbDeviceNotification[] | null; + + constructor(data: WtbNotification) { + super(data); + this.attachments = data.attachments; + this.body = data.body; + this.endDate = data.endDate; + this.id = data.id; + this.imageFile = data.imageFile; + this.imageUrl = data.imageUrl; + this.notificationData = data.notificationData; + this.persistent = data.persistent; + this.startDate = data.startDate; + this.title = data.title; + this.topics = data.topics; + this.wtbDeviceNotifications = data.wtbDeviceNotifications; + } +} + +export class WtbNotificationImage extends EntityBase { + attachId?: string | null; + attachedFile?: StbFilesAttached | null; + image?: boolean | null; + isImage?: boolean | null; + notificationId?: number | null; + type: "wtb_notification_image"; + + constructor(data: WtbNotificationImage) { + super(data); + this.attachId = data.attachId; + this.attachedFile = data.attachedFile; + this.image = data.image; + this.isImage = data.isImage; + this.notificationId = data.notificationId; + } +} + +export class WtbProfilesContent extends EntityBase { + codHash?: string | null; + dataUltimoAccesso?: Date | null; + driverDb?: string | null; + endPointSa?: string | null; + endPointSw?: string | null; + hostDb?: string | null; + passwordDb?: string | null; + profileDb?: string | null; + rootPathImages?: string | null; + type: "wtb_profiles_content"; + urlPvm?: string | null; + userDb?: string | null; + + constructor(data: WtbProfilesContent) { + super(data); + this.codHash = data.codHash; + this.dataUltimoAccesso = data.dataUltimoAccesso; + this.driverDb = data.driverDb; + this.endPointSa = data.endPointSa; + this.endPointSw = data.endPointSw; + this.hostDb = data.hostDb; + this.passwordDb = data.passwordDb; + this.profileDb = data.profileDb; + this.rootPathImages = data.rootPathImages; + this.urlPvm = data.urlPvm; + this.userDb = data.userDb; + } +} + +export class WtbPros extends EntityBase { + codPpro?: string | null; + type: "wtb_pros"; + userName?: string | null; + + constructor(data: WtbPros) { + super(data); + this.codPpro = data.codPpro; + this.userName = data.userName; + } +} + +export class WtbUserDeviceToken extends EntityBase { + appName?: AppName | null; + deviceToken?: string | null; + id?: number | null; + platform?: string | null; + topics?: string[] | null; + type: "wtb_user_device_tokens"; + userName?: string | null; + wtbDeviceNotifications?: WtbDeviceNotification[] | null; + wtbDeviceTokenTopic?: WtbDeviceTokenTopic[] | null; + wtbDeviceTokenTopicFromTopics?: string[] | null; + + constructor(data: WtbUserDeviceToken) { + super(data); + this.appName = data.appName; + this.deviceToken = data.deviceToken; + this.id = data.id; + this.platform = data.platform; + this.topics = data.topics; + this.userName = data.userName; + this.wtbDeviceNotifications = data.wtbDeviceNotifications; + this.wtbDeviceTokenTopic = data.wtbDeviceTokenTopic; + this.wtbDeviceTokenTopicFromTopics = data.wtbDeviceTokenTopicFromTopics; + } +} + +export class WtbUserTokens extends EntityBase { + dataCreazione?: Date | null; + dataScadenza?: Date | null; + dataUltimoAccesso?: Date | null; + flagAttivo?: string | null; + ipRequest?: string | null; + note?: string | null; + tokenId?: string | null; + type: "wtb_user_tokens"; + userName?: string | null; + useragent?: string | null; + + constructor(data: WtbUserTokens) { + super(data); + this.dataCreazione = data.dataCreazione; + this.dataScadenza = data.dataScadenza; + this.dataUltimoAccesso = data.dataUltimoAccesso; + this.flagAttivo = data.flagAttivo; + this.ipRequest = data.ipRequest; + this.note = data.note; + this.tokenId = data.tokenId; + this.userName = data.userName; + this.useragent = data.useragent; + } +} + +export class WtbUsers extends EntityBase { + codLang?: string | null; + creationDatetime?: Date | null; + ctrlState?: string | null; + destructionDatetime?: Date | null; + details?: string | null; + eMail?: string | null; + flagPasswordExpiring?: string | null; + fullName?: string | null; + insertStbUser?: string | null; + keyGroup?: number | null; + lastAccessDatetime?: Date | null; + lastPasswords?: string | null; + password?: string | null; + passwordEndtime?: Date | null; + passwordExpiresDays?: number | null; + stbUser?: StbUser | null; + type: "wtb_users"; + urlCss?: string | null; + userCode?: string | null; + userName?: string | null; + wrlUsersFasi?: WrlUsersFasi[] | null; + wtbClie?: WtbClie[] | null; + wtbClieDest?: WtbClieDest[] | null; + wtbDepo?: WtbDepo[] | null; + wtbFavoriteArt?: WtbFavoriteArt[] | null; + wtbForn?: WtbForn[] | null; + wtbFornDest?: WtbFornDest[] | null; + wtbJrepr?: WtbClie[] | null; + wtbPros?: WtbPros[] | null; + wtbUsersInfo?: WtbUsersInfo[] | null; + + constructor(data: WtbUsers) { + super(data); + this.codLang = data.codLang; + this.creationDatetime = data.creationDatetime; + this.ctrlState = data.ctrlState; + this.destructionDatetime = data.destructionDatetime; + this.details = data.details; + this.eMail = data.eMail; + this.flagPasswordExpiring = data.flagPasswordExpiring; + this.fullName = data.fullName; + this.insertStbUser = data.insertStbUser; + this.keyGroup = data.keyGroup; + this.lastAccessDatetime = data.lastAccessDatetime; + this.lastPasswords = data.lastPasswords; + this.password = data.password; + this.passwordEndtime = data.passwordEndtime; + this.passwordExpiresDays = data.passwordExpiresDays; + this.stbUser = data.stbUser; + this.urlCss = data.urlCss; + this.userCode = data.userCode; + this.userName = data.userName; + this.wrlUsersFasi = data.wrlUsersFasi; + this.wtbClie = data.wtbClie; + this.wtbClieDest = data.wtbClieDest; + this.wtbDepo = data.wtbDepo; + this.wtbFavoriteArt = data.wtbFavoriteArt; + this.wtbForn = data.wtbForn; + this.wtbFornDest = data.wtbFornDest; + this.wtbJrepr = data.wtbJrepr; + this.wtbPros = data.wtbPros; + this.wtbUsersInfo = data.wtbUsersInfo; + } +} + +export class WtbUsersInfo extends EntityBase { + charSeparator?: number | null; + email?: string | null; + emailCc?: string | null; + emailCcn?: string | null; + emailNotification?: string | null; + exportAfterSave?: string | null; + exportHeader?: boolean | null; + exportMode?: string | null; + exportType?: string | null; + exportTypeData?: string | null; + fileName?: string | null; + filePath?: string | null; + filterCond?: string | null; + flagAppendFile?: string | null; + flagFileCompress?: string | null; + flagRemoteSave?: string | null; + flagSharedAnagArt?: string | null; + flagState?: string | null; + formatFile?: string | null; + ftpCreateDirectory?: string | null; + ftpDirectory?: string | null; + ftpHost?: string | null; + ftpPassword?: string | null; + ftpPort?: number | null; + ftpRetries?: number | null; + ftpType?: number | null; + ftpUser?: string | null; + getFileName?: string | null; + priority?: string | null; + queryCustom?: string | null; + type: "wtb_users_info"; + userName?: string | null; + wsEndpoint?: string | null; + wsPassword?: string | null; + wsUser?: string | null; + + constructor(data: WtbUsersInfo) { + super(data); + this.charSeparator = data.charSeparator; + this.email = data.email; + this.emailCc = data.emailCc; + this.emailCcn = data.emailCcn; + this.emailNotification = data.emailNotification; + this.exportAfterSave = data.exportAfterSave; + this.exportHeader = data.exportHeader; + this.exportMode = data.exportMode; + this.exportType = data.exportType; + this.exportTypeData = data.exportTypeData; + this.fileName = data.fileName; + this.filePath = data.filePath; + this.filterCond = data.filterCond; + this.flagAppendFile = data.flagAppendFile; + this.flagFileCompress = data.flagFileCompress; + this.flagRemoteSave = data.flagRemoteSave; + this.flagSharedAnagArt = data.flagSharedAnagArt; + this.flagState = data.flagState; + this.formatFile = data.formatFile; + this.ftpCreateDirectory = data.ftpCreateDirectory; + this.ftpDirectory = data.ftpDirectory; + this.ftpHost = data.ftpHost; + this.ftpPassword = data.ftpPassword; + this.ftpPort = data.ftpPort; + this.ftpRetries = data.ftpRetries; + this.ftpType = data.ftpType; + this.ftpUser = data.ftpUser; + this.getFileName = data.getFileName; + this.priority = data.priority; + this.queryCustom = data.queryCustom; + this.userName = data.userName; + this.wsEndpoint = data.wsEndpoint; + this.wsPassword = data.wsPassword; + this.wsUser = data.wsUser; + } +} + +export class WtbUsersInfoPlanStatus extends EntityBase { + exportType?: string | null; + formatFile?: string | null; + lastExport?: Date | null; + type: "wtb_users_info_plan_status"; + userName?: string | null; + + constructor(data: WtbUsersInfoPlanStatus) { + super(data); + this.exportType = data.exportType; + this.formatFile = data.formatFile; + this.lastExport = data.lastExport; + this.userName = data.userName; + } +} + +export class YocabeStockListDTO implements Serializable { + codBarre?: string | null; + disponibile?: number | null; + + constructor(data: YocabeStockListDTO) { + this.codBarre = data.codBarre; + this.disponibile = data.disponibile; + } +} + +export class ZucchettiDTO { + key?: string | null; + value?: string | null; + + constructor(data: ZucchettiDTO) { + this.key = data.key; + this.value = data.value; + } +} + +export class ZucchettiHrDTO { + businessUnit?: string | null; + centroCosto?: string | null; + codiceAttributo?: string | null; + codiceAzienda?: string | null; + codiceFiliale?: string | null; + codiceInternalOrder?: string | null; + codiceReparto?: string | null; + codiceUnitaLocale?: string | null; + data?: string | null; + modalitaOperativa?: string | null; + orarioFine?: number | null; + orarioInizio?: number | null; + tabellaRiferimento?: string | null; + tipoRecord?: string | null; + valore?: number | null; + + constructor(data: ZucchettiHrDTO) { + this.businessUnit = data.businessUnit; + this.centroCosto = data.centroCosto; + this.codiceAttributo = data.codiceAttributo; + this.codiceAzienda = data.codiceAzienda; + this.codiceFiliale = data.codiceFiliale; + this.codiceInternalOrder = data.codiceInternalOrder; + this.codiceReparto = data.codiceReparto; + this.codiceUnitaLocale = data.codiceUnitaLocale; + this.data = data.data; + this.modalitaOperativa = data.modalitaOperativa; + this.orarioFine = data.orarioFine; + this.orarioInizio = data.orarioInizio; + this.tabellaRiferimento = data.tabellaRiferimento; + this.tipoRecord = data.tipoRecord; + this.valore = data.valore; + } +} + +export const enum ActionType { + REPORT = 0, + URL = 1, +} + +export const enum AnomalieDTOType { + WARNING = "WARNING", + ERROR = "ERROR", + INFO = "INFO", +} + +export const enum AppName { + PVM = 0, + WMS = 1, + WINGEST = 2, + WINACT = 3, + ORDIFY = 4, + WINCLOCK = 5, + TASK = 6, +} + +export const enum ApplicationName { + WINGEST = "WINGEST", + TEXTILES = "TEXTILES", + DMS = "DMS", +} + +export const enum Assicurazione { + VUOTO = 0, + ACQUIRENTE = 1, + VENDITORE = 2, +} + +export const enum AtbOfftStatoOfferta { + RICHIESTA_DI_OFFERTA = 0, + OFFERTA = 1, + CONTRATTO = 2, +} + +export const enum AutomatedOperationTypeEnum { + EXPORT = "EXPORT", + IMPORT = "IMPORT", + IMPORT_DIRECTORY = "IMPORT_DIRECTORY", + METHOD_CALLS = "METHOD_CALLS", + CHECK_B2B_INVOICES = "CHECK_B2B_INVOICES", +} + +export const enum Azione { + DELETE = "DELETE", + INSERT = "INSERT", + UPDATE = "UPDATE", +} + +export const enum Causale { + SCARICO = 0, + POSIZIONAMENTO = 1, +} + +export const enum Costo { + NESSUNO = 0, + ACQUIRENTE = 1, + VENDITORE = 2, +} + +export const enum CriterioDistribuzioneEnum { + U = "U", + O = "O", + G = "G", + UP = "UP", + FASE = "FASE", +} + +export const enum DB_TYPE { + ANY = "ANY", + MSSQL = "MSSQL", + MYSQL = "MYSQL", + POSTGRES = "POSTGRES", +} + +export const enum DatabaseObjectTypeEnum { + TABLE = "TABLE", + VIEW = "VIEW", +} + +export const enum DatabaseTableColumnDataType { + BIGINT = "BIGINT", + BIT = "BIT", + DECIMAL = "DECIMAL", + INT = "INT", + MONEY = "MONEY", + NUMERIC = "NUMERIC", + SMALLINT = "SMALLINT", + SMALLMONEY = "SMALLMONEY", + TINYINT = "TINYINT", + FLOAT = "FLOAT", + REAL = "REAL", + DATE = "DATE", + DATETIME = "DATETIME", + DATETIME2 = "DATETIME2", + DATETIME_OFFSET = "DATETIME_OFFSET", + SMALLDATETIME = "SMALLDATETIME", + TIME = "TIME", + TIMESTAMP = "TIMESTAMP", + CHAR = "CHAR", + VARCHAR = "VARCHAR", + TEXT = "TEXT", + NCHAR = "NCHAR", + NVARCHAR = "NVARCHAR", + NTEXT = "NTEXT", + BINARY = "BINARY", + VARBINARY = "VARBINARY", + IMAGE = "IMAGE", + GEOGRAPHY = "GEOGRAPHY", +} + +export const enum DatabaseVersionEnum { + SQLServer2000 = "SQLServer2000", + SQLServer2005 = "SQLServer2005", + SQLServer2008 = "SQLServer2008", + SQLServer2008R2 = "SQLServer2008R2", + SQLServer2012 = "SQLServer2012", + SQLServer2014 = "SQLServer2014", + SQLServer2016 = "SQLServer2016", + SQLServer2017 = "SQLServer2017", + SQLServer2019 = "SQLServer2019", + SQLServer2022 = "SQLServer2022", +} + +export const enum DigitalSignatureType { + CADESBES = "CADESBES", + XADESBES = "XADESBES", +} + +export const enum DirectoryType { + LocalFolder = "LocalFolder", + SftpFolder = "SftpFolder", +} + +export const enum EsitoType { + OK = 1, + KO = -1, + WARNING = 0, +} + +export const enum FilterMatchMode { + startsWith = "startsWith", + contains = "contains", + notContains = "notContains", + endsWith = "endsWith", + equals = "equals", + notEquals = "notEquals", + lt = "lt", + lte = "lte", + gt = "gt", + gte = "gte", + dateIs = "dateIs", + dateIsNot = "dateIsNot", + dateBefore = "dateBefore", + dateAfter = "dateAfter", +} + +export const enum FilterOperator { + and = "and", + or = "or", +} + +export const enum FlagEvaso { + INEVASO = "I", + EVASO = "E", + ANNULLATO = "A", +} + +export const enum FlagSezione { + RIGHE_DOC = 0, + RIGHE_INTRA = 1, + RIGHE_COLLO = 2, +} + +export const enum Format { + XLS = "XLS", + XLSX = "XLSX", + XML = "XML", + CSV = "CSV", + TXT = "TXT", + PDF = "PDF", +} + +export const enum FpxPDFTypeEnum { + FULL = "FULL", + SIMPLE = "SIMPLE", +} + +export const enum FpxSendType { + A = "A", + S = "S", +} + +export const enum GestioneEnum { + INVENTARIO = "INVENTARIO", + ACQUISTO = "ACQUISTO", + LAVORAZIONE = "LAVORAZIONE", + VENDITA = "VENDITA", +} + +export const enum Grandezza { + LUNGHEZZA = 0, + AREA = 1, + VOLUME = 2, +} + +export const enum GrlAnagJreptTipo { + ETICHETTA_SSCC_ACCETTAZIONE = 0, + ETICHETTA_SSCC_LAVORAZIONE = 1, + ETICHETTA_SSCC_SPEDIZIONE = 2, + STAMPA_LISTINI_VENDITA = 5, +} + +export const enum IntegryApplicationEnum { + GESTIONALE_BASE = "GESTIONALE_BASE", + PVM = "PVM", + WMS = "WMS", + TASK = "TASK", + CONSEGNA = "CONSEGNA", +} + +export const enum Level { + INFO = "INFO", + WARNING = "WARNING", + ERROR = "ERROR", +} + +export const enum MaintenanceStatus { + PROGRAMMATA = 0, + AVVIATA = 1, + TERMINATA = 2, + ANNULLATA = 3, +} + +export const enum MigrationStatusEnum { + COMPLETED = "COMPLETED", + PENDING = "PENDING", + SKIPPED = "SKIPPED", + ERROR = "ERROR", +} + +export const enum MtbColrCausale { + DEFAULT = 0, + RETTIFICA = 1, + VERSAMENTO = 2, +} + +export const enum MtbColsCausale { + CREAZIONE = 0, + RETTIFICA = 1, + POSIZIONAMENTO = 2, + VERSAMENTO = 3, +} + +/** + * Values: + * - `NO_OP` + * - `SELECT` + * - `SELECT_OBJECT` + * - `INSERT` + * - `UPDATE` + * - `APPEND` - @deprecated + * - `SUBSTITUTE` + * - `DELETE_THEN_INSERT` + * - `DELETE` + * - `INSERT_OR_UPDATE` + */ +export const enum OperationType { + NO_OP = "NO_OP", + SELECT = "SELECT", + SELECT_OBJECT = "SELECT_OBJECT", + INSERT = "INSERT", + UPDATE = "UPDATE", + /** + * @deprecated + */ + APPEND = "APPEND", + SUBSTITUTE = "SUBSTITUTE", + DELETE_THEN_INSERT = "DELETE_THEN_INSERT", + DELETE = "DELETE", + INSERT_OR_UPDATE = "INSERT_OR_UPDATE", +} + +export const enum Orientation { + PORTRAIT = 0, + LANDSCAPE = 1, + AUTO = 2, +} + +export const enum PackagingMaterialType { + PUNNET = "PUNNET", + TRAY = "TRAY", + BAG = "BAG", + CARTON = "CARTON", + CRATE = "CRATE", + PALLET = "PALLET", +} + +export const enum Periodicity { + NEVER = 0, + DAILY = 1, + WEEKLY = 2, + MONTHLY = 3, + YEARLY = 4, +} + +export const enum Promo { + ATTIVA = "ATTIVA", + DISATTIVA = "DISATTIVA", +} + +export const enum Quality { + NOT_VALID = -30, + REALLY_DIRTY = -20, + DIRTY = -10, + GOOD = 0, +} + +export const enum RequestMethod { + GET = "GET", + HEAD = "HEAD", + POST = "POST", + PUT = "PUT", + PATCH = "PATCH", + DELETE = "DELETE", + OPTIONS = "OPTIONS", + TRACE = "TRACE", +} + +export const enum Rischi { + NESSUNO = 0, + ACQUIRENTE = 1, + VENDITORE = 2, +} + +export const enum RowIdLifetime { + ROWID_UNSUPPORTED = "ROWID_UNSUPPORTED", + ROWID_VALID_OTHER = "ROWID_VALID_OTHER", + ROWID_VALID_SESSION = "ROWID_VALID_SESSION", + ROWID_VALID_TRANSACTION = "ROWID_VALID_TRANSACTION", + ROWID_VALID_FOREVER = "ROWID_VALID_FOREVER", +} + +export const enum SaveMode { + STB_FILES_ATTACHED = 0, + STB_ACTIVITY_FILE = 1, +} + +export const enum SqlObjectTypeEnum { + VIEW = "VIEW", + FUNCTION = "FUNCTION", + PROCEDURE = "PROCEDURE", + TRIGGER = "TRIGGER", +} + +export const enum Stato { + PIANIFICATO = 0, + CARICO = 1, + SPEDITO = 2, +} + +export const enum StatoImporto { + SOSPESO = "SOSPESO", + SOSPESO_PAGATO = "SOSPESO_PAGATO", + PAGATO = "PAGATO", +} + +export const enum Status { + ACTIVE = 0, + EXPIRING = 1, + EXPIRED = 2, +} + +export const enum TargetQuantityUnit { + PIECE = "PIECE", + SECONDARY_PACKAGING = "SECONDARY_PACKAGING", + TERTIARY_PACKAGING = "TERTIARY_PACKAGING", + KILOGRAM = "KILOGRAM", +} + +export const enum TipoCosto { + ULTIMO_COSTO = "UC", + COSTO_MERCATO = "CM", +} + +export const enum TipoGruppo { + ACCONTI_SCONTI = "ACS", + FITTIZIO = "FTT", + IMBALLAGGI = "IMB", + MATERIALE_ACCESSORI = "ACC", + MATERIE_PRIME = "MP", + PRODOTTI_FINITI = "PF", + SEMILAVORATI = "SL", + RICAMBI = "RIC", + SERVIZI = "SRV", +} + +export const enum TipoUM { + UP = "UP", + UI = "UI", + UL = "UL", +} + +export const enum TipoValore { + TESTO = 0, + BOOLEAN = 1, + INTERO = 2, + DECIMALE = 3, + DATE = 4, + DATETIME = 5, + TIME = 6, +} + +export const enum TypeAttach { + FATTURA_PASSIVA = "FP", + SCHEDA_TECNICA = "ST", + FIRMA = "FI", +} + +export const enum TypeExportEnum { + PDF = "PDF", + XLSX = "XLSX", + JPEG = "JPEG", + PNG = "PNG", + BMP = "BMP", +} + +export const enum UntMis { + KG = "KG", + LT = "LT", +} + +export const enum UserGroupENUM { + NULL = "NULL", + AMMINISTRATORE_SISTEMA = "AMMINISTRATORE_SISTEMA", + UTENTE_AZIENDALE = "UTENTE_AZIENDALE", + CLIENTE = "CLIENTE", + FORNITORE = "FORNITORE", + AGENTI = "AGENTI", + ISPETTORE = "ISPETTORE", + GESTORE_DEPOSITO_ESTERNO = "GESTORE_DEPOSITO_ESTERNO", + SQUADRA_MANUTENZIONE = "SQUADRA_MANUTENZIONE", + AMMINISTRATORE_AZIENDALE = "AMMINISTRATORE_AZIENDALE", + PUNTO_VENDITA = "PUNTO_VENDITA", + RESPONSABILE_PRODUZIONE = "RESPONSABILE_PRODUZIONE", + RESPONSABILE_PUNTI_VENDITA = "RESPONSABILE_PUNTI_VENDITA", + RILEVATORE = "RILEVATORE", + TECNICO = "TECNICO", + RESPONSABILE_REPARTO = "RESPONSABILE_REPARTO", + RESPONSABILE_ACQUISTI = "RESPONSABILE_ACQUISTI", + RESPONSABILE_EDP = "RESPONSABILE_EDP", + SOTTOSCRITTORE = "SOTTOSCRITTORE", + OSPITE = "OSPITE", + VETTORE_CONSEGNATARIO = "VETTORE_CONSEGNATARIO", + RESPONSABILE_AMMINISTRATIVO = "RESPONSABILE_AMMINISTRATIVO", + PROGRAMMATORE = "PROGRAMMATORE", +} + +export const enum VariazioniReportGiornoSettimana { + LUNEDI = "LUNEDI", + MARTEDI = "MARTEDI", + MERCOLEDI = "MERCOLEDI", + GIOVEDI = "GIOVEDI", + VENERDI = "VENERDI", + SABATO = "SABATO", + DOMENICA = "DOMENICA", +} + +export const enum VariazioniReportType { + VARIAZIONI = "VARIAZIONI", + GRIGLIA = "GRIGLIA", + PROMOZIONI = "PROMOZIONI", + LISTINO = "LISTINO", + TRACCIABILITA = "TRACCIABILITA", +} + +export const enum VtbOfftStatoOfferta { + IN_ELABORAZIONE = 0, + IN_APPROVAZIONE = 1, + APPROVATA = 2, + COMPLETATA = 3, +} + +export const enum WeekDayEnum { + MONDAY = 1, + TUESDAY = 2, + WEDNESDAY = 3, + THURSDAY = 4, + FRIDAY = 5, + SATURDAY = 6, + SUNDAY = 7, +} + +export const enum WtbJreptSetupTipo { + ETICHETTA_SSCC_ACCETTAZIONE = 0, + ETICHETTA_SSCC_LAVORAZIONE = 1, + ETICHETTA_SSCC_SPEDIZIONE = 2, + WMS_SPEDIZIONE_PACKING_LIST_ORD = 4, + STAMPA_LISTINI_VENDITA = 5, + STAMPA_LISTINI_VENDITA_RANGE_PEDANE = 6, + STAMPA_ORDINE_LAVORAZIONE = 7, + STAMPA_DOCUMENTI_VENDITA = 8, +}