Aggiunto flag_extracee per stampa dati azienda in registri iva
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -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 {
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user