Projection for matcher target categories at
http://localhost:8084/matchers?projection=full
This commit is contained in:
@@ -0,0 +1,10 @@
|
|||||||
|
package de.tilman.transactions.domain;
|
||||||
|
|
||||||
|
import org.springframework.data.rest.core.config.Projection;
|
||||||
|
|
||||||
|
@Projection(name = "full", types = Matcher.class)
|
||||||
|
public interface MatcherProjection {
|
||||||
|
|
||||||
|
Category getTargetCategory();
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user