package uk.ac.ebi.spot.goci.model;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * Created by emma on 27/11/14.
 *
 * @author emma
 *         <p>
 *         Model object representing status assigned to studies
 */


@Entity
public class CurationStatus {
    @Id
    @GeneratedValue
    private Long id;

    private String status;

    private String seqnbr;

    // JPA no-args constructor
    public CurationStatus() {
    }

    public CurationStatus(Long id, String curationStatus, String seqnbr) {
        this.id = id;
        this.status = curationStatus;
        this.seqnbr = seqnbr;
    }

    public Long getId() {
        return id;
    }

    public String getStatus() {
        return status;
    }

    public String getSeqnbr() {
        return seqnbr;
    }

    @Override
    public String toString() {
        return "CurationStatus{" +
                "id=" + id +
                ", curationStatus='" + status + '\'' +
                ", seqnbr='" + seqnbr + '\'' +
                '}';
    }
}

@@ -270,15 +270,15 @@
 dies
+.
 %0A */%0A%0A
-%0A
 @Ent
@@ -393,36 +393,8 @@
 s;%0A%0A
-    private String seqnbr;%0A%0A
     
@@ -503,37 +503,14 @@
 ing 
-curationStatus, String seqnbr
+status
 ) %7B%0A
@@ -557,52 +557,14 @@
 s = 
-curationStatus;%0A        this.seqnbr = seqnbr
+status
 ;%0A  
@@ -685,307 +685,5 @@
   %7D%0A
-%0A    public String getSeqnbr() %7B%0A        return seqnbr;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22CurationStatus%7B%22 +%0A                %22id=%22 + id +%0A                %22, curationStatus='%22 + status + '%5C'' +%0A                %22, seqnbr='%22 + seqnbr + '%5C'' +%0A                '%7D';%0A    %7D%0A%7D%0A
+%7D

Remove SEQNBR variable