diff --git a/Workspace/core/src/main/java/com/pqt/core/entities/product/ProductUpdate.java b/Workspace/core/src/main/java/com/pqt/core/entities/product/ProductUpdate.java index 106f5a45..3b6ebdea 100644 --- a/Workspace/core/src/main/java/com/pqt/core/entities/product/ProductUpdate.java +++ b/Workspace/core/src/main/java/com/pqt/core/entities/product/ProductUpdate.java @@ -9,7 +9,6 @@ import java.util.Objects; public class ProductUpdate implements ILoggable, Serializable { - private Date createdAt; private Product oldVersion; private Product newVersion; @@ -17,25 +16,15 @@ public class ProductUpdate implements ILoggable, Serializable { } public ProductUpdate(Product oldVersion, Product newVersion) { - this.createdAt = new Date(); this.oldVersion = oldVersion; this.newVersion = newVersion; } public ProductUpdate(Date createdAt, Product oldVersion, Product newVersion) { - this.createdAt = createdAt; this.oldVersion = oldVersion; this.newVersion = newVersion; } - public Date getCreatedAt() { - return createdAt; - } - - public void setCreatedAt(Date createdAt) { - this.createdAt = createdAt; - } - public Product getOldVersion() { return oldVersion; }