case 4015

This commit is contained in:
2021-11-05 15:27:14 +00:00
parent c36012e89d
commit 3416f91031
6 changed files with 74 additions and 21 deletions

View File

@@ -29,7 +29,7 @@ namespace AyaNova.Models
public DateTime? StopGeneratingDate { get; set; }
[Required]
public AyaDaysOfWeek ExcludeDaysOfWeek { get; set; }//bit field flags set
[Required]
[Required]
public bool Active { get; set; }
[Required]
public DateTime NextServiceDate { get; set; }
@@ -49,9 +49,20 @@ namespace AyaNova.Models
public long CustomerId { get; set; }
[NotMapped]
public string CustomerViz { get; set; }
[NotMapped]
public string CustomerTechNotesViz { get; set; }
[NotMapped]
public string CustomerPhone1Viz { get; set; }
[NotMapped]
public string CustomerPhone2Viz { get; set; }
[NotMapped]
public string CustomerPhone3Viz { get; set; }
[NotMapped]
public string CustomerPhone4Viz { get; set; }
[NotMapped]
public string CustomerPhone5Viz { get; set; }
[NotMapped]
public string CustomerEmailAddressViz { get; set; }
public long? ProjectId { get; set; }
[NotMapped]
@@ -116,7 +127,7 @@ namespace AyaNova.Models
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.PM; }
//workaround for notification
//workaround for notification
[NotMapped, JsonIgnore]
public string Name
{

View File

@@ -40,6 +40,18 @@ namespace AyaNova.Models
[NotMapped]
public string CustomerTechNotesViz { get; set; }
[NotMapped]
public string CustomerPhone1Viz { get; set; }
[NotMapped]
public string CustomerPhone2Viz { get; set; }
[NotMapped]
public string CustomerPhone3Viz { get; set; }
[NotMapped]
public string CustomerPhone4Viz { get; set; }
[NotMapped]
public string CustomerPhone5Viz { get; set; }
[NotMapped]
public string CustomerEmailAddressViz { get; set; }
public long? ProjectId { get; set; }
[NotMapped]
@@ -110,7 +122,7 @@ namespace AyaNova.Models
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.Quote; }
//workaround for notification
//workaround for notification
[NotMapped, JsonIgnore]
public string Name
{

View File

@@ -27,6 +27,18 @@ namespace AyaNova.Models
[NotMapped]
public string CustomerTechNotesViz { get; set; }
[NotMapped]
public string CustomerPhone1Viz { get; set; }
[NotMapped]
public string CustomerPhone2Viz { get; set; }
[NotMapped]
public string CustomerPhone3Viz { get; set; }
[NotMapped]
public string CustomerPhone4Viz { get; set; }
[NotMapped]
public string CustomerPhone5Viz { get; set; }
[NotMapped]
public string CustomerEmailAddressViz { get; set; }
public long? ProjectId { get; set; }
[NotMapped]