1 | public class Document {↵ | | 1 | public class ParentInfoAssigned {↵
|
2 | private Long id;↵ | | 2 | private Long id;↵
|
3 | private String location;↵ | | 3 | private ParentAssigned owner;↵
|
4 | private User owner;↵ | | 4 | private String info;↵
|
|
5 | public Long getId() {↵ | | 5 | public ↵
|
6 | return id;↵ | | |
|
7 | }↵ | | |
|
|
8 | public void setId(Long id) {↵ | | |
|
9 | this.id = id;↵ | | |
|
10 | }↵ | | |
|
|
11 | public String getLocation↵ | | 6 | ParentInfoAssigned() {↵
|
| | | 7 | }↵
|
|
| | | 8 | public ParentInfoAssigned(String info) {↵
|
| | | 9 | this.info = info;↵
|
| | | 10 | }↵
|
|
| | | 11 | public Long getId() {↵
|
| | | 12 | return id;↵
|
| | | 13 | }↵
|
|
12 | () {↵ | | 14 | public ParentAssigned getOwner() {↵
|
13 | return location;↵ | | 15 | return owner;↵
|
14 | }↵ | | 16 | }↵
|
|
15 | public void setLocation(String location) {↵ | | 17 | public void setOwner(ParentAssigned owner) {↵
|
16 | this.location = location;↵ | | 18 | this.owner = owner;↵
|
17 | }↵ | | 19 | }↵
|
|
18 | public User getOwner() {↵ | | 20 | public String getInfo() {↵
|
19 | return owner;↵ | | 21 | return info;↵
|
20 | }↵ | | 22 | }↵
|
|
21 | public void setOwner(User owner) {↵ | | 23 | public void set↵
|
22 | this.owner = owner↵ | | 24 | Info(String info) {↵
|
23 | ;↵ | | 25 | this.info = info;↵
|
24 | | | 26 |
|