保誠-保戶業務員媒合平台
wayne
2021-12-03 6576d44fb39c4875fa56eaa105956153bec3efd8
pamapi/src/main/java/com/pollex/pam/domain/Appointment.java
@@ -7,6 +7,7 @@
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;
@@ -55,9 +56,13 @@
   @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;
@@ -70,6 +75,9 @@
    @Column(name = "consultant_read_time")
    private Instant consultantReadTime;
    @Column(name = "contact_time")
    private Instant contactTime;
    @Enumerated(value = EnumType.STRING)
    @Column(name = "status")
@@ -203,6 +211,14 @@
        this.consultantReadTime = consultantReadTime;
    }
    public Instant getContactTime() {
        return contactTime;
    }
    public void setContactTime(Instant markCommunicateTime) {
        this.contactTime = markCommunicateTime;
    }
    public AppointmentStatusEnum getStatus() {
        return status;
    }
@@ -210,4 +226,12 @@
    public void setStatus(AppointmentStatusEnum status) {
        this.status = status;
    }
    public Instant getLastModifiedDate() {
        return lastModifiedDate;
    }
    public void setLastModifiedDate(Instant lastModifiedDate) {
        this.lastModifiedDate = lastModifiedDate;
    }
}