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;

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

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

    public Long getId() {
        return id;
    }

    public String getStatus() {
        return status;
    }
}
@@ -680,10 +680,182 @@
 s;%0A    %7D
+%0A%0A    //Setters used in testing%0A    public void setId(Long id) %7B%0A        this.id = id;%0A    %7D%0A%0A    public void setStatus(String status) %7B%0A        this.status = status;%0A    %7D
 %0A%7D

Add setters