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