package net.roseindia.model;
import java.io.Serializable;
import java.util.Date;

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

/**
 * @author Deepak Kumar
 * Hibernate HQL Tutorials
 */
@Entity
@Table(name="invoice")
public class Invoice {
	
	@Id
	@GeneratedValue
	@Column(name = "id")  
	private Integer id;
	
	@Column(name="cust_id")
	private Integer customerId;
	

	@Column(name="invoice_date")
	private Date invoiceDate;
	
	@Column(name="dispatch_status")
	private String dispatchStatus;
	
	
	@Column(name="invoice_amount")
	private Integer invoiceAmount;

	public Integer getId() {
		return id;
	}

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

	public Integer getCustomerId() {
		return customerId;
	}

	public void setCustomerId(Integer customerId) {
		this.customerId = customerId;
	}

	public Date getInvoiceDate() {
		return invoiceDate;
	}

	public void setInvoiceDate(Date invoiceDate) {
		this.invoiceDate = invoiceDate;
	}

	public String getDispatchStatus() {
		return dispatchStatus;
	}

	public void setDispatchStatus(String dispatchStatus) {
		this.dispatchStatus = dispatchStatus;
	}

	public Integer getInvoiceAmount() {
		return invoiceAmount;
	}

	public void setInvoiceAmount(Integer invoiceAmount) {
		this.invoiceAmount = invoiceAmount;
	}	
	
	
}
