RED-8702: Explore document databases to store entityLog
* refactoring
This commit is contained in:
parent
66b476a7bf
commit
fd93cea1cf
@ -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());
|
||||
|
||||
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user