Newer
Older
marking / src / main / java / model / Student.java
package model;

/**
 *
 * @author Mark George <mark.george@otago.ac.nz>
 */
public class Student {

	private String id;
	private String submissionId;
	private String username;
	private String firstName;
	private String lastName;
	private String email;
	private Boolean sendFeedback;
	private Boolean emailSent;

	public Student() {
	}

	public Student(String id, String submissionId, String username, String firstName, String lastName, String email, Boolean sendFeedback, Boolean emailSent) {
		this.id = id;
		this.submissionId = submissionId;
		this.username = username;
		this.firstName = firstName;
		this.lastName = lastName;
		this.email = email;
		this.sendFeedback = sendFeedback;
		this.emailSent = emailSent;
	}

	public String getSubmissionId() {
		return submissionId;
	}

	public void setSubmissionId(String submissionId) {
		this.submissionId = submissionId;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Boolean getSendFeedback() {
		return sendFeedback;
	}

	public void setSendFeedback(Boolean sendFeedback) {
		this.sendFeedback = sendFeedback;
	}

	public Boolean getEmailSent() {
		return emailSent;
	}

	public void setEmailSent(Boolean emailSent) {
		this.emailSent = emailSent;
	}

	@Override
	public String toString() {
		return "Student{"
			+ "id='" + id + '\''
			+ ", username='" + username + '\''
			+ ", firstName='" + firstName + '\''
			+ ", lastName='" + lastName + '\''
			+ ", email='" + email + '\''
			+ ", sendFeedback=" + sendFeedback
			+ ", emailSent=" + emailSent
			+ '}';
	}
}