From bd1c46d8abfbd6f60bb9562161c2df055b5777ec Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期二, 16 十一月 2021 11:07:25 +0800 Subject: [PATCH] [update]:#129055 預約前詢問 跑版修正 --- 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