1 2 3 4 5 6 7 8 9 10 11 12
package com.terminaldweller.doc; import java.util.List; import org.springframework.stereotype.Service; /** The document service class. */ @Service public class DocService { public List<Doc> getDocs() { return List.of(new Doc(1L, "loco", 0L)); } }