package com.docus.server.vo.archivefile;

import com.docus.server.enums.CollectTypeEnum;
import com.docus.server.enums.StateEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class TaskMessageVO {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "采集名字")
    private String name;

    @ApiModelProperty(value = "采集描述")
    private String memo;

    @ApiModelProperty(value = "采集类型")
    private CollectTypeEnum collectType;

    @ApiModelProperty(value = "重试标示")
    private String retryKey;

    @ApiModelProperty(value = "原始报文转对象json")
    private String jsonStr;

    @ApiModelProperty(value = "原始报文")
    private String source;

    @ApiModelProperty(value = "状态 1：失败，0:成功")
    private StateEnum state;

    @ApiModelProperty(value = "本批次异常信息")
    private String errorMsg;

    @ApiModelProperty(value = "入库时间")
    private Date createTime;

    @ApiModelProperty(value = "入库更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "是否有重试详情日志")
    private boolean haveRetryLog;
}
