anomalie merce
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_20251209114959 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("alter table dbo.mtb_cols add valore varchar(200)");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
@@ -63,6 +63,9 @@ public class MtbCols extends EntityBase {
|
||||
@SqlField(value = "causale", nullable = false)
|
||||
private Causale causale;
|
||||
|
||||
@SqlField(value = "valore", nullable = true)
|
||||
private String valore;
|
||||
|
||||
public MtbCols() {
|
||||
super(logger);
|
||||
}
|
||||
@@ -157,9 +160,18 @@ public class MtbCols extends EntityBase {
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getValore() {
|
||||
return valore;
|
||||
}
|
||||
|
||||
public MtbCols setValore(String valore) {
|
||||
this.valore = valore;
|
||||
return this;
|
||||
}
|
||||
|
||||
public enum Causale implements IBaseEnum<Causale> {
|
||||
|
||||
CREAZIONE((short) 0), RETTIFICA((short) 1), POSIZIONAMENTO((short) 2), VERSAMENTO((short) 3);
|
||||
CREAZIONE((short) 0), RETTIFICA((short) 1), POSIZIONAMENTO((short) 2), VERSAMENTO((short) 3), ANOMALIA_ASSOCIATA((short) 4), ANOMALIA_RIMOSSA((short) 5);
|
||||
|
||||
private final short value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user