This commit is contained in:
2021-07-30 21:36:29 +00:00
parent 58b05dd1f3
commit bb4ea56c19
6 changed files with 31 additions and 132 deletions

View File

@@ -116,9 +116,16 @@ namespace AyaNova.Models
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.PM; }
//workaround for notification
//workaround for notification
[NotMapped, JsonIgnore]
public string Name { get; set; }
public string Name
{
get
{
return this.Serial.ToString();
}
set => throw new System.NotImplementedException();
}
}//eoc

View File

@@ -110,9 +110,16 @@ namespace AyaNova.Models
[NotMapped, JsonIgnore]
public AyaType AyaType { get => AyaType.Quote; }
//workaround for notification
//workaround for notification
[NotMapped, JsonIgnore]
public string Name { get; set; }
public string Name
{
get
{
return this.Serial.ToString();
}
set => throw new System.NotImplementedException();
}
}//eoc

View File

@@ -116,7 +116,7 @@ namespace AyaNova.Models
public bool UserCanViewLoanerCosts { get; set; }
[NotMapped,JsonProperty(NullValueHandling=NullValueHandling.Ignore)]
[NotMapped, JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public AyaTypeId GenCopyAttachmentsFrom { get; set; }//INTERNAL, USED TO SIGNIFY ATTACHMENTS NEED TO BE COPIED ON SAVE
[NotMapped, JsonIgnore]
@@ -124,7 +124,14 @@ namespace AyaNova.Models
//workaround for notification
[NotMapped, JsonIgnore]
public string Name { get; set; }
public string Name
{
get
{
return this.Serial.ToString();
}
set => throw new System.NotImplementedException();
}
}//eoc