package com.cmvr.test.model.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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.*;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("任务配置信息")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TeTaskConfigInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty("任务名称")
    private String taskName;

    @ApiModelProperty("任务描述")
    private String taskDesc;

    @ApiModelProperty("状态 （0正常 1停用）")
    @TableField(fill = FieldFill.INSERT)
    private String status;

    @ApiModelProperty("版本")
    private String versionNo;

    @ApiModelProperty("分组id")
    private String groupId;

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