Created
June 17, 2020 20:59
-
-
Save luissilvazup/3d563c1b180f100861b3cdc6d12140cb to your computer and use it in GitHub Desktop.
SRP Problem
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_SingleResponsabilityProblem { | |
@Getter | |
@Setter | |
private static class Employee { | |
private Long id; | |
private String name; | |
private double salary; | |
private String jobTitle; | |
private static final String URL = "jdbc:mysql://localhost:3306/employee?useSSL=false"; | |
public boolean login() { | |
//Abre conexão com o banco e realiza o login do empregado no sistema | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment