package com.inspect.job.domain.task;

import com.inspect.base.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PatrolTaskExecRecord extends BaseEntity {
    private static final long serialVersionUID = 1L;
    private String taskPatrolId;
    private String taskName;
    private String taskCode;
    private String taskState;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date planStartTime;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date startTime;
    private String taskProgress;
    private String taskEstimatedTime;
    private String description;
    @JsonFormat(
            pattern = "yyyy-MM-dd HH:mm:ss"
    )
    private Date endTime;
    private String devNo;
    private Long execPointId;
    private String deviceId;
    private Long taskId;
    private String taskType;
    private String taskPriority;
    private String stationName;
    private String stationCode;
    private String manualPauseState;
    private String oldTaskPatrolId;
    private Integer totalNumber;
    private Integer totalAlgorithmNumber;
    private Integer finishNumber;
    private Integer cursorNumber;
    private Integer rebootTimes;
    /**
     * 任务指定算法类型
     */
    private String specifiedAlg;
}
