Last active
January 11, 2018 10:26
-
-
Save Sam-Kruglov/3b12f0889c79392e195918e198d8f061 to your computer and use it in GitHub Desktop.
DTO for User
This file contains 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
/** | |
* Only defines a {@link com.samkruglov.entities.User#username username}. | |
*/ | |
public class UserUsername { | |
private final String username; // getter & consctuctor | |
// equals & hashcode | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment