package com.mvc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class TAireadModel implements Serializable {

    private Integer id;

    private String aireadId;

    private String deviceSn;

    private String stationCode;

    private String wmId;

    private String goodFlag;

    private BigDecimal resultValue;

    private BigDecimal identValue;

    private BigDecimal rawValue;

    private String debugInfo;

    private String funCode;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date sampleTime;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date rptTime;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date revTime;

    private BigDecimal voltage;

    private BigDecimal temperature;

    private BigDecimal socRate;

    private Integer mcuRunNum;

    private Integer batRumTime;

    private Integer rsrp;

    private String errorCode;

    private String softVer;

    private String ccid;

    private Integer snr;

    private String hardwareCode;

    private String nbVersion;

    private String hardVersion;

    private String smallJpgUrl;

    private String smallJpgPackGid;

    private String bigJpgUrl;

    private String bigJpgPackGid;

    private String ressiuePackGid;

    private Integer picHeigth;

    private Integer picWidth;

    private String szsbz;

    private String szsbgl;

    private BigDecimal actualAmount;

    private String preAmount;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date preTime;

    private Integer intervalMinutes;

    private String reviewFlag;

    private String reviewResultFlag;

    private String reviewMan;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date reviewTime;

    private BigDecimal reviewValue;

    private String taskReviewId;

    private String aiVersion;

    private String deviceType;

    //服务侧的识别结果 2022-07-07 guozhao
    private TServerReadModel serverReadModel;

    //前台显示站名 2022-07-13 guozhao
    private String stationName;

    //小图图片类型
    private String smallPicType;

    //小图原始报文
    private String smallRawData;

    private Integer page;//页码

    private Integer rows;//每页条数

    private Integer tranDuration;//传输时长

    //服务侧小图地址(小程序使用) 2022-09-24 guozhao
    private String serversmallJpgUrl;

    //设备计量单位名称(MPa,Pa,立方米...)
    private String deviceUnitName;

    //设备单位显示名称(累计水量,压强...) 2022-09-26 guozhao
    private String deviceLableName;

    private String startTime;

    private String endTime;

    private String loseFlag;//丢数据标记(当前记录MCU运行次数减去上一条不等于1时,代表有数据丢失)

    private Integer decimalDigits;

    private Integer ip1SendStatus;

    private String randomCode;

    private Integer picType;

    private String nbRegLocation;

    private String imageCoordinateInfo;

    //从StationAcc中关联出的物联网卡信息
    private BigDecimal iotCardRemaingprs;

    private String iotCardDuedate;

    private String iotCardWorkingcondition;

    //服务侧免配置 2024-03-05 guozhao
    private BigDecimal noConfigIdentValue;
    private String noConfigDebugInfo;
    private String noConfigIdentJpgUrl;

    //用户指定的站点编码,与stationCode绑定 2024-03-27 guozhao
    private String userDefinedCode;

    private String imei;

    private Integer csq;

    private Integer ecl;

    private Integer communicationModuleType;

    /**
     * 运行/投运状态(0未安装,1已安装,2已配置,3已投运,4配置失效)
     */
    private String operationStatus;

    /**
     * 设备上报代码
     */
    private String deviceReportCode;

    /**
     * 设备上报信息内容
     */
    private String deviceReportLabel;

    /* 下面是扩展字段 */
    //是否是客户查询(针对太原天然气,为了过滤无图数据) 2024-03-07 guozhao
    private Integer isCustomer;

    //是否过滤站点创建时间(用户不可见建站前的数据) 2024-04-22 guozhao
    private Integer filterCreateStationTime;

    //预测值 2024-05-24 guozhao
    private BigDecimal predictValue;

    //相差次数
    private Integer numOfDiff;

    //运行、投运状态label
    private String operationStatusLabel;

    //识别提示信息
    private String identMessage;
    //用户可见的数据类型
    private String dataViewType;
    //查询类型(用户类型)
    private String queryUserType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAireadId() {
        return aireadId;
    }

    public void setAireadId(String aireadId) {
        this.aireadId = aireadId;
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn;
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode;
    }

    public String getWmId() {
        return wmId;
    }

    public void setWmId(String wmId) {
        this.wmId = wmId;
    }

    public String getGoodFlag() {
        return goodFlag;
    }

    public void setGoodFlag(String goodFlag) {
        this.goodFlag = goodFlag;
    }

    public BigDecimal getResultValue() {
        return resultValue;
    }

    public void setResultValue(BigDecimal resultValue) {
        this.resultValue = resultValue;
    }

    public BigDecimal getIdentValue() {
        return identValue;
    }

    public void setIdentValue(BigDecimal identValue) {
        this.identValue = identValue;
    }

    public BigDecimal getRawValue() {
        return rawValue;
    }

    public void setRawValue(BigDecimal rawValue) {
        this.rawValue = rawValue;
    }

    public String getDebugInfo() {
        return debugInfo;
    }

    public void setDebugInfo(String debugInfo) {
        this.debugInfo = debugInfo;
    }

    public String getFunCode() {
        return funCode;
    }

    public void setFunCode(String funCode) {
        this.funCode = funCode;
    }

    public Date getSampleTime() {
        return sampleTime;
    }

    public void setSampleTime(Date sampleTime) {
        this.sampleTime = sampleTime;
    }

    public Date getRptTime() {
        return rptTime;
    }

    public void setRptTime(Date rptTime) {
        this.rptTime = rptTime;
    }

    public Date getRevTime() {
        return revTime;
    }

    public void setRevTime(Date revTime) {
        this.revTime = revTime;
    }

    public BigDecimal getVoltage() {
        return voltage;
    }

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

    public BigDecimal getTemperature() {
        return temperature;
    }

    public void setTemperature(BigDecimal temperature) {
        this.temperature = temperature;
    }

    public BigDecimal getSocRate() {
        return socRate;
    }

    public void setSocRate(BigDecimal socRate) {
        this.socRate = socRate;
    }

    public Integer getMcuRunNum() {
        return mcuRunNum;
    }

    public void setMcuRunNum(Integer mcuRunNum) {
        this.mcuRunNum = mcuRunNum;
    }

    public Integer getBatRumTime() {
        return batRumTime;
    }

    public void setBatRumTime(Integer batRumTime) {
        this.batRumTime = batRumTime;
    }

    public Integer getRsrp() {
        return rsrp;
    }

    public void setRsrp(Integer rsrp) {
        this.rsrp = rsrp;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getSoftVer() {
        return softVer;
    }

    public void setSoftVer(String softVer) {
        this.softVer = softVer;
    }

    public String getCcid() {
        return ccid;
    }

    public void setCcid(String ccid) {
        this.ccid = ccid;
    }

    public Integer getSnr() {
        return snr;
    }

    public void setSnr(Integer snr) {
        this.snr = snr;
    }

    public String getHardwareCode() {
        return hardwareCode;
    }

    public void setHardwareCode(String hardwareCode) {
        this.hardwareCode = hardwareCode;
    }

    public String getNbVersion() {
        return nbVersion;
    }

    public void setNbVersion(String nbVersion) {
        this.nbVersion = nbVersion;
    }

    public String getHardVersion() {
        return hardVersion;
    }

    public void setHardVersion(String hardVersion) {
        this.hardVersion = hardVersion;
    }

    public String getSmallJpgUrl() {
        return smallJpgUrl;
    }

    public void setSmallJpgUrl(String smallJpgUrl) {
        this.smallJpgUrl = smallJpgUrl;
    }

    public String getSmallJpgPackGid() {
        return smallJpgPackGid;
    }

    public void setSmallJpgPackGid(String smallJpgPackGid) {
        this.smallJpgPackGid = smallJpgPackGid;
    }

    public String getBigJpgUrl() {
        return bigJpgUrl;
    }

    public void setBigJpgUrl(String bigJpgUrl) {
        this.bigJpgUrl = bigJpgUrl;
    }

    public String getBigJpgPackGid() {
        return bigJpgPackGid;
    }

    public void setBigJpgPackGid(String bigJpgPackGid) {
        this.bigJpgPackGid = bigJpgPackGid;
    }

    public String getRessiuePackGid() {
        return ressiuePackGid;
    }

    public void setRessiuePackGid(String ressiuePackGid) {
        this.ressiuePackGid = ressiuePackGid;
    }

    public Integer getPicHeigth() {
        return picHeigth;
    }

    public void setPicHeigth(Integer picHeigth) {
        this.picHeigth = picHeigth;
    }

    public Integer getPicWidth() {
        return picWidth;
    }

    public void setPicWidth(Integer picWidth) {
        this.picWidth = picWidth;
    }

    public String getSzsbz() {
        return szsbz;
    }

    public void setSzsbz(String szsbz) {
        this.szsbz = szsbz;
    }

    public String getSzsbgl() {
        return szsbgl;
    }

    public void setSzsbgl(String szsbgl) {
        this.szsbgl = szsbgl;
    }

    public BigDecimal getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    public String getPreAmount() {
        return preAmount;
    }

    public void setPreAmount(String preAmount) {
        this.preAmount = preAmount;
    }

    public Date getPreTime() {
        return preTime;
    }

    public void setPreTime(Date preTime) {
        this.preTime = preTime;
    }

    public Integer getIntervalMinutes() {
        return intervalMinutes;
    }

    public void setIntervalMinutes(Integer intervalMinutes) {
        this.intervalMinutes = intervalMinutes;
    }

    public String getReviewFlag() {
        return reviewFlag;
    }

    public void setReviewFlag(String reviewFlag) {
        this.reviewFlag = reviewFlag;
    }

    public String getReviewResultFlag() {
        return reviewResultFlag;
    }

    public void setReviewResultFlag(String reviewResultFlag) {
        this.reviewResultFlag = reviewResultFlag;
    }

    public String getReviewMan() {
        return reviewMan;
    }

    public void setReviewMan(String reviewMan) {
        this.reviewMan = reviewMan;
    }

    public Date getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(Date reviewTime) {
        this.reviewTime = reviewTime;
    }

    public BigDecimal getReviewValue() {
        return reviewValue;
    }

    public void setReviewValue(BigDecimal reviewValue) {
        this.reviewValue = reviewValue;
    }

    public String getTaskReviewId() {
        return taskReviewId;
    }

    public void setTaskReviewId(String taskReviewId) {
        this.taskReviewId = taskReviewId;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType == null ? null : deviceType.trim();
    }

    public TServerReadModel getServerReadModel() {
        return serverReadModel;
    }

    public String getAiVersion() {
        return aiVersion;
    }

    public void setAiVersion(String aiVersion) {
        this.aiVersion = aiVersion == null ? null : aiVersion.trim();
    }

    public void setServerReadModel(TServerReadModel serverReadModel) {
        this.serverReadModel = serverReadModel;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName;
    }

    public String getSmallPicType() {
        return smallPicType;
    }

    public void setSmallPicType(String smallPicType) {
        this.smallPicType = smallPicType;
    }

    public String getSmallRawData() {
        return smallRawData;
    }

    public void setSmallRawData(String smallRawData) {
        this.smallRawData = smallRawData;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getTranDuration() {
        return tranDuration;
    }

    public void setTranDuration(Integer tranDuration) {
        this.tranDuration = tranDuration;
    }

    public String getServersmallJpgUrl() {
        return serversmallJpgUrl;
    }

    public void setServersmallJpgUrl(String serversmallJpgUrl) {
        this.serversmallJpgUrl = serversmallJpgUrl;
    }

    public String getDeviceUnitName() {
        return deviceUnitName;
    }

    public void setDeviceUnitName(String deviceUnitName) {
        this.deviceUnitName = deviceUnitName;
    }

    public String getDeviceLableName() {
        return deviceLableName;
    }

    public void setDeviceLableName(String deviceLableName) {
        this.deviceLableName = deviceLableName;
    }

    public String getLoseFlag() {
        return loseFlag;
    }

    public void setLoseFlag(String loseFlag) {
        this.loseFlag = loseFlag;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getDecimalDigits() {
        return decimalDigits;
    }

    public void setDecimalDigits(Integer decimalDigits) {
        this.decimalDigits = decimalDigits;
    }

    public Integer getIp1SendStatus() {
        return ip1SendStatus;
    }

    public void setIp1SendStatus(Integer ip1SendStatus) {
        this.ip1SendStatus = ip1SendStatus;
    }

    public String getRandomCode() {
        return randomCode;
    }

    public void setRandomCode(String randomCode) {
        this.randomCode = randomCode == null ? null : randomCode.trim();
    }

    public Integer getPicType() {
        return picType;
    }

    public void setPicType(Integer picType) {
        this.picType = picType;
    }

    public String getNbRegLocation() {
        return nbRegLocation;
    }

    public void setNbRegLocation(String nbRegLocation) {
        this.nbRegLocation = nbRegLocation == null ? null : nbRegLocation.trim();
    }

    public String getImageCoordinateInfo() {
        return imageCoordinateInfo;
    }

    public void setImageCoordinateInfo(String imageCoordinateInfo) {
        this.imageCoordinateInfo = imageCoordinateInfo == null ? null : imageCoordinateInfo.trim();
    }

    public BigDecimal getIotCardRemaingprs() {
        return iotCardRemaingprs;
    }

    public void setIotCardRemaingprs(BigDecimal iotCardRemaingprs) {
        this.iotCardRemaingprs = iotCardRemaingprs;
    }

    public String getIotCardDuedate() {
        return iotCardDuedate;
    }

    public void setIotCardDuedate(String iotCardDuedate) {
        this.iotCardDuedate = iotCardDuedate == null ? null : iotCardDuedate.trim();
    }

    public String getIotCardWorkingcondition() {
        return iotCardWorkingcondition;
    }

    public void setIotCardWorkingcondition(String iotCardWorkingcondition) {
        this.iotCardWorkingcondition = iotCardWorkingcondition == null ? null : iotCardWorkingcondition.trim();
    }

    public BigDecimal getNoConfigIdentValue() {
        return noConfigIdentValue;
    }

    public void setNoConfigIdentValue(BigDecimal noConfigIdentValue) {
        this.noConfigIdentValue = noConfigIdentValue;
    }

    public String getNoConfigDebugInfo() {
        return noConfigDebugInfo;
    }

    public void setNoConfigDebugInfo(String noConfigDebugInfo) {
        this.noConfigDebugInfo = noConfigDebugInfo;
    }

    public Integer getIsCustomer() {
        return isCustomer;
    }

    public void setIsCustomer(Integer isCustomer) {
        this.isCustomer = isCustomer;
    }

    public String getNoConfigIdentJpgUrl() {
        return noConfigIdentJpgUrl;
    }

    public void setNoConfigIdentJpgUrl(String noConfigIdentJpgUrl) {
        this.noConfigIdentJpgUrl = noConfigIdentJpgUrl;
    }

    public String getUserDefinedCode() {
        return userDefinedCode;
    }

    public void setUserDefinedCode(String userDefinedCode) {
        this.userDefinedCode = userDefinedCode;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei == null ? null : imei.trim();
    }

    public Integer getCsq() {
        return csq;
    }

    public void setCsq(Integer csq) {
        this.csq = csq;
    }

    public Integer getEcl() {
        return ecl;
    }

    public void setEcl(Integer ecl) {
        this.ecl = ecl;
    }

    public Integer getCommunicationModuleType() {
        return communicationModuleType;
    }

    public void setCommunicationModuleType(Integer communicationModuleType) {
        this.communicationModuleType = communicationModuleType;
    }

    public String getOperationStatus() {
        return operationStatus;
    }

    public void setOperationStatus(String operationStatus) {
        this.operationStatus = operationStatus == null ? null : operationStatus.trim();
    }

    public String getDeviceReportCode() {
        return deviceReportCode;
    }

    public void setDeviceReportCode(String deviceReportCode) {
        this.deviceReportCode = deviceReportCode;
    }


    public Integer getFilterCreateStationTime() {
        return filterCreateStationTime;
    }

    public void setFilterCreateStationTime(Integer filterCreateStationTime) {
        this.filterCreateStationTime = filterCreateStationTime;
    }

    public BigDecimal getPredictValue() {
        return predictValue;
    }

    public void setPredictValue(BigDecimal predictValue) {
        this.predictValue = predictValue;
    }

    public Integer getNumOfDiff() {
        return numOfDiff;
    }

    public void setNumOfDiff(Integer numOfDiff) {
        this.numOfDiff = numOfDiff;
    }

    public String getOperationStatusLabel() {
        return operationStatusLabel;
    }

    public void setOperationStatusLabel(String operationStatusLabel) {
        this.operationStatusLabel = operationStatusLabel;
    }

    public String getIdentMessage() {
        return identMessage;
    }

    public void setIdentMessage(String identMessage) {
        this.identMessage = identMessage;
    }

    public String getDataViewType() {
        return dataViewType;
    }

    public void setDataViewType(String dataViewType) {
        this.dataViewType = dataViewType;
    }

    public String getQueryUserType() {
        return queryUserType;
    }

    public void setQueryUserType(String queryUserType) {
        this.queryUserType = queryUserType;
    }

    public String getDeviceReportLabel() {
        return deviceReportLabel;
    }

    public void setDeviceReportLabel(String deviceReportLabel) {
        this.deviceReportLabel = deviceReportLabel;
    }
}
