package com.github.attemper.common.result.dispatch.job;

import lombok.ToString;

import java.util.Date;

@ToString
public class JobWithVersionResult {

    protected String jobName;

    protected String displayName;

    protected int status;

    protected int concurrent;

    protected int once;

    protected Date updateTime;

    protected String remark;

    protected String procDefId;

    protected int version;

    public String getJobName() {
        return jobName;
    }

    public JobWithVersionResult setJobName(String jobName) {
        this.jobName = jobName;
        return this;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public JobWithVersionResult setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
        return this;
    }

    public String getDisplayName() {
        return displayName;
    }

    public JobWithVersionResult setDisplayName(String displayName) {
        this.displayName = displayName;
        return this;
    }

    public int getStatus() {
        return status;
    }

    public JobWithVersionResult setStatus(int status) {
        this.status = status;
        return this;
    }

    public int getConcurrent() {
        return concurrent;
    }

    public JobWithVersionResult setConcurrent(int concurrent) {
        this.concurrent = concurrent;
        return this;
    }

    public int getOnce() {
        return once;
    }

    public JobWithVersionResult setOnce(int once) {
        this.once = once;
        return this;
    }

    public String getProcDefId() {
        return procDefId;
    }

    public JobWithVersionResult setProcDefId(String procDefId) {
        this.procDefId = procDefId;
        return this;
    }

    public int getVersion() {
        return version;
    }

    public JobWithVersionResult setVersion(int version) {
        this.version = version;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public JobWithVersionResult setRemark(String remark) {
        this.remark = remark;
        return this;
    }
}
