package com.gangquan360.smartadmin.module.quartz.constant;

/**
 * [  ]
 *
 * @author yandanyang
 * @version 1.0
 * @company 1024lab.net
 * @copyright (c) 2018 1024lab.netInc. All rights reserved.
 * @date 2019/4/13 0013 下午 14:19
 * @since JDK1.8
 */
public enum TaskStatusEnum {

    NORMAL(0,"正常"),
    /**
     *
     */
    PAUSE(1,"暂停");

    public static final String INFO="0:正常，1:暂停";

    private Integer status;

    private String desc;

    TaskStatusEnum(Integer status ,String desc) {
        this.status = status;
        this.desc = desc;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
