Last active
June 17, 2020 21:09
-
-
Save luissilvazup/52deb80714d4da3735598fe8163f561a to your computer and use it in GitHub Desktop.
SRP Solution Part 2
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
public class S_SingleResponsabilitySolution { | |
@Getter | |
@Setter | |
private static class User { | |
private String email; | |
private String password; | |
} | |
@Getter | |
@Setter | |
private static class Employee extends User { | |
private Long id; | |
private String name; | |
private double salary; | |
private String jobTitle; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment