1 | public class Transaction {↵ | | 1 | public class Being {↵
|
|
2 | private Long id;↵ | | 2 | private long id;↵
|
3 | private String description;↵ | | 3 | private String identity;↵
|
4 | private MonetoryAmount value;↵ | | 4 | private ↵
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | |
|
7 | return description;↵ | | |
|
8 | }↵ | | 5 | String location;↵
|
| | | 6 | private String species;↵
|
9 | ↵ | | 7 | ↵
|
10 | public void setDescription(String description) {↵ | | 8 | public void setLocation(String location) {↵
|
11 | this.description = description;↵ | | 9 | this.location = location;↵
|
12 | }↵ | | 10 | }↵
|
13 | ↵ | | 11 | ↵
|
14 | public Long getId() {↵ | | 12 | public String getLocation() {↵
|
15 | return id;↵ | | 13 | return location;↵
|
16 | }↵ | | 14 | }↵
|
17 | ↵ | | 15 | ↵
|
18 | public void setId(Long id) {↵ | | 16 | public void set↵
|
19 | this.id = id↵ | | 17 | Species(String species) {↵
|
20 | ;↵ | | 18 | this.species = species;↵
|
21 | }↵ | | 19 | }↵
|
22 | ↵ | | 20 | ↵
|
23 | public MonetoryAmount getValue() {↵ | | 21 | public String getSpecies() {↵
|
24 | return value;↵ | | 22 | return species;↵
|
25 | }↵ | | 23 | }↵
|
26 | ↵ | | 24 | ↵
|
27 | public void setValue(MonetoryAmount value) {↵ | | 25 | public void set↵
|
28 | this.value = value↵ | | 26 | Identity(String identity) {↵
|
| | | 27 | this.identity = identity;↵
|
| | | 28 | }↵
|
| | | 29 | public String getIdentity() {↵
|
29 | ;↵ | | 30 | return identity;↵
|
30 | | | 31 |
|