This commit is contained in:
CITE\spapacharalampous 2024-08-22 17:24:09 +03:00
parent 8073fa4d9f
commit 2e91af4b43
3 changed files with 2 additions and 5 deletions

View File

@ -4,7 +4,6 @@ import jakarta.persistence.*;
import org.hibernate.annotations.Type;
import org.opencdmp.commons.enums.IsActive;
import org.opencdmp.commons.enums.PlanStatus;
import org.opencdmp.data.converters.enums.DescriptionTemplateStatusConverter;
import org.opencdmp.data.converters.enums.IsActiveConverter;
import org.opencdmp.data.converters.enums.PlanStatusConverter;
import org.opencdmp.data.tenant.TenantScopedBaseEntity;
@ -82,9 +81,7 @@ public class PlanStatusEntity extends TenantScopedBaseEntity {
this.updatedAt = updatedAt;
}
public IsActive getIsActive() {
return this.isActive;
}
public IsActive getIsActive() { return this.isActive; }
public void setIsActive(IsActive isActive) {
this.isActive = isActive;
}

View File

@ -214,6 +214,7 @@ public class PlanStatusQuery extends QueryBase<PlanStatusEntity> {
item.setInternalStatus(QueryBase.convertSafe(tuple, columns, PlanStatusEntity._internalStatus, org.opencdmp.commons.enums.PlanStatus.class));
item.setCreatedAt(QueryBase.convertSafe(tuple, columns, PlanStatusEntity._createdAt, Instant.class));
item.setUpdatedAt(QueryBase.convertSafe(tuple, columns, PlanStatusEntity._updatedAt, Instant.class));
item.setIsActive(QueryBase.convertSafe(tuple, columns, PlanStatusEntity._isActive, IsActive.class));
return item;
}
}

View File

@ -38,7 +38,6 @@ import org.springframework.stereotype.Service;
import javax.management.InvalidApplicationException;
import java.time.Instant;
import java.util.ArrayList;
import java.util.List;
import java.util.UUID;