Aggiunto codice SDI nella tabella azienda
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_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 {
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user