Last active
January 11, 2018 11:18
-
-
Save Sam-Kruglov/f87b42320e5ecf4bde6a25952df2a3a6 to your computer and use it in GitHub Desktop.
Projection simple
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.samkruglov.entities.projections; | |
@Projection(name = "username-only", types = User.class) | |
public interface UserUsername { | |
String getUsername(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment