package ch.unisg.executorpool.adapter.out.persistence.mongodb;

import org.springframework.data.mongodb.core.mapping.Document;

import lombok.Data;

@Data
@Document(collection = "executors")
public class MongoExecutorDocument {

    public String executorUri;
    public String executorTaskType;

    public MongoExecutorDocument(String executorUri, String executorTaskType) {

        this.executorUri = executorUri;
        this.executorTaskType = executorTaskType;
    }
}
