RED-8702: Explore document databases to store entityLog

* refactoring
This commit is contained in:
maverickstuder 2024-03-20 11:47:51 +01:00
parent 66b476a7bf
commit fd93cea1cf
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ public class EntityLogEntryDocument {
this.entryId = entityLogEntry.getId();
this.entityLogId = entityLogId;
this.setType(entityLogEntry.getType());
this.setEntryType(entityLogEntry.getEntryType());
this.setState(entityLogEntry.getState());
this.setValue(entityLogEntry.getValue());

View File

@ -209,6 +209,7 @@ public class EntityLogMongoService {
EntityLogEntry entityLogEntry = new EntityLogEntry();
entityLogEntry.setId(entityLogEntryDocument.getEntryId());
entityLogEntry.setType(entityLogEntryDocument.getType());
entityLogEntry.setEntryType(entityLogEntryDocument.getEntryType());
entityLogEntry.setState(entityLogEntryDocument.getState());
entityLogEntry.setValue(entityLogEntryDocument.getValue());