Skip to content

Commit

Permalink
Mudando os tributos do objeto tarefa para private
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardosouzafaria committed Oct 30, 2018
1 parent f42214d commit fb67155
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/br/com/mantendoofoco/model/Tarefa.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ public class Tarefa {
@GeneratedValue(strategy = GenerationType.IDENTITY)
long id;

String descricao;
private String descricao;

int tempoPomodoro;
private int tempoPomodoro;

int tempoPausaMenor;
private int tempoPausaMenor;

int tempoPausaMaior;
private int tempoPausaMaior;

int quantidadePomodoro;
private int quantidadePomodoro;

boolean status;
private boolean status;

public Tarefa (long id, String descricao, int tempoPomodoro, int tempoPausaMenor, int tempoPausaMaior, int quantidadePomodoro, boolean status) {
this.setId(id);
Expand Down

0 comments on commit fb67155

Please sign in to comment.