Visitor.cs Changes

このコミットが含まれているのは:
2023-07-12 16:30:25 +05:30
コミット ea99bb9cc6
+4 -1
ファイルの表示
@@ -14,7 +14,7 @@ namespace Bizgaze.CRM.Visitors.Infos
{
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
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
}
#region Public Properties
@@ -51,6 +51,7 @@ namespace Bizgaze.CRM.Visitors.Infos
public Boolean Agreement { get; set; }
public string PhotoUrl { get; set; }
public string ImageUrl { get; set; }
public DateTime LastUpdatedDate { get; set; }
#endregion
public string __TableName
{
@@ -99,6 +100,8 @@ namespace Bizgaze.CRM.Visitors.Infos
"v.tenantid",
"v.visitortype",
"v.seriesid",
"v.agreement",
"v.lastupdateddate",
"(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",
"concat(e.firstname, e.lastname) AS HostName",