package com.njcn.pojo.commons.area;

import java.util.ArrayList;
import java.util.List;

/**
 * 区域概况页面展示数据的实体
 * */
public class AreaGeneral {
	
	private Integer totalTimes;
	
	//电压等级区分获取的暂降事件数据
	private List<Voltage> vol;
	
	//按区域获取的暂降事件数据
	private List<Area> area;
	
	//按时间间隔获取的暂降事件数据
	private List<Interval> interval;
	
	//用户查询的区域
	private String cityName;
	
	//省级用户
	private String pro;

	//是否为根节点
	private String root;

	//判断总计和各个区域的数量是否一致(存在重复统计的情况)
	private int status;


	public String getRoot() {
		return root;
	}

	public void setRoot(String root) {
		this.root = root;
	}

	private List<Integer> lineIndexs=new ArrayList<>();


	public List<Integer> getLineIndexs() {
		return lineIndexs;
	}

	public void setLineIndexs(List<Integer> lineIndexs) {
		this.lineIndexs = lineIndexs;
	}

	private List<Integer> devIndexs=new ArrayList<>();

	public List<Integer> getDevIndexs() {
		return devIndexs;
	}

	public void setDevIndexs(List<Integer> devIndexs) {
		this.devIndexs = devIndexs;
	}


	/**
	 * @return the pro
	 */
	public String getPro() {
		return pro;
	}

	/**
	 * @param pro the pro to set
	 */
	public void setPro(String pro) {
		this.pro = pro;
	}

	public String getCityName() {
		return cityName;
	}

	public void setCityName(String cityName) {
		this.cityName = cityName;
	}

	public Integer getTotalTimes() {
		return totalTimes;
	}

	public void setTotalTimes(Integer totalTimes) {
		this.totalTimes = totalTimes;
	}

	public List<Voltage> getVol() {
		return vol;
	}

	public void setVol(List<Voltage> vol) {
		this.vol = vol;
	}

	public List<Area> getArea() {
		return area;
	}

	public void setArea(List<Area> area) {
		this.area = area;
	}

	public List<Interval> getInterval() {
		return interval;
	}

	public void setInterval(List<Interval> interval) {
		this.interval = interval;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return "AreaGeneral{" +
				"totalTimes=" + totalTimes +
				", vol=" + vol +
				", area=" + area +
				", interval=" + interval +
				", cityName='" + cityName + '\'' +
				", pro='" + pro + '\'' +
				", root='" + root + '\'' +
				", status=" + status +
				", lineIndexs=" + lineIndexs +
				", devIndexs=" + devIndexs +
				'}';
	}
}
