Browse Source

Visitor.cs Changes

allauddin 2 years ago
parent
commit
ea99bb9cc6
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      CRM.Visitors/Infos/Visitor.cs

+ 4
- 1
CRM.Visitors/Infos/Visitor.cs View File

14
     {
14
     {
15
         public enum Property
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
         #region Public Properties
20
         #region Public Properties
51
         public Boolean Agreement { get; set; }
51
         public Boolean Agreement { get; set; }
52
         public string PhotoUrl { get; set; }
52
         public string PhotoUrl { get; set; }
53
         public string ImageUrl { get; set; }
53
         public string ImageUrl { get; set; }
54
+        public DateTime LastUpdatedDate { get; set; }
54
         #endregion
55
         #endregion
55
         public string __TableName
56
         public string __TableName
56
         {
57
         {
99
                  "v.tenantid",
100
                  "v.tenantid",
100
                  "v.visitortype",
101
                  "v.visitortype",
101
                  "v.seriesid",
102
                  "v.seriesid",
103
+                 "v.agreement",                
104
+                 "v.lastupdateddate",
102
                  "(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl",
105
                  "(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl",
103
             "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",
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
                 "concat(e.firstname, e.lastname) AS HostName",
107
                 "concat(e.firstname, e.lastname) AS HostName",

Loading…
Cancel
Save