From fdab3659ccadc8276f3e423973d18d4fbca092a8 Mon Sep 17 00:00:00 2001
From: Tomas <tomasysh@gmail.com>
Date: 星期六, 05 八月 2023 17:15:09 +0800
Subject: [PATCH] Fixed: [弱掃] p11.2 Bad use of null-like value

---
 PAMapp/shared/models/agent-info.model.ts |   37 +++++++++++++++++++++----------------
 1 files changed, 21 insertions(+), 16 deletions(-)

diff --git a/PAMapp/shared/models/agent-info.model.ts b/PAMapp/shared/models/agent-info.model.ts
index 891ba42..a57e40b 100644
--- a/PAMapp/shared/models/agent-info.model.ts
+++ b/PAMapp/shared/models/agent-info.model.ts
@@ -1,18 +1,23 @@
 export interface AgentInfo {
-  name            : string;
-  agentNo         : string;
-  role            : string;
-  img             : string;
-  avgScore        : number;
-  title           : string;
-  phoneNumber     : string;
-  serveArea       : string;
-  companyAddress  : string;
-  seniority       : string;
-  suitability     : number;
-  evaluation      : number;
-  expertise       : string[];
-  concept         : string;
-  experiences     : string[];
-  awards          : string;
+  agentNo           : string;
+  avgScore          : number;
+  awards            : string;
+  communicationStyle: string;
+  companyAddress    : string;
+  concept           : string;
+  email?            : string;
+  evaluation        : number;
+  experiences       : string;
+  expertise         : string[];
+  gender            : string,
+  img               : string;
+  latestLoginTime   : Date  ;
+  name              : string;
+  phoneNumber       : string;
+  role              : string;
+  seniority         : string;
+  serveArea         : string;
+  suitability       : number;
+  title             : string;
+  entryDate?        : string;
 }

--
Gitblit v1.8.0