package ch.unisg.roster.roster.domain;

import ch.unisg.common.valueobject.ExecutorURI;
import lombok.Getter;

public class RosterItem {

    @Getter
    private String taskID;

    @Getter
    private String taskType;

    @Getter
    private ExecutorURI executorURI;

    public RosterItem(String taskID, String taskType, ExecutorURI executorURI) {
        this.taskID = taskID;
        this.taskType = taskType;
        this.executorURI = executorURI;
    }

    public static RosterItem withIDTypeExecutorURI(String taskId, String taskType,
                                                   ExecutorURI executorURI){
        return new RosterItem(taskId, taskType, executorURI);
    }
}
