浏览代码

Visitor.cs Changes

allauddin 2 年前
父节点
当前提交
ea99bb9cc6
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4
    1
      CRM.Visitors/Infos/Visitor.cs

+ 4
- 1
CRM.Visitors/Infos/Visitor.cs 查看文件

@@ -14,7 +14,7 @@ namespace Bizgaze.CRM.Visitors.Infos
14 14
     {
15 15
         public enum Property
16 16
         {
17
-            VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, ComingFrom, VersionguId, MobileNumber, FullName, NewCheckIn, PreInvite, AccessCode, FutureInvitation, TimeOfVisit, DateOfVisit, HostName, OrganizationName, TitleName, VisitorType, TemplateId, Installedappid, PhotoUrl, CreatedDate, StageStatusName, RefStatusId, AlternateNumber, ImageUrl, VisitorNumberId, VisitorEmailId
17
+            VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, ComingFrom, VersionguId, MobileNumber, FullName, NewCheckIn, PreInvite, AccessCode, FutureInvitation, TimeOfVisit, DateOfVisit, HostName, OrganizationName, TitleName, VisitorType, TemplateId, Installedappid, PhotoUrl, CreatedDate, StageStatusName, RefStatusId, AlternateNumber, ImageUrl, VisitorNumberId, VisitorEmailId, Agreement, LastUpdatedDate
18 18
 
19 19
         }
20 20
         #region Public Properties
@@ -51,6 +51,7 @@ namespace Bizgaze.CRM.Visitors.Infos
51 51
         public Boolean Agreement { get; set; }
52 52
         public string PhotoUrl { get; set; }
53 53
         public string ImageUrl { get; set; }
54
+        public DateTime LastUpdatedDate { get; set; }
54 55
         #endregion
55 56
         public string __TableName
56 57
         {
@@ -99,6 +100,8 @@ namespace Bizgaze.CRM.Visitors.Infos
99 100
                  "v.tenantid",
100 101
                  "v.visitortype",
101 102
                  "v.seriesid",
103
+                 "v.agreement",                
104
+                 "v.lastupdateddate",
102 105
                  "(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl",
103 106
             "Case when purposeofvisit=1 then 'Interview'  when purposeofvisit=2 then 'Official Meeting'  when purposeofvisit=3 then 'Meeting an Employee'  when purposeofvisit=4 then 'Package Delivery' when purposeofvisit=5 then 'Others' end as purposeofvisittype",
104 107
                 "concat(e.firstname, e.lastname) AS HostName",

正在加载...
取消
保存