Base implementation of smart deploy for servers, order screen, subscription service

This commit is contained in:
Marcel Baumgartner
2023-04-03 21:23:27 +02:00
parent a41a929e7f
commit 2298bab71e
9 changed files with 287 additions and 9 deletions

View File

@@ -5,6 +5,12 @@ public class SubscriptionLimit
public string Identifier { get; set; } = "";
public int Amount { get; set; }
public List<LimitOption> Options { get; set; } = new();
public string? ReadValue(string key)
{
var d = Options.FirstOrDefault(x => string.Equals(x.Key, key, StringComparison.InvariantCultureIgnoreCase));
return d?.Value;
}
public class LimitOption
{