package com.njcn.pojo.data;

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

/**
 * 电网拓扑图点位集合表。
 * */
@Table(name = "PQS_GRIDTOP")
public class GridTop {

	@Id
	@Column(name = "GRIDTOP_INDEX")
	private String gridTopIndex;

	// 经度
	@Column(name = "LONGITUDE")
	private Float longItude;

	// 纬度
	@Column(name = "LATITUDE")
	private Float latItude;

	//排序序号
	@Column(name = "SEQUEN")
	private Integer sequen;

	@Column(name = "VOLLEVEL")
	private Integer volLevel;
    
	@Column(name = "STATE")
	private int state;
	
	@Column(name = "USER_INDEX")
	private String userIndex;
	
	@Column(name = "UPDATETIME")
	private Date updatetime;
	
	public String getGridTopIndex() {
		return gridTopIndex;
	}

	public void setGridTopIndex(String gridTopIndex) {
		this.gridTopIndex = gridTopIndex;
	}

	public Float getLongItude() {
		return longItude;
	}

	public void setLongItude(Float longItude) {
		this.longItude = longItude;
	}

	public Float getLatItude() {
		return latItude;
	}

	public void setLatItude(Float latItude) {
		this.latItude = latItude;
	}

	public Integer getSequen() {
		return sequen;
	}

	public void setSequen(Integer sequen) {
		this.sequen = sequen;
	}

	public Integer getVolLevel() {
		return volLevel;
	}

	public void setVolLevel(Integer volLevel) {
		this.volLevel = volLevel;
	}

	public int getState() {
		return state;
	}

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

	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;
	}

	@Override
	public String toString() {
		return "GridTop [gridTopIndex=" + gridTopIndex + ", longItude=" + longItude + ", latItude=" + latItude
				+ ", sequen=" + sequen + ", volLevel=" + volLevel + ", state=" + state + ", userIndex=" + userIndex
				+ ", updatetime=" + updatetime + ", getGridTopIndex()=" + getGridTopIndex() + ", getLongItude()="
				+ getLongItude() + ", getLatItude()=" + getLatItude() + ", getSequen()=" + getSequen()
				+ ", getVolLevel()=" + getVolLevel() + ", getState()=" + getState() + ", getUserIndex()="
				+ getUserIndex() + ", getUpdatetime()=" + getUpdatetime() + ", getClass()=" + getClass()
				+ ", hashCode()=" + hashCode() + ", toString()=" + super.toString() + "]";
	}

}
