package com.revature.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="ie_person_role")
public class PersonRole {
	
	@Id
	@Column(name="pr_id")
	private int id;
	
	@Column(name = "pr_title")
	private String title;

}

@@ -316,10 +316,1038 @@
 title;%0A%0A
+%09public PersonRole(int id, String title) %7B%0A%09%09super();%0A%09%09this.id = id;%0A%09%09this.title = title;%0A%09%7D%0A%0A%09public PersonRole()%7B%0A%09%09%0A%09%7D%0A%0A%09public int getId() %7B%0A%09%09return id;%0A%09%7D%0A%0A%09public void setId(int id) %7B%0A%09%09this.id = id;%0A%09%7D%0A%0A%09public String getTitle() %7B%0A%09%09return title;%0A%09%7D%0A%0A%09public void setTitle(String title) %7B%0A%09%09this.title = title;%0A%09%7D%0A%0A%09@Override%0A%09public int hashCode() %7B%0A%09%09final int prime = 31;%0A%09%09int result = 1;%0A%09%09result = prime * result + id;%0A%09%09result = prime * result + ((title == null) ? 0 : title.hashCode());%0A%09%09return result;%0A%09%7D%0A%0A%09@Override%0A%09public boolean equals(Object obj) %7B%0A%09%09if (this == obj)%0A%09%09%09return true;%0A%09%09if (obj == null)%0A%09%09%09return false;%0A%09%09if (getClass() != obj.getClass())%0A%09%09%09return false;%0A%09%09PersonRole other = (PersonRole) obj;%0A%09%09if (id != other.id)%0A%09%09%09return false;%0A%09%09if (title == null) %7B%0A%09%09%09if (other.title != null)%0A%09%09%09%09return false;%0A%09%09%7D else if (!title.equals(other.title))%0A%09%09%09return false;%0A%09%09return true;%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return %22PersonRole %5Bid=%22 + id + %22, title=%22 + title + %22%5D%22;%0A%09%7D%0A%09%0A%09%0A
 %7D%0A

edit PersonRole.java