From 5e78d7a2a8e4c596cc6d61af6943c4e079e93b84 Mon Sep 17 00:00:00 2001 From: wayne <wayne8692wayne8692@gmail.com> Date: 星期一, 29 十一月 2021 11:55:09 +0800 Subject: [PATCH] [update] 調整客戶資料的last_modified_date需要有EntityListeners才會更新 --- pamapi/src/main/java/com/pollex/pam/domain/Consultant.java | 14 +++++++++++++- 1 files changed, 13 insertions(+), 1 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 d5eec1b..6fd2b42 100644 --- a/pamapi/src/main/java/com/pollex/pam/domain/Consultant.java +++ b/pamapi/src/main/java/com/pollex/pam/domain/Consultant.java @@ -69,6 +69,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