
package com.myapos.clientmanager.model;

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

import lombok.Data;

import com.fasterxml.jackson.annotation.JsonIgnore;

import java.util.*;

/**
 * @author Myron Apostolakis
 */
// tag::code[]

public class PaymentRegisters {

	private int index;
	private Boolean payment;
	private String notes;
	private Date dateOfPayment;
	private String fname;
	private String lname;
	private String classDescription;

	public PaymentRegisters(
		int index,
		Boolean payment,
		String notes,
		Date dateOfPayment, 
		String fname, 
		String lname,
		String classDescription) {
		this.index = index;
		this.payment = payment;
		this.notes = notes;
		this.dateOfPayment = dateOfPayment;
		this.fname = fname;
		this.lname = lname;
		this.classDescription = classDescription;
	}

	public int getIndex() {
	  return index;
	}

	public Boolean getPayment() {
	  return payment;
	}

	public String getNotes() {
	  return notes;
	}

	public Date getDateOfPayment() {
	  return dateOfPayment;
	}

	public String getFname() {
	  return fname;
	}

	public String getLname() {
	  return lname;
	}

	public String getClassDescription() {
	  return classDescription;
	}

}