case 4504

This commit is contained in:
2023-04-14 19:32:08 +00:00
parent b6858145d5
commit 11c7637d4e
5 changed files with 131 additions and 7 deletions

View File

@@ -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; }