package com.njcn.gather.systemmonitor.disk.pojo.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 磁盘监控任务批次表。
 */
@Data
@TableName("disk_monitor_job")
public class DiskMonitorJob implements Serializable {
    private static final long serialVersionUID = 2956749403195165256L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField("job_no")
    private String jobNo;

    @TableField("job_source")
    private String jobSource;

    @TableField("planned_time")
    private LocalDateTime plannedTime;

    @TableField("started_at")
    private LocalDateTime startedAt;

    @TableField("finished_at")
    private LocalDateTime finishedAt;

    @TableField("job_status")
    private String jobStatus;

    @TableField("target_count")
    private Integer targetCount;

    @TableField("success_count")
    private Integer successCount;

    @TableField("warning_count")
    private Integer warningCount;

    @TableField("alarm_count")
    private Integer alarmCount;

    @TableField("message")
    private String message;

    @TableField("created_at")
    private LocalDateTime createdAt;
}
