package com.pqs9900.pojo.HisData;

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

/**
 * @Author denghuajun
 * @Description //TODO 长时闪变
 * @Date 2018/12/17 10:55
 **/
@Table(name = "Data_Plt")
public class DataPlt {
    @Column(name = "TimeID")
    private Date timeID;//	datetime	Not NULL	数据更新时间
    @Column(name = "LineID")
    private int lineID;//	NUMBER(6)	Not NULL	监测点序号
    @Column(name = "PHASIC_TYPE")
    private String phascType;//	VARCHAR2(2)	Not NULL	相别 ‘A’,‘B’,‘C’
    @Column(name = "PLT")
    private Float plt = 0f;
    @Column(name = "QualityFlag")
    private int qualityFlag;//Not NULL	数据质量标志（00-表示是正常数据01-表示是错误数据02-表示是有事件的数据）数据库默认是0，污染数据不参与报表统计

    public Date getTimeID() {
        return timeID;
    }

    public void setTimeID(Date timeID) {
        this.timeID = timeID;
    }

    public int getLineID() {
        return lineID;
    }

    public void setLineID(int lineID) {
        this.lineID = lineID;
    }

    public String getPhasicType() {
        return phascType;
    }

    public void setPhasicType(String phascType) {
        this.phascType = phascType;
    }

    public Float getPlt() {
        return plt;
    }

    public void setPlt(Float plt) {
        this.plt = plt;
    }

    public int getQualityFlag() {
        return qualityFlag;
    }

    public void setQualityFlag(int qualityFlag) {
        this.qualityFlag = qualityFlag;
    }

    @Override
    public String toString() {
        return "DataPlt{" +
                "timeID=" + timeID +
                ", lineID=" + lineID +
                ", phascType='" + phascType + '\'' +
                ", plt=" + plt +
                ", qualityFlag=" + qualityFlag +
                '}';
    }
}
