package com.mvc.model;

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

public class TMarkRecordModel extends ReqPage {
    private Integer id;

    private String deviceSn;

    private String stationCode;

    private String stationName;

    private Integer markId;//末级

    private String markDescription;

    private String createMan;

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

    private String processResults;

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

    private String processMan;

    private String reviewFlag;

    private String markTypeName;//标记的小类名称.

    private String markParentName;//标记的大类名称.父ID=0的

    private Integer queryParentId;//根据父ID查询(仅在查询时使用)

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Date lastSampleTime;//最新一条记录的采样时间

    private String lastSmallJpgUrl;//最新一条记录的照片(为了方便查看是否恢复正常) 2023-08-02 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 String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public Integer getMarkId() {
        return markId;
    }

    public void setMarkId(Integer markId) {
        this.markId = markId;
    }

    public String getMarkDescription() {
        return markDescription;
    }

    public void setMarkDescription(String markDescription) {
        this.markDescription = markDescription == null ? null : markDescription.trim();
    }

    public String getCreateMan() {
        return createMan;
    }

    public void setCreateMan(String createMan) {
        this.createMan = createMan == null ? null : createMan.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

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

    public String getProcessResults() {
        return processResults;
    }

    public void setProcessResults(String processResults) {
        this.processResults = processResults == null ? null : processResults.trim();
    }

    public Date getProcessTime() {
        return processTime;
    }

    public void setProcessTime(Date processTime) {
        this.processTime = processTime;
    }

    public String getProcessMan() {
        return processMan;
    }

    public void setProcessMan(String processMan) {
        this.processMan = processMan == null ? null : processMan.trim();
    }

    public String getReviewFlag() {
        return reviewFlag;
    }

    public void setReviewFlag(String reviewFlag) {
        this.reviewFlag = reviewFlag == null ? null : reviewFlag.trim();
    }

    public String getMarkTypeName() {
        return markTypeName;
    }

    public void setMarkTypeName(String markTypeName) {
        this.markTypeName = markTypeName;
    }

    public String getMarkParentName() {
        return markParentName;
    }

    public void setMarkParentName(String markParentName) {
        this.markParentName = markParentName;
    }

    public Integer getQueryParentId() {
        return queryParentId;
    }

    public void setQueryParentId(Integer queryParentId) {
        this.queryParentId = queryParentId;
    }

    public Date getLastSampleTime() {
        return lastSampleTime;
    }

    public void setLastSampleTime(Date lastSampleTime) {
        this.lastSampleTime = lastSampleTime;
    }

    public String getLastSmallJpgUrl() {
        return lastSmallJpgUrl;
    }

    public void setLastSmallJpgUrl(String lastSmallJpgUrl) {
        this.lastSmallJpgUrl = lastSmallJpgUrl;
    }
}