aboutsummaryrefslogtreecommitdiff
path: root/src/Assistant/Product.cs
diff options
context:
space:
mode:
authorSergey Chebotar <s.chebotar@gmail.com>2021-11-29 17:12:56 +0300
committerSergey Chebotar <s.chebotar@gmail.com>2021-11-29 17:12:56 +0300
commit2afcbbf08c21aa7368361269f24240147aa79a00 (patch)
tree9f6494fb2f70d086059619c0dce6316b338b69ca /src/Assistant/Product.cs
parentd176a023f06d70cb577e64d1a917e77d677d2a2b (diff)
Организация директорий проекта
Diffstat (limited to 'src/Assistant/Product.cs')
-rw-r--r--src/Assistant/Product.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Assistant/Product.cs b/src/Assistant/Product.cs
new file mode 100644
index 0000000..17a7065
--- /dev/null
+++ b/src/Assistant/Product.cs
@@ -0,0 +1,21 @@
+namespace Rehau.Sku.Assist
+{
+ public class Product : IProduct
+ {
+ public string Sku { get; }
+ public string Name { get; }
+
+ public string Uri => throw new System.NotImplementedException();
+
+ public Product(string sku, string name)
+ {
+ Sku = sku;
+ Name = name;
+ }
+
+ public override string ToString()
+ {
+ return $"{this.Name} ({this.Sku})";
+ }
+ }
+} \ No newline at end of file