All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.schedulerx.worker.domain.ShardingTask Maven / Gradle / Ivy

There is a newer version: 1.12.2
Show newest version
package com.alibaba.schedulerx.worker.domain;

import java.io.Serializable;

public class ShardingTask implements Serializable{
    private static final long serialVersionUID = 1L;
    private long id;
    private String parameter;
    
    public ShardingTask(long id, String parameter) {
        this.id = id;
        this.parameter = parameter;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getParameter() {
        return parameter;
    }

    public void setParameter(String parameter) {
        this.parameter = parameter;
    }

    @Override
    public String toString() {
        return "ShardingTask [id=" + id + ", parameter=" + parameter + "]";
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy