-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTarefa.java
More file actions
46 lines (37 loc) · 978 Bytes
/
Copy pathTarefa.java
File metadata and controls
46 lines (37 loc) · 978 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
public class Tarefa {
private int id;
private String titulo;
private String descricao;
private int valorPontuacao;
public Tarefa(int id, String titulo, String descricao, int valorPontuacao) {
this.id = id;
this.titulo = titulo;
this.descricao = descricao;
this.valorPontuacao = valorPontuacao;
}
// Getters e Setters
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getTitulo() {
return titulo;
}
public void setTitulo(String titulo) {
this.titulo = titulo;
}
public String getDescricao() {
return descricao;
}
public void setDescricao(String descricao) {
this.descricao = descricao;
}
public int getValorPontuacao() {
return valorPontuacao;
}
public void setValorPontuacao(int valorPontuacao) {
this.valorPontuacao = valorPontuacao;
}
}