package ch.rasc.eds.starter.entity;

import java.util.UUID;

import org.bson.codecs.IdGenerator;

public class UUIDStringGenerator implements IdGenerator {

	@Override
	public Object generate() {
		return UUID.randomUUID().toString();
	}

}

Add a simple id generator that converts uuid to string
Add a simple id generator that converts uuid to string