package com.mvc.model;

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

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

public class TReviewCompareModel {
    private Integer taskReviewId;

    private String taskDate;

    private String deviceSn;

    private String stationCode;

    private BigDecimal reviewValue;

    private BigDecimal iotDataValue;

    private String compareType;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8",locale="zh")
    private Date createTime;

    private Integer page;//页码

    private Integer rows;//每页条数

    private String unitCode;//登陆人的单位代表(用来过滤)

    private String stationName;

    public Integer getTaskReviewId() {
        return taskReviewId;
    }

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

    public String getTaskDate() {
        return taskDate;
    }

    public void setTaskDate(String taskDate) {
        this.taskDate = taskDate == null ? null : taskDate.trim();
    }

    public String getDeviceSn() {
        return deviceSn;
    }

    public void setDeviceSn(String deviceSn) {
        this.deviceSn = deviceSn == null ? null : deviceSn.trim();
    }

    public String getStationCode() {
        return stationCode;
    }

    public void setStationCode(String stationCode) {
        this.stationCode = stationCode == null ? null : stationCode.trim();
    }

    public BigDecimal getReviewValue() {
        return reviewValue;
    }

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

    public BigDecimal getIotDataValue() {
        return iotDataValue;
    }

    public void setIotDataValue(BigDecimal iotDataValue) {
        this.iotDataValue = iotDataValue;
    }

    public String getCompareType() {
        return compareType;
    }

    public void setCompareType(String compareType) {
        this.compareType = compareType == null ? null : compareType.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    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 String getUnitCode() {
        return unitCode;
    }

    public void setUnitCode(String unitCode) {
        this.unitCode = unitCode == null ? null : unitCode.trim();
    }

    public String getStationName() {
        return stationName;
    }

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