package at.ac.tuwien.inso.entity;

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

@Entity
public class Semester {

    @Id
    @GeneratedValue
    private Long id;

}

@@ -28,16 +28,49 @@
 ntity;%0A%0A
+import javax.persistence.Column;%0A
 import j
@@ -248,10 +248,815 @@
 ng id;%0A%0A
+    @Column%0A    private String label;%0A%0A    public Semester(String label) %7B%0A        this.label = label;%0A    %7D%0A%0A    public String getLabel() %7B%0A        return label;%0A    %7D%0A%0A    @Override%0A    public boolean equals(Object o) %7B%0A        if (this == o) return true;%0A        if (o == null %7C%7C getClass() != o.getClass()) return false;%0A%0A        Semester semester = (Semester) o;%0A%0A        if (!id.equals(semester.id)) return false;%0A        return label.equals(semester.label);%0A%0A    %7D%0A%0A    @Override%0A    public int hashCode() %7B%0A        int result = id.hashCode();%0A        result = 31 * result + label.hashCode();%0A        return result;%0A    %7D%0A%0A    @Override%0A    public String toString() %7B%0A        return %22Semester%7B%22 +%0A                %22id=%22 + id +%0A                %22, label='%22 + label + '%5C'' +%0A                '%7D';%0A    %7D%0A
 %7D%0A

add some details about Semester.