This commit is contained in:
@@ -7,17 +7,17 @@ using Newtonsoft.Json;
|
||||
|
||||
namespace AyaNova.Models
|
||||
{
|
||||
|
||||
|
||||
public class CustomerNote
|
||||
public class CustomerNote
|
||||
{
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
[Required]
|
||||
public long CustomerId { get; set; }
|
||||
[Required]
|
||||
public long UserId { get; set; }
|
||||
[Required]
|
||||
public DateTime NoteDate { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public string Notes { get; set; }
|
||||
public List<string> Tags { get; set; }
|
||||
|
||||
|
||||
@@ -30,7 +30,10 @@ namespace AyaNova.Models
|
||||
[NotMapped, JsonIgnore]
|
||||
public AyaType AyaType { get => AyaType.CustomerNote; }
|
||||
|
||||
[JsonIgnore]//hide from being returned (as null anyway) with User object in routes
|
||||
[JsonIgnore]
|
||||
public Customer Customer { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public User User { get; set; }
|
||||
|
||||
}//eoc
|
||||
|
||||
Reference in New Issue
Block a user