package com.pqs9900.pojo.message;

import com.njcn.utils.PubUtils;

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

public class EventdetailInfo {
    private String evenIndex; //暂降id
    private String deptsId;
    private String userId;
    private Integer lineId;
    private String phone;
    private String lineName;
    private String gdName;
    private String bdName;
    private Integer ms;
    private String strTime;
    private Date dTime;
    private Float eventvalue;
    private String voltage;//电压等级
    private Float msTime;
    private Integer count = 0;  //暂降个数
    private List<String> evenList = new ArrayList<>();//用来存放暂降id


    public List<String> getEvenList() {
        return evenList;
    }

    public void setEvenList(List<String> evenList) {
        this.evenList = evenList;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getGdName() {
        return gdName;
    }

    public void setGdName(String gdName) {
        this.gdName = gdName;
    }

    public String getBdName() {
        return bdName;
    }

    public void setBdName(String bdName) {
        this.bdName = bdName;
    }

    public Integer getMs() {
        return ms;
    }

    public void setMs(Integer ms) {
        this.ms = ms;
    }

    public Float getEventvalue() {
        return eventvalue;
    }

    public void setEventvalue(Float eventvalue) {
        this.eventvalue = eventvalue;
    }

    public String getDeptsId() {
        return deptsId;
    }

    public void setDeptsId(String deptsId) {
        this.deptsId = deptsId;
    }

    public Integer getLineId() {
        return lineId;
    }

    public void setLineId(Integer lineId) {
        this.lineId = lineId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLineName() {
        return lineName;
    }

    public void setLineName(String lineName) {
        this.lineName = lineName;
    }

    public String getStrTime() {
        return strTime;
    }

    public void setStrTime(String strTime) {
        this.strTime = strTime;
    }

    public Date getdTime() {
        return dTime;
    }

    public void setdTime(Date dTime) {
        this.dTime = dTime;
        try {
            this.strTime = PubUtils.date2String(dTime, "yyyy-MM-dd HH:mm:ss");
        } catch (Exception e) {

        }
    }

    public Float getValue() {
        return eventvalue;
    }

    public void setValue(Float eventvalue) {
        this.eventvalue = eventvalue;
    }

    public Float getMsTime() {
        return msTime;
    }

    public void setMsTime(Float msTime) {
        this.msTime = msTime;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getVoltage() {
        return voltage;
    }

    public void setVoltage(String voltage) {
        this.voltage = voltage;
    }

    public String getEvenIndex() {
        return evenIndex;
    }

    public void setEvenIndex(String evenIndex) {
        this.evenIndex = evenIndex;
    }
}
