From 3e1d9a15ec902447f566e7b0dea9d0503230288c Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期三, 01 十二月 2021 16:48:42 +0800
Subject: [PATCH] [ADD]【todo 131457, 131458】預約單瀏覽與查看時間紀錄API

---
 pamapi/src/main/java/com/pollex/pam/domain/AppointmentCustomerView.java |   74 +++++++++++++++++++++++-------------
 1 files changed, 47 insertions(+), 27 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/domain/AppointmentCustomerView.java b/pamapi/src/main/java/com/pollex/pam/domain/AppointmentCustomerView.java
index 05268c7..05bdd5d 100644
--- a/pamapi/src/main/java/com/pollex/pam/domain/AppointmentCustomerView.java
+++ b/pamapi/src/main/java/com/pollex/pam/domain/AppointmentCustomerView.java
@@ -15,62 +15,68 @@
 @Entity
 @Table(name = "appointment_customer_view")
 public class AppointmentCustomerView implements Serializable {
-	
+
 	/**
-	 * 
+	 *
 	 */
 	private static final long serialVersionUID = 1L;
 
 	@Column(name = "appointment_id")
 	@Id
 	private Long id;
-	
+
 	@Column(name = "phone")
     private String phone;
-	
+
 	@Column(name = "email")
     private String email;
-	
+
 	@Column(name = "contact_type")
     private String contactType;
-	
+
 	@Column(name = "gender")
     private String gender;
-	
+
 	@Column(name = "age")
-    private int age;
-	
+    private String age;
+
 	@Column(name = "job")
     private String job;
-	
+
 	@Column(name = "requirement")
     private String requirement;
-	
+
 	@Enumerated(EnumType.STRING)
 	@Column(name = "communicate_status")
     private ContactStatusEnum communicateStatus;
-	
+
 	@Column(name = "hope_contact_time")
     private String hopeContactTime;
-	
+
 	@Column(name = "other_requirement")
     private String otherRequirement;
-	
+
 	@Column(name = "appointment_date")
     private Instant appointmentDate;
-	
+
 	@Column(name = "agent_no")
     private String agentNo;
-	
+
 	@Column(name = "customer_id")
     private Long customerId;
-	
-	@Column(name = "name")
+
+    @Column(name = "consultant_view_time")
+    private Instant consultantViewTime;
+
+    @Column(name = "consultant_read_time")
+    private Instant consultantReadTime;
+
+    @Column(name = "name")
     private String name;
 
-	public Long getId() {
-		return id;
-	}
+    public Long getId() {
+        return id;
+    }
 
 	public void setId(Long id) {
 		this.id = id;
@@ -108,11 +114,11 @@
 		this.gender = gender;
 	}
 
-	public int getAge() {
+	public String getAge() {
 		return age;
 	}
 
-	public void setAge(int age) {
+	public void setAge(String age) {
 		this.age = age;
 	}
 
@@ -180,14 +186,28 @@
 		this.customerId = customerId;
 	}
 
-	public String getName() {
+    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 String getName() {
 		return name;
 	}
 
 	public void setName(String name) {
 		this.name = name;
 	}
-	
-	
-	
+
 }

--
Gitblit v1.8.0