package com.mvc.model;

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

/**
 * CNN网络输出数据
 */
public class TAicnnModel {
    private Integer id;

    private String deviceSn;

    private String stationCode;

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

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

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

    private String funCode;

    private String randomCode;

    private Integer targetsNum;

    private Integer zipBeforeLen;

    private Integer zipAfterLen;

    private String fileName;

    private Integer page;//页码

    private Integer rows;//每页条数

    private int[][] cnnData;//CNN原始数据二维数组

    private String cnnMsg;//CNN矩阵文本

    private String isCompress;//是否压缩了 2022-11-13 guozhao

    public Integer getId() {
        return id;
    }

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

    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 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 String getFunCode() {
        return funCode;
    }

    public void setFunCode(String funCode) {
        this.funCode = funCode == null ? null : funCode.trim();
    }

    public String getRandomCode() {
        return randomCode;
    }

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

    public Integer getTargetsNum() {
        return targetsNum;
    }

    public void setTargetsNum(Integer targetsNum) {
        this.targetsNum = targetsNum;
    }

    public Integer getZipBeforeLen() {
        return zipBeforeLen;
    }

    public void setZipBeforeLen(Integer zipBeforeLen) {
        this.zipBeforeLen = zipBeforeLen;
    }

    public Integer getZipAfterLen() {
        return zipAfterLen;
    }

    public void setZipAfterLen(Integer zipAfterLen) {
        this.zipAfterLen = zipAfterLen;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    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 int[][] getCnnData() {
        return cnnData;
    }

    public void setCnnData(int[][] cnnData) {
        this.cnnData = cnnData;
    }

    public String getCnnMsg() {
        return cnnMsg;
    }

    public void setCnnMsg(String cnnMsg) {
        this.cnnMsg = cnnMsg;
    }

    public String getIsCompress() {
        return isCompress;
    }

    public void setIsCompress(String isCompress) {
        this.isCompress = isCompress;
    }
}