| | |
| | | package com.pollex.pam.domain; |
| | | |
| | | import com.pollex.pam.enums.ContactStatusEnum; |
| | | |
| | | import javax.persistence.*; |
| | | import java.io.Serializable; |
| | | |
| | |
| | | @JoinColumn(name = "consultant_id") |
| | | private Consultant consultant; |
| | | |
| | | @Column(name = "custom_id") |
| | | private Long customId; |
| | | |
| | | @Enumerated(EnumType.STRING) |
| | | @Column(name = "contact_status") |
| | | private ContactStatusEnum contactStatus; |
| | | @Column(name = "customer_id") |
| | | private Long customerId; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | |
| | | this.consultant = consultant; |
| | | } |
| | | |
| | | public Long getCustomId() { |
| | | return customId; |
| | | public Long getCustomerId() { |
| | | return customerId; |
| | | } |
| | | |
| | | public void setCustomId(Long customId) { |
| | | this.customId = customId; |
| | | } |
| | | |
| | | public ContactStatusEnum getContactStatus() { |
| | | return contactStatus; |
| | | } |
| | | |
| | | public void setContactStatus(ContactStatusEnum contactStatus) { |
| | | this.contactStatus = contactStatus; |
| | | public void setCustomerId(Long customId) { |
| | | this.customerId = customId; |
| | | } |
| | | |
| | | @Override |
| | |
| | | return "CustomFavoriteConsultant{" + |
| | | "id=" + id + |
| | | ", consultant=" + consultant + |
| | | ", customId=" + customId + |
| | | ", contactStatus='" + contactStatus + '\'' + |
| | | ", customerId=" + customerId + |
| | | '}'; |
| | | } |
| | | } |