package com.njcn.pojo.data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 事件关联分析表，展示事件关联分析后事件
 * */
@Table(name="PQS_EVENTASS")
public class EventAss {

	
	@Id
	@Column(name="EVENTASS_INDEX")
	private String eventAssIndex;
	
	@Column(name="TIMEID")
	private Date timeId;
	
	
	@Column(name="DESCRIBE")
	private String describe;
	
	@Column(name="RANGE")
	private Integer range;
	
	@Column(name="USER_INDEX")
	private String userIndex;
	
	
	@Column(name="NAME")
	private String name;
	
	
	@Column(name = "UPDATETIME")
	private Date updateTime;
	
	private Integer state;

	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEventAssIndex() {
		return eventAssIndex;
	}

	public void setEventAssIndex(String eventAssIndex) {
		this.eventAssIndex = eventAssIndex;
	}

	public Date getTimeId() {
		return timeId;
	}

	public void setTimeId(Date timeId) {
		this.timeId = timeId;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public Integer getRange() {
		return range;
	}

	public void setRange(Integer range) {
		this.range = range;
	}

	public String getUserIndex() {
		return userIndex;
	}

	public void setUserIndex(String userIndex) {
		this.userIndex = userIndex;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

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

	public Integer getState() {
		return state;
	}

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

	@Override
	public String toString() {
		return "EventAss [eventAssIndex=" + eventAssIndex + ", timeId=" + timeId + ", describe=" + describe + ", range="
				+ range + ", userIndex=" + userIndex + ", name=" + name + ", updateTime=" + updateTime + ", state="
				+ state + "]";
	}
	
}
