Fix LocalDate su MtbCols

This commit is contained in:
2024-03-27 16:32:34 +01:00
parent bff1705c5b
commit a6f304c527

View File

@@ -10,8 +10,9 @@ import it.integry.ems_model.annotation.Table;
import it.integry.ems_model.base.EntityBase;
import it.integry.ems_model.entity._enum.IBaseEnum;
import org.kie.api.definition.type.PropertyReactive;
import java.time.LocalDate;
import java.util.Date;
import it.integry.ems_model.annotation.FK;
@PropertyReactive
@Table(MtbCols.ENTITY)
@@ -24,7 +25,7 @@ public class MtbCols extends EntityBase {
@PK
@SqlField(value = "data_collo", nullable = false)
private Date dataCollo;
private LocalDate dataCollo;
@PK
@SqlField(value = "gestione", maxLength = 1, nullable = false)
@@ -62,11 +63,11 @@ public class MtbCols extends EntityBase {
super();
}
public Date getDataCollo() {
public LocalDate getDataCollo() {
return dataCollo;
}
public MtbCols setDataCollo(Date dataCollo) {
public MtbCols setDataCollo(LocalDate dataCollo) {
this.dataCollo = dataCollo;
return this;
}