case 4504
This commit is contained in:
@@ -14,10 +14,9 @@ namespace Sockeye.Models
|
||||
public long Id { get; set; }
|
||||
public uint Concurrency { get; set; }
|
||||
|
||||
[Required]
|
||||
public string Name { get; set; }
|
||||
public string Subsite { get; set; } //always null unless customer has multiple sites with same pgroup type subscription
|
||||
public bool Active { get; set; }
|
||||
[Required]
|
||||
[Required]
|
||||
public ProductGroup PGroup { get; set; }
|
||||
public long CustomerId { get; set; }
|
||||
[NotMapped]
|
||||
@@ -28,6 +27,10 @@ namespace Sockeye.Models
|
||||
|
||||
public List<SubscriptionItem> Items { get; set; } = new List<SubscriptionItem>();
|
||||
|
||||
//workaround for notification
|
||||
[NotMapped, JsonIgnore]
|
||||
public string Name { get; set; }
|
||||
|
||||
[NotMapped, JsonIgnore]
|
||||
public SockType SType { get => SockType.Subscription; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user