package com.cmvr.test.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cmvr.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("任务实例对象")
public class TeTaskInst extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("任务id")
    private String taskId;

    @ApiModelProperty("终端id")
    private String terminalId;

    @ApiModelProperty("任务配置信息(对应检测项参数)")
    private String config;

    @ApiModelProperty("状态（0完成, 1执行中, 2失败, 3暂停, 4终止）")
    private String status;

    @ApiModelProperty("运行模式（NORMAL:正常 / TRIAL:试运行）")
    private String runMode;
}
