This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Newtonsoft.Json;
|
||||
namespace AyaNova.Models
|
||||
@@ -30,15 +31,55 @@ namespace AyaNova.Models
|
||||
public long? TaxRateSaleId { get; set; }
|
||||
|
||||
|
||||
//DEFAULT WO MINUTES
|
||||
[Required]
|
||||
public int WorkLaborScheduleDefaultMinutes {get;set;}
|
||||
[Required]
|
||||
public int WorkOrderTravelDefaultMinutes {get;set;}
|
||||
//DEFAULT WO MINUTES
|
||||
[Required]
|
||||
public int WorkLaborScheduleDefaultMinutes { get; set; }
|
||||
[Required]
|
||||
public int WorkOrderTravelDefaultMinutes { get; set; }
|
||||
|
||||
[Required]
|
||||
public TimeSpan WorkOrderCompleteByAge { get; set; } = TimeSpan.Zero;//was workorderclosebyage
|
||||
|
||||
|
||||
//CUSTOMER ACCESS FEATURES AND SETTINGS
|
||||
public long? CustomerDefaultWorkOrderReportId { get; set; }
|
||||
public string CustomerServiceRequestInfoHTML { get; set; }
|
||||
|
||||
public bool CustomerAllowCSR { get; set; }
|
||||
public List<string> CustomerAllowCSRInTags { get; set; }
|
||||
public List<string> CustomerAllowCSROutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowViewWO { get; set; }
|
||||
public List<string> CustomerAllowViewWOInTags { get; set; }
|
||||
public List<string> CustomerAllowViewWOOutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowWOWiki { get; set; }
|
||||
public List<string> CustomerAllowWOWikiInTags { get; set; }
|
||||
public List<string> CustomerAllowWOWikiOutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowUserSettings { get; set; }
|
||||
public List<string> CustomerAllowUserSettingsInTags { get; set; }
|
||||
public List<string> CustomerAllowUserSettingsOutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowNotifyServiceImminent { get; set; }
|
||||
public List<string> CustomerAllowNotifyServiceImminentInTags { get; set; }
|
||||
public List<string> CustomerAllowNotifyServiceImminentOutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowNotifyCSRAccepted { get; set; }
|
||||
public List<string> CustomerAllowNotifyCSRAcceptedInTags { get; set; }
|
||||
public List<string> CustomerAllowNotifyCSRAcceptedOutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowNotifyCSRRejected { get; set; }
|
||||
public List<string> CustomerAllowNotifyCSRRejectedInTags { get; set; }
|
||||
public List<string> CustomerAllowNotifyCSRRejectedOutTags { get; set; }
|
||||
|
||||
public bool CustomerAllowNotifyWorkorderCreated { get; set; }
|
||||
public List<string> CustomerAllowNotifyWorkorderCreatedInTags { get; set; }
|
||||
public List<string> CustomerAllowNotifyWorkorderCreatedOutTags { get; set; }
|
||||
|
||||
|
||||
|
||||
|
||||
public GlobalBizSettings()
|
||||
{
|
||||
Id = 1;//always 1
|
||||
|
||||
Reference in New Issue
Block a user