-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathClientes.java
More file actions
50 lines (39 loc) · 1.14 KB
/
Clientes.java
File metadata and controls
50 lines (39 loc) · 1.14 KB
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
47
48
49
50
public class Clientes {
private int codigoCliente;
private String nomeCliente;
private String dataEmbarque;
private int codigoPacote;
public Clientes(int codigoCliente, String nomeCliente, String dataEmbarque, int codigoPacote) {
this.codigoCliente = codigoCliente;
this.nomeCliente = nomeCliente;
this.dataEmbarque = dataEmbarque;
this.codigoPacote = codigoPacote;
}
public int getCodigoCliente() {
return this.codigoCliente;
}
public void setCodigoCliente(int codigoCliente) {
this.codigoCliente = codigoCliente;
}
public String getNomeCliente() {
return this.nomeCliente;
}
public void setNomeCliente(String nomeCliente) {
this.nomeCliente = nomeCliente;
}
public String getDataEmbarque() {
return this.dataEmbarque;
}
public void setDataEmbarque(String dataEmbarque) {
this.dataEmbarque = dataEmbarque;
}
public int getCodigoPacote() {
return codigoPacote;
}
public void setCodigoPacote(int codigoPacote) {
this.codigoPacote = codigoPacote;
}
public String toString() {
return this.codigoCliente + "\t" + this.nomeCliente + "\t" + this.dataEmbarque + "\t" + this.codigoPacote + "\n";
}
}