From 30bbf0084a1f17d2a4fa119d34fd9ecb3e0197c2 Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期三, 24 十一月 2021 17:35:36 +0800
Subject: [PATCH] [update] 修正otp web service的url

---
 pamapi/src/main/java/com/pollex/pam/domain/Consultant.java |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/domain/Consultant.java b/pamapi/src/main/java/com/pollex/pam/domain/Consultant.java
index a576a9d..6fd2b42 100644
--- a/pamapi/src/main/java/com/pollex/pam/domain/Consultant.java
+++ b/pamapi/src/main/java/com/pollex/pam/domain/Consultant.java
@@ -17,7 +17,7 @@
     @SequenceGenerator(name = "sequenceGenerator")
     private Long id;
 
-    @Column(name = "agent_no")
+    @Column(name = "agent_no", unique = true)
     private String agentNo;
 
     @Column(name = "name")
@@ -68,6 +68,9 @@
 
     @Column(name = "recommend")
     private Boolean recommend;
+
+    @Column(name = "communication_style")
+    private String communicationStyle;
 
     public Long getId() {
         return id;
@@ -213,6 +216,14 @@
         this.recommend = recommend;
     }
 
+    public String getCommunicationStyle() {
+        return communicationStyle;
+    }
+
+    public void setCommunicationStyle(String communicationStyle) {
+        this.communicationStyle = communicationStyle;
+    }
+
     @Override
     public String toString() {
         return "Consultant{" +
@@ -225,7 +236,7 @@
             ", title='" + title + '\'' +
             ", role='" + role + '\'' +
             ", serveArea='" + serveArea + '\'' +
-            ", gender='" + gender + '\'' +
+            ", gender=" + gender +
             ", phoneNumber='" + phoneNumber + '\'' +
             ", companyAddress='" + companyAddress + '\'' +
             ", latestLoginTime=" + latestLoginTime +
@@ -234,6 +245,7 @@
             ", experience='" + experience + '\'' +
             ", award='" + award + '\'' +
             ", recommend=" + recommend +
+            ", communicationStyle='" + communicationStyle + '\'' +
             '}';
     }
 }

--
Gitblit v1.8.0