package com.njcn.pojo.configuration;

import java.io.Serializable;
import java.util.Date;

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

/**
 * 消息推送信息表
 * */
@Table(name="PQS_PUSHINFO")
public class PushInfo implements Serializable{
	@Id
	@Column(name="PI_INDEX")
	private String piIndex;

	@Column(name="NODE_NAME")
	private String nodeName;

	@Column(name="NODE_IP")
	private String nodeIP;

	@Column(name="PUSHTYPE")
	private Long pushType;

	@Column(name="ACTTYPE")
	private Long actType;

	@Column(name="MYINDEX")
	private Long myIndex;

	@Column(name="MYNAME")
	private String myName;

	@Column(name="STATE")
	private Long state;
	
	@Column(name="UPDATETIME")
	private Date updateTime;

	public String getPiIndex() {
		return piIndex;
	}

	public void setPiIndex(String piIndex) {
		this.piIndex = piIndex;
	}

	public String getNodeName() {
		return nodeName;
	}

	public void setNodeName(String nodeName) {
		this.nodeName = nodeName;
	}

	public String getNodeIP() {
		return nodeIP;
	}

	public void setNodeIP(String nodeIP) {
		this.nodeIP = nodeIP;
	}

	public Long getPushType() {
		return pushType;
	}

	public void setPushType(Long pushType) {
		this.pushType = pushType;
	}

	public Long getActType() {
		return actType;
	}

	public void setActType(Long actType) {
		this.actType = actType;
	}

	public Long getMyIndex() {
		return myIndex;
	}

	public void setMyIndex(Long myIndex) {
		this.myIndex = myIndex;
	}

	public String getMyName() {
		return myName;
	}

	public void setMyName(String myName) {
		this.myName = myName;
	}

	public Long getState() {
		return state;
	}

	public void setState(Long state) {
		this.state = state;
	}
	

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Override
	public String toString() {
		return "PushInfo [piIndex=" + piIndex + ", nodeName=" + nodeName + ", nodeIP=" + nodeIP + ", pushType=" + pushType
				 + ", actType=" + actType + ", myIndex=" + myIndex + ", myName=" + myName + ", state=" + state + ", updateTime=" + updateTime+"]";
	}
}