| | |
| | | |
| | | import javax.persistence.*; |
| | | |
| | | import com.pollex.pam.enums.AppointmentStatusEnum; |
| | | import com.pollex.pam.enums.ContactStatusEnum; |
| | | import org.springframework.data.annotation.CreatedDate; |
| | | import org.springframework.data.annotation.LastModifiedDate; |
| | | import org.springframework.data.jpa.domain.support.AuditingEntityListener; |
| | | |
| | |
| | | @Column(name = "other_requirement") |
| | | private String otherRequirement; |
| | | |
| | | @LastModifiedDate |
| | | @Column(name = "appointment_date") |
| | | @CreatedDate |
| | | @Column(name = "appointment_date", updatable = false) |
| | | private Instant appointmentDate; |
| | | |
| | | @LastModifiedDate |
| | | @Column(name = "last_modified_date") |
| | | private Instant lastModifiedDate; |
| | | |
| | | @Column(name = "agent_no") |
| | | private String agentNo; |
| | | |
| | | @Column(name = "customer_id") |
| | | private Long customerId; |
| | | |
| | | @Column(name = "consultant_view_time") |
| | | private Instant consultantViewTime; |
| | | |
| | | @Column(name = "consultant_read_time") |
| | | private Instant consultantReadTime; |
| | | |
| | | @Column(name = "contact_time") |
| | | private Instant contactTime; |
| | | |
| | | @Enumerated(value = EnumType.STRING) |
| | | @Column(name = "status") |
| | | private AppointmentStatusEnum status; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | |
| | | public void setCustomerId(Long customerId) { |
| | | this.customerId = customerId; |
| | | } |
| | | |
| | | public Instant getConsultantViewTime() { |
| | | return consultantViewTime; |
| | | } |
| | | |
| | | public void setConsultantViewTime(Instant consultantViewTime) { |
| | | this.consultantViewTime = consultantViewTime; |
| | | } |
| | | |
| | | public Instant getConsultantReadTime() { |
| | | return consultantReadTime; |
| | | } |
| | | |
| | | public void setConsultantReadTime(Instant consultantReadTime) { |
| | | this.consultantReadTime = consultantReadTime; |
| | | } |
| | | |
| | | public Instant getContactTime() { |
| | | return contactTime; |
| | | } |
| | | |
| | | public void setContactTime(Instant markCommunicateTime) { |
| | | this.contactTime = markCommunicateTime; |
| | | } |
| | | |
| | | public AppointmentStatusEnum getStatus() { |
| | | return status; |
| | | } |
| | | |
| | | public void setStatus(AppointmentStatusEnum status) { |
| | | this.status = status; |
| | | } |
| | | |
| | | public Instant getLastModifiedDate() { |
| | | return lastModifiedDate; |
| | | } |
| | | |
| | | public void setLastModifiedDate(Instant lastModifiedDate) { |
| | | this.lastModifiedDate = lastModifiedDate; |
| | | } |
| | | } |