1 | public class Item {↵ | | 1 | public class ParentInfoAssigned {
↵
|
2 | private Long id;↵ | | 2 | private Long id;
↵
|
3 | private String name;↵ | | 3 | private ParentAssigned owner;
↵
|
4 | private String description;↵ | | 4 | private String ↵
|
5 | ↵ | | |
|
6 | public String getDescription() {↵ | | |
|
7 | return description;↵ | | |
|
8 | }↵ | | |
|
9 | public void setDescription(String description↵ | | 5 | info;↵
|
|
| | | 6 | public ParentInfoAssigned() {↵
|
| | | 7 | }↵
|
|
10 | ) {↵ | | 8 | public ParentInfoAssigned(String info) {
↵
|
11 | this.description = description;↵ | | 9 | this.↵
|
12 | }↵ | | 10 | info = info;↵
|
| | | 11 | }↵
|
| | | 12 |
↵
|
13 | public Long getId() {↵ | | 13 | public Long getId() {
↵
|
14 | return id;↵ | | 14 | return id;
↵
|
15 | }↵ | | 15 | }↵
|
16 | public void setId(Long id↵ | | |
|
|
| | | 16 | public ParentAssigned getOwner() {↵
|
| | | 17 | return owner;↵
|
| | | 18 | }↵
|
|
17 | ) {↵ | | 19 | public void setOwner(ParentAssigned owner) {
↵
|
18 | this.id = id;↵ | | 20 | this.↵
|
19 | }↵ | | 21 | owner = owner;↵
|
| | | 22 | }↵
|
| | | 23 |
↵
|
20 | public String getName() {↵ | | 24 | public String getInfo() {
↵
|
21 | return name;↵ | | 25 | return ↵
|
22 | }↵ | | 26 | info;↵
|
| | | 27 | }↵
|
| | | 28 |
↵
|
23 | public void setName(String name) {↵ | | 29 | public void setInfo(String info) {
↵
|
24 | this.name = name;↵ | | 30 | this.info = info;
↵
|
25 | | | 31 |
|