Newer
Older
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
package ufrn.imd.domain;
import java.io.Serializable;
public class Account implements Serializable {
private static final long serialVersionUID = 2L;
private Integer id;
private String number;
private Double balance;
public Account() {}
public Account(Integer id, String number, Double balance) {
this.id = id;
this.number = number;
this.balance = balance;
}
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getNumber() {
return number;
}
public void setNumber(String number) {
this.number = number;
}
public Double getBalance() {
return balance;
}
public void setBalance(Double balance) {
this.balance = balance;
}
}