summaryrefslogtreecommitdiffstats
path: root/pdp-common/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'pdp-common/src/main/java')
-rw-r--r--pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java b/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java
index 002a777f..b756386b 100644
--- a/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java
+++ b/pdp-common/src/main/java/org/onap/policy/pdp/common/models/Policy.java
@@ -20,6 +20,7 @@
package org.onap.policy.pdp.common.models;
+import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
@@ -32,9 +33,11 @@ import lombok.ToString;
@Getter
@Setter
@ToString
+@EqualsAndHashCode
public class Policy {
private String name;
+ private String policyVersion;
private String policyType;
private String policyTypeVersion;
private String properties;