package com.palmnest.model.estateserve;

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


@Entity
@Table(name = "tb_neigouOrder_info")
public class NeigouOrder implements java.io.Serializable {


	// Fields
	private Integer id;
	private Integer currentmessageid;
	private Integer last_message_id;

	/**
	 * default constructor
	 */
	public NeigouOrder() {

	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

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

	@Column(name = "currentmessageid")
	public Integer getCurrentmessageid() {
		return currentmessageid;
	}

	public void setCurrentmessageid(Integer currentmessageid) {
		this.currentmessageid = currentmessageid;
	}

	@Column(name = "last_message_id")
	public Integer getLast_message_id() {
		return last_message_id;
	}

	public void setLast_message_id(Integer last_message_id) {
		this.last_message_id = last_message_id;
	}


}
