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 TServerReadModel {
    private Integer id;

    private String serverReadId;

    private String deviceSn;

    private String stationCode;

    private String aireadId;

    private BigDecimal identValue;

    private String jpgUrl;

    //存储的是调试信息中的识别结果(0,11),并不是0和1 2025-07-11 guozhao
    private String goodFlag;

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

    private String smallJpgUrl;

    private String smallJpgType;

    private Integer smallJpgHeight;

    private Integer smallJpgWidth;

    private String resultCode;

    private String szsbz;

    private String szsbgl;

    private Integer rotateAngle;

    private String numberRegion;

    private BigDecimal extendValue;

    public Integer getId() {
        return id;
    }

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

    public String getServerReadId() {
        return serverReadId;
    }

    public void setServerReadId(String serverReadId) {
        this.serverReadId = serverReadId == null ? null : serverReadId.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 String getAireadId() {
        return aireadId;
    }

    public void setAireadId(String aireadId) {
        this.aireadId = aireadId == null ? null : aireadId.trim();
    }

    public BigDecimal getIdentValue() {
        return identValue;
    }

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

    public String getJpgUrl() {
        return jpgUrl;
    }

    public void setJpgUrl(String jpgUrl) {
        this.jpgUrl = jpgUrl == null ? null : jpgUrl.trim();
    }

    public String getGoodFlag() {
        return goodFlag;
    }

    public void setGoodFlag(String goodFlag) {
        this.goodFlag = goodFlag == null ? null : goodFlag.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

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

    public String getSmallJpgUrl() {
        return smallJpgUrl;
    }

    public void setSmallJpgUrl(String smallJpgUrl) {
        this.smallJpgUrl = smallJpgUrl == null ? null : smallJpgUrl.trim();
    }

    public String getSmallJpgType() {
        return smallJpgType;
    }

    public void setSmallJpgType(String smallJpgType) {
        this.smallJpgType = smallJpgType == null ? null : smallJpgType.trim();
    }

    public Integer getSmallJpgHeight() {
        return smallJpgHeight;
    }

    public void setSmallJpgHeight(Integer smallJpgHeight) {
        this.smallJpgHeight = smallJpgHeight;
    }

    public Integer getSmallJpgWidth() {
        return smallJpgWidth;
    }

    public void setSmallJpgWidth(Integer smallJpgWidth) {
        this.smallJpgWidth = smallJpgWidth;
    }

    public String getResultCode() {
        return resultCode;
    }

    public void setResultCode(String resultCode) {
        this.resultCode = resultCode == null ? null : resultCode.trim();
    }

    public String getSzsbz() {
        return szsbz;
    }

    public void setSzsbz(String szsbz) {
        this.szsbz = szsbz == null ? null : szsbz.trim();
    }

    public String getSzsbgl() {
        return szsbgl;
    }

    public void setSzsbgl(String szsbgl) {
        this.szsbgl = szsbgl == null ? null : szsbgl.trim();
    }

    public Integer getRotateAngle() {
        return rotateAngle;
    }

    public void setRotateAngle(Integer rotateAngle) {
        this.rotateAngle = rotateAngle;
    }

    public String getNumberRegion() {
        return numberRegion;
    }

    public void setNumberRegion(String numberRegion) {
        this.numberRegion = numberRegion;
    }

    public BigDecimal getExtendValue() {
        return extendValue;
    }

    public void setExtendValue(BigDecimal extendValue) {
        this.extendValue = extendValue;
    }
}
