Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
SRP Problem
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
You can’t perform that action at this time.