Skip to content

Commit

Permalink
Merge pull request #245 from bullhorn/ESE31406
Browse files Browse the repository at this point in the history
adding getNotes to ClientContact entity
  • Loading branch information
johnsully83 authored Oct 31, 2018
2 parents 2effd25 + 900d382 commit dde39fd
Showing 1 changed file with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"externalID", "fax", "fax2", "fax3", "firstName", "isDayLightSavings",
"isDeleted", "isLockedOut", "lastName", "linkedPerson", "leads",
"massMailOptOut", "middleName", "migrateGUID", "mobile", "name",
"namePrefix", "nameSuffix", "nickName", "numEmployees", "occupation",
"namePrefix", "nameSuffix", "nickName", "notes", "numEmployees", "occupation",
"office", "owner", "pager", "password", "phone", "phone2", "phone3",
"preferredContact", "referredByPerson", "reportToPerson",
"secondaryAddress", "secondaryOwners", "skills", "smsOptIn", "source",
Expand Down Expand Up @@ -190,6 +190,8 @@ public class ClientContact extends CustomFieldsB implements QueryEntity,
@JsonIgnore
private String nickName;

private OneToMany<Note> notes;

private Integer numEmployees;

@JsonIgnore
Expand Down Expand Up @@ -738,6 +740,17 @@ public void setNickName(String nickName) {
this.nickName = nickName;
}

@JsonProperty("notes")
public OneToMany<Note> getNotes() {
return notes;
}

@ReadOnly
@JsonProperty("notes")
public void setNotes(OneToMany<Note> notes) {
this.notes = notes;
}

@JsonProperty("numEmployees")
public Integer getNumEmployees() {
return numEmployees;
Expand Down Expand Up @@ -1161,6 +1174,7 @@ public boolean equals(Object o) {
if (namePrefix != null ? !namePrefix.equals(that.namePrefix) : that.namePrefix != null) return false;
if (nameSuffix != null ? !nameSuffix.equals(that.nameSuffix) : that.nameSuffix != null) return false;
if (nickName != null ? !nickName.equals(that.nickName) : that.nickName != null) return false;
if (notes != null ? !notes.equals(that.notes) : that.notes != null) return false;
if (numEmployees != null ? !numEmployees.equals(that.numEmployees) : that.numEmployees != null) return false;
if (occupation != null ? !occupation.equals(that.occupation) : that.occupation != null) return false;
if (office != null ? !office.equals(that.office) : that.office != null) return false;
Expand Down Expand Up @@ -1257,6 +1271,7 @@ public int hashCode() {
result = 31 * result + (namePrefix != null ? namePrefix.hashCode() : 0);
result = 31 * result + (nameSuffix != null ? nameSuffix.hashCode() : 0);
result = 31 * result + (nickName != null ? nickName.hashCode() : 0);
result = 31 * result + (notes != null ? notes.hashCode() : 0);
result = 31 * result + (numEmployees != null ? numEmployees.hashCode() : 0);
result = 31 * result + (occupation != null ? occupation.hashCode() : 0);
result = 31 * result + (office != null ? office.hashCode() : 0);
Expand Down Expand Up @@ -1339,6 +1354,7 @@ public String toString() {
sb.append(", namePrefix='").append(namePrefix).append('\'');
sb.append(", nameSuffix='").append(nameSuffix).append('\'');
sb.append(", nickName='").append(nickName).append('\'');
sb.append(", notes=").append(notes);
sb.append(", numEmployees=").append(numEmployees);
sb.append(", occupation='").append(occupation).append('\'');
sb.append(", office='").append(office).append('\'');
Expand Down

0 comments on commit dde39fd

Please sign in to comment.