Aggiunto flag_extracee per stampa dati azienda in registri iva
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good

This commit is contained in:
2025-02-21 09:10:15 +01:00
parent d55c34a953
commit 8c98a1a323
2 changed files with 30 additions and 0 deletions

View File

@@ -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_20250221090218 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement(
"alter table ctb_ireg add flag_extracee varchar(1) not null default 'N'");
}
@Override
public void down() throws Exception {
}
}

View File

@@ -44,6 +44,9 @@ public class CtbIreg extends EntityBase {
@SqlField(value = "flag_iva_da_ventilare", maxLength = 1, nullable = false, defaultObjectValue = "N")
private String flagIvaDaVentilare;
@SqlField(value = "flag_extracee", maxLength = 1, nullable = false, defaultObjectValue = "N")
private String flagExtracee;
@EntityChild
private List<CtbInum> ctbInum = new ArrayList<>();
@@ -110,6 +113,14 @@ public class CtbIreg extends EntityBase {
this.flagIvaDaVentilare = flagIvaDaVentilare;
}
public String getFlagExtracee() {
return flagExtracee;
}
public void setFlagExtracee(String flagExtracee) {
this.flagExtracee = flagExtracee;
}
public List<CtbInum> getCtbInum() {
return ctbInum;
}