Aggiunto codice SDI nella tabella azienda

This commit is contained in:
2025-09-08 15:09:18 +02:00
parent 63b46cd93f
commit e7abca0cc0
2 changed files with 31 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_20250908150244 extends BaseMigration implements MigrationModelInterface {
@Override
public void up() throws Exception {
if (isHistoryDB())
return;
executeStatement("ALTER TABLE azienda ADD cod_sdi_ditta VARCHAR(7)");
}
@Override
public void down() throws Exception {
}
}

View File

@@ -231,6 +231,9 @@ public class Azienda extends EntityBase {
@SqlField(value = "progressivo_sscc", nullable = false)
private Long progressivoSscc;
@SqlField(value = "cod_sdi_ditta", maxLength = 7)
private String codSdiDitta;
/**
* Regime Fiscale
*/
@@ -977,4 +980,13 @@ public class Azienda extends EntityBase {
this.progressivoSscc = progressivoSscc;
return this;
}
public String getCodSdiDitta() {
return codSdiDitta;
}
public Azienda setCodSdiDitta(String codSdiDitta) {
this.codSdiDitta = codSdiDitta;
return this;
}
}