diff options
Diffstat (limited to 'src/main.lib/DomainObjects/Order.cs')
-rw-r--r-- | src/main.lib/DomainObjects/Order.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/main.lib/DomainObjects/Order.cs b/src/main.lib/DomainObjects/Order.cs new file mode 100644 index 0000000..cb7cdc5 --- /dev/null +++ b/src/main.lib/DomainObjects/Order.cs @@ -0,0 +1,25 @@ +using acme = ACMESharp.Protocol; + +namespace PKISharp.WACS.DomainObjects +{ + public class Order + { + public string? CacheKeyPart { get; set; } + public string? FriendlyNamePart { get; set; } + public Target Target { get; set; } + public Renewal Renewal { get; set; } + public acme.OrderDetails? Details { get; set; } = null; + + public Order( + Renewal renewal, + Target target, + string? cacheKeyPart = null, + string? friendlyNamePart = null) + { + Target = target; + Renewal = renewal; + CacheKeyPart = cacheKeyPart; + FriendlyNamePart = friendlyNamePart; + } + } +} |