description status fix

This commit is contained in:
CITE\spapacharalampous 2024-08-30 17:02:07 +03:00
parent ab5c16f7d8
commit 398a2059ad
2 changed files with 7 additions and 0 deletions

View File

@ -59,6 +59,7 @@ public class DescriptionStatusBuilder extends BaseBuilder<DescriptionStatus, Des
if (fields.hasField(this.asIndexer(DescriptionStatus._updatedAt))) m.setUpdateAt(d.getUpdatedAt()); if (fields.hasField(this.asIndexer(DescriptionStatus._updatedAt))) m.setUpdateAt(d.getUpdatedAt());
if (fields.hasField(this.asIndexer(DescriptionStatus._createdAt))) m.setCreatedAt(d.getCreatedAt()); if (fields.hasField(this.asIndexer(DescriptionStatus._createdAt))) m.setCreatedAt(d.getCreatedAt());
if (fields.hasField(this.asIndexer(DescriptionStatus._isActive))) m.setIsActive(d.getIsActive()); if (fields.hasField(this.asIndexer(DescriptionStatus._isActive))) m.setIsActive(d.getIsActive());
if (fields.hasField(this.asIndexer(DescriptionStatus._hash))) m.setHash(this.hashValue(d.getUpdatedAt()));
if (fields.hasField(this.asIndexer(DescriptionStatus._internalStatus))) m.setInternalStatus(d.getInternalStatus()); if (fields.hasField(this.asIndexer(DescriptionStatus._internalStatus))) m.setInternalStatus(d.getInternalStatus());
if (fields.hasField(this.asIndexer(DescriptionStatus._belongsToCurrentTenant))) m.setBelongsToCurrentTenant(this.getBelongsToCurrentTenant(d, this.tenantScope)); if (fields.hasField(this.asIndexer(DescriptionStatus._belongsToCurrentTenant))) m.setBelongsToCurrentTenant(this.getBelongsToCurrentTenant(d, this.tenantScope));

View File

@ -25,6 +25,9 @@ public class DescriptionStatus {
public final static String _isActive = "isActive"; public final static String _isActive = "isActive";
private IsActive isActive; private IsActive isActive;
public final static String _hash = "hash";
private String hash;
public final static String _belongsToCurrentTenant = "belongsToCurrentTenant"; public final static String _belongsToCurrentTenant = "belongsToCurrentTenant";
private Boolean belongsToCurrentTenant; private Boolean belongsToCurrentTenant;
@ -52,6 +55,9 @@ public class DescriptionStatus {
public IsActive getIsActive() { return this.isActive; } public IsActive getIsActive() { return this.isActive; }
public void setIsActive(IsActive isActive) { this.isActive = isActive; } public void setIsActive(IsActive isActive) { this.isActive = isActive; }
public String getHash() { return this.hash; }
public void setHash(String hash) { this.hash = hash; }
public org.opencdmp.commons.enums.DescriptionStatus getInternalStatus() { return this.internalStatus; } public org.opencdmp.commons.enums.DescriptionStatus getInternalStatus() { return this.internalStatus; }
public void setInternalStatus(org.opencdmp.commons.enums.DescriptionStatus internalStatus) { this.internalStatus = internalStatus; } public void setInternalStatus(org.opencdmp.commons.enums.DescriptionStatus internalStatus) { this.internalStatus = internalStatus; }