aboutsummaryrefslogtreecommitdiff
path: root/src/PriceListTools/PriceListPosition.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2022-01-26 17:41:46 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2022-01-26 17:41:46 +0300
commit4a2ca16d8b4aa34041adb558b2db91709908aff5 (patch)
treecae92d48ebca2cd696a176ed61055a385cf20e93 /src/PriceListTools/PriceListPosition.cs
parentd688578a46e3a3383371c1df952fa2898c828a9a (diff)
Watch only current sheets in files
Diffstat (limited to 'src/PriceListTools/PriceListPosition.cs')
-rw-r--r--src/PriceListTools/PriceListPosition.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/PriceListTools/PriceListPosition.cs b/src/PriceListTools/PriceListPosition.cs
new file mode 100644
index 0000000..30be153
--- /dev/null
+++ b/src/PriceListTools/PriceListPosition.cs
@@ -0,0 +1,23 @@
+using RehauSku.Assistant;
+using System;
+
+namespace RehauSku.PriceListTools
+{
+ internal class PriceListPosition
+ {
+ public readonly string Group;
+ public readonly string Sku;
+
+ public PriceListPosition(string group, string sku)
+ {
+ if (!sku.IsRehauSku())
+ throw new ArgumentException("Wrong SKU");
+
+ else
+ {
+ Group = group;
+ Sku = sku;
+ }
+ }
+ }
+}