package uk.gov.dvla.domain;

import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Property;

import java.lang.String;
import java.util.Date;

@Embedded
public class DeathDetails {

    private Date date;
    private @Property("vlDeathDateCode") String verificationLevelDeathDateCode;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getVerificationLevelDeathDateCode() {
        return verificationLevelDeathDateCode;
    }

    public void setVerificationLevelDeathDateCode(String verificationLevelDeathDateCode) {
        this.verificationLevelDeathDateCode = verificationLevelDeathDateCode;
    }
}

package uk.gov.dvla.domain;

import com.google.code.morphia.annotations.Embedded;
import com.google.code.morphia.annotations.Property;

import java.lang.String;
import java.util.Date;

@Embedded
public class DeathDetails {

    private Date date;
    private @Property("vlDeathDateCode") String verificationLevelDeathDateCode;
    private @Property("vlDeathDateName") String verificationLevelDeathDateName;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getVerificationLevelDeathDateCode() {
        return verificationLevelDeathDateCode;
    }

    public void setVerificationLevelDeathDateCode(String verificationLevelDeathDateCode) {
        this.verificationLevelDeathDateCode = verificationLevelDeathDateCode;
    }

    public String getVerificationLevelDeathDateName() {
        return verificationLevelDeathDateName;
    }

    public void setVerificationLevelDeathDateName(String verificationLevelDeathDateName) {
        this.verificationLevelDeathDateName = verificationLevelDeathDateName;
    }
}

--- 
+++ 
@@ -11,7 +11,6 @@
 
     private Date date;
     private @Property("vlDeathDateCode") String verificationLevelDeathDateCode;
-    private @Property("vlDeathDateName") String verificationLevelDeathDateName;
 
     public Date getDate() {
         return date;
@@ -28,12 +27,4 @@
     public void setVerificationLevelDeathDateCode(String verificationLevelDeathDateCode) {
         this.verificationLevelDeathDateCode = verificationLevelDeathDateCode;
     }
-
-    public String getVerificationLevelDeathDateName() {
-        return verificationLevelDeathDateName;
-    }
-
-    public void setVerificationLevelDeathDateName(String verificationLevelDeathDateName) {
-        this.verificationLevelDeathDateName = verificationLevelDeathDateName;
-    }
 }
Fix for defect 34612 where we need to check the verification level death date code to determine if the record should be suppressed
