Add withUser projection to account
This commit is contained in:
parent
3a48734544
commit
055abd95a4
@ -0,0 +1,17 @@
|
||||
package de.hft.geotime.timetrackaccount;
|
||||
|
||||
import de.hft.geotime.user.TimetrackUser;
|
||||
import org.springframework.data.rest.core.config.Projection;
|
||||
|
||||
@Projection(name = "withUser", types = TimetrackAccount.class)
|
||||
public interface AccountWithUserProjection {
|
||||
|
||||
double getRevenue();
|
||||
|
||||
String getName();
|
||||
|
||||
String getDescription();
|
||||
|
||||
TimetrackUser getUser();
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user