Visitor.cs Changes

这个提交包含在:
2023-08-10 16:37:37 +05:30
父节点 b931fbdd37
当前提交 b69823dd43
+4 -5
查看文件
@@ -14,13 +14,11 @@ namespace Bizgaze.CRM.Visitors.Infos
{ {
public enum Property public enum Property
{ {
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,TypeofVisitor,CityId,CityName VisitorId, StageId, TenantId, StatusId, PurposeOfVisit, Title, SeriesId, Code, Reason, EmailId, 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, TypeofVisitor, CityName, CityId, CheckInDate
} }
#region Public Properties #region Public Properties
public Int64 VisitorId { get; set; } public Int64 VisitorId { get; set; }
public Int64 CityId { get; set; }
public string CityName { get; set; }
public Int64 VisitorEmailId { get; set; } public Int64 VisitorEmailId { get; set; }
public Int64 VisitorNumberId { get; set; } public Int64 VisitorNumberId { get; set; }
public Int64 AlternateNumber { get; set; } public Int64 AlternateNumber { get; set; }
@@ -55,6 +53,8 @@ namespace Bizgaze.CRM.Visitors.Infos
public string PhotoUrl { get; set; } public string PhotoUrl { get; set; }
public string ImageUrl { get; set; } public string ImageUrl { get; set; }
public DateTime LastUpdatedDate { get; set; } public DateTime LastUpdatedDate { get; set; }
public string CityName { get; set; }
public Int64 CityId { get; set; }
#endregion #endregion
public string __TableName public string __TableName
{ {
@@ -76,7 +76,6 @@ namespace Bizgaze.CRM.Visitors.Infos
string[] columns = { string[] columns = {
"v.cityid", "v.cityid",
"ci.cityname",
"vn.mobilenumber", "vn.mobilenumber",
"v.alternatenumber", "v.alternatenumber",
"v.employeeid", "v.employeeid",
@@ -107,7 +106,7 @@ namespace Bizgaze.CRM.Visitors.Infos
"v.seriesid", "v.seriesid",
"v.agreement", "v.agreement",
"v.lastupdateddate", "v.lastupdateddate",
"v.versionguid", "v.versionguid","ci.cityname",
"(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl", "(select imageurl from bizgazecrm_companies where companyid="+CompanyId+") as imageurl",
"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", "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",
"concat(e.firstname, e.lastname) AS HostName", "concat(e.firstname, e.lastname) AS HostName",