1 | public class OtherAssigned {
↵ | | 1 | public class Customer extends Person {↵
|
2 | private Long id;↵ | | 2 | private ↵
|
3 | private ParentAssigned owner;↵ | | |
|
|
4 | public OtherAssigned() {↵ | | |
|
5 | }↵ | | |
|
|
6 | public OtherAssigned(Long id↵ | | 3 | Employee salesperson;↵
|
| | | 4 | private String comments;↵
|
|
| | | 5 | /**↵
|
| | | 6 | * @return Returns the salesperson.↵
|
| | | 7 | */↵
|
| | | 8 | public Employee getSalesperson() {↵
|
| | | 9 | return salesperson;↵
|
| | | 10 | }↵
|
| | | 11 | /**↵
|
| | | 12 | * @param salesperson The salesperson to set.↵
|
| | | 13 | */↵
|
7 | ) {
↵ | | 14 | public void setSalesperson(Employee salesperson) {↵
|
8 | this.id = id;↵ | | 15 | this.↵
|
9 | }↵ | | |
|
10 |
↵ | | 16 | salesperson = salesperson;↵
|
| | | 17 | }↵
|
| | | 18 | /**↵
|
| | | 19 | * @return Returns the comments.↵
|
| | | 20 | */↵
|
11 | public Long getId() {
↵ | | 21 | public String getComments() {↵
|
12 | return id;↵ | | 22 | return ↵
|
13 | }↵ | | |
|
|
14 | public ParentAssigned getOwner() {↵ | | |
|
15 | return owner;↵ | | |
|
16 | }↵ | | |
|
17 |
↵ | | 23 | comments;↵
|
| | | 24 | }↵
|
| | | 25 | /**↵
|
| | | 26 | * @param comments The comments to set.↵
|
| | | 27 | */↵
|
18 | public void setOwner(ParentAssigned owner) {
↵ | | 28 | public void setComments(String comments) {↵
|
19 | this.owner = owner;
↵ | | 29 | this.comments = comments;↵
|
20 | | | 30 |
|