Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luissilvazup/3d563c1b180f100861b3cdc6d12140cb to your computer and use it in GitHub Desktop.
Save luissilvazup/3d563c1b180f100861b3cdc6d12140cb to your computer and use it in GitHub Desktop.
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