package com.common.entity;

import java.time.OffsetDateTime;

public class DeviceCollectTask {
    private Integer id;
    private OffsetDateTime createdAt;
    private OffsetDateTime updatedAt;
    private OffsetDateTime deletedAt;
    private Integer deviceId;
    private Integer method;
    private String taskName;
    private OffsetDateTime firstTime;
    private OffsetDateTime lastSuccessTime;
    private OffsetDateTime lastFailedTime;
    private Integer detailId;
    private Integer epm;
    private Integer epmPeak;
    private Integer processArchitecture;
    private Integer taskCount;
    private OffsetDateTime recentDiscoverTime;
    private Integer epmUpperLimit;

    // Getter and Setter 方法
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }

    public OffsetDateTime getCreatedAt() { return createdAt; }
    public void setCreatedAt(OffsetDateTime createdAt) { this.createdAt = createdAt; }

    public OffsetDateTime getUpdatedAt() { return updatedAt; }
    public void setUpdatedAt(OffsetDateTime updatedAt) { this.updatedAt = updatedAt; }

    public OffsetDateTime getDeletedAt() { return deletedAt; }
    public void setDeletedAt(OffsetDateTime deletedAt) { this.deletedAt = deletedAt; }

    public Integer getDeviceId() { return deviceId; }
    public void setDeviceId(Integer deviceId) { this.deviceId = deviceId; }

    public Integer getMethod() { return method; }
    public void setMethod(Integer method) { this.method = method; }

    public String getTaskName() { return taskName; }
    public void setTaskName(String taskName) { this.taskName = taskName; }

    public OffsetDateTime getFirstTime() { return firstTime; }
    public void setFirstTime(OffsetDateTime firstTime) { this.firstTime = firstTime; }

    public OffsetDateTime getLastSuccessTime() { return lastSuccessTime; }
    public void setLastSuccessTime(OffsetDateTime lastSuccessTime) { this.lastSuccessTime = lastSuccessTime; }

    public OffsetDateTime getLastFailedTime() { return lastFailedTime; }
    public void setLastFailedTime(OffsetDateTime lastFailedTime) { this.lastFailedTime = lastFailedTime; }

    public Integer getDetailId() { return detailId; }
    public void setDetailId(Integer detailId) { this.detailId = detailId; }

    public Integer getEpm() { return epm; }
    public void setEpm(Integer epm) { this.epm = epm; }

    public Integer getEpmPeak() { return epmPeak; }
    public void setEpmPeak(Integer epmPeak) { this.epmPeak = epmPeak; }

    public Integer getProcessArchitecture() { return processArchitecture; }
    public void setProcessArchitecture(Integer processArchitecture) { this.processArchitecture = processArchitecture; }

    public Integer getTaskCount() { return taskCount; }
    public void setTaskCount(Integer taskCount) { this.taskCount = taskCount; }

    public OffsetDateTime getRecentDiscoverTime() { return recentDiscoverTime; }
    public void setRecentDiscoverTime(OffsetDateTime recentDiscoverTime) { this.recentDiscoverTime = recentDiscoverTime; }

    public Integer getEpmUpperLimit() { return epmUpperLimit; }
    public void setEpmUpperLimit(Integer epmUpperLimit) { this.epmUpperLimit = epmUpperLimit; }

    @Override
    public String toString() {
        return "DeviceCollectTask{" +
                "id=" + id +
                ", createdAt=" + createdAt +
                ", updatedAt=" + updatedAt +
                ", deletedAt=" + deletedAt +
                ", deviceId=" + deviceId +
                ", method=" + method +
                ", taskName='" + taskName + '\'' +
                ", firstTime=" + firstTime +
                ", lastSuccessTime=" + lastSuccessTime +
                ", lastFailedTime=" + lastFailedTime +
                ", detailId=" + detailId +
                ", epm=" + epm +
                ", epmPeak=" + epmPeak +
                ", processArchitecture=" + processArchitecture +
                ", taskCount=" + taskCount +
                ", recentDiscoverTime=" + recentDiscoverTime +
                ", epmUpperLimit=" + epmUpperLimit +
                '}';
    }
}