1 | public class Document {
↵ | | 1 | public class Transaction {↵
|
|
2 | private Long id;
↵ | | 2 | private Long id;↵
|
3 | private String location;
↵ | | 3 | private String description;↵
|
4 | private User owner;↵ | | 4 | private ↵
|
5 |
↵ | | 5 | MonetoryAmount value;↵
|
| | | 6 | ↵
|
6 | public Long getId() {
↵ | | 7 | public String getDescription() {↵
|
7 | return id;↵ | | 8 | return ↵
|
8 | }↵ | | |
|
|
9 | public void setId(Long id↵ | | 9 | description;↵
|
| | | 10 | }↵
|
| | | 11 | ↵
|
10 | ) {
↵ | | 12 | public void setDescription(String description) {↵
|
11 | this.id = id;↵ | | 13 | this.↵
|
12 | }↵ | | |
|
13 |
↵ | | 14 | description = description;↵
|
| | | 15 | }↵
|
| | | 16 | ↵
|
14 | public String getLocation() {
↵ | | 17 | public Long getId() {↵
|
15 | return location;↵ | | 18 | return ↵
|
16 | }↵ | | |
|
17 |
↵ | | 19 | id;↵
|
| | | 20 | }↵
|
| | | 21 | ↵
|
18 | public void setLocation(String location) {
↵ | | 22 | public void setId(Long id) {↵
|
19 | this.location = location;↵ | | 23 | this.↵
|
20 | }↵ | | |
|
|
21 | public User getOwner↵ | | 24 | id = id;↵
|
| | | 25 | }↵
|
| | | 26 | ↵
|
22 | () {
↵ | | 27 | public MonetoryAmount getValue() {↵
|
23 | return owner;↵ | | 28 | return ↵
|
24 | }↵ | | |
|
25 |
↵ | | 29 | value;↵
|
| | | 30 | }↵
|
| | | 31 | ↵
|
26 | public void setOwner(User owner) {
↵ | | 32 | public void setValue(MonetoryAmount value) {↵
|
27 | this.owner = owner | | 33 | this.value = value
|