aggiunto flag_stampa_pkl nella gtb_anag_note
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_20250729103953 extends BaseMigration implements MigrationModelInterface {
|
||||
|
||||
@Override
|
||||
public void up() throws Exception {
|
||||
if (isHistoryDB())
|
||||
return;
|
||||
|
||||
executeStatement("alter table gtb_anag_note add flag_stampa_pkl bit not null default 0");
|
||||
}
|
||||
|
||||
@Override
|
||||
public void down() throws Exception {
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,6 @@ import org.kie.api.definition.type.PropertyReactive;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@PropertyReactive
|
||||
@@ -58,6 +57,9 @@ public class GtbAnagNote extends EntityBase {
|
||||
@SqlField(value = "tipo_note", maxLength = 40)
|
||||
private String tipoNote;
|
||||
|
||||
@SqlField(value = "flag_stampa_pkl", nullable = false, defaultObjectValue = "0")
|
||||
private Boolean flagStampaPkl;
|
||||
|
||||
@JsonProperty
|
||||
private String idAttach;
|
||||
|
||||
@@ -176,6 +178,15 @@ public class GtbAnagNote extends EntityBase {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Boolean getFlagStampaPkl() {
|
||||
return flagStampaPkl;
|
||||
}
|
||||
|
||||
public GtbAnagNote setFlagStampaPkl(Boolean flagStampaPkl) {
|
||||
this.flagStampaPkl = flagStampaPkl;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void insertChilds() throws Exception {
|
||||
for (GrlAnagNoteFiles grlAnagNoteFiles : getGrlAnagNoteFiles()) {
|
||||
|
||||
Reference in New Issue
Block a user