diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2021-11-29 17:12:56 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2021-11-29 17:12:56 +0300 |
commit | 2afcbbf08c21aa7368361269f24240147aa79a00 (patch) | |
tree | 9f6494fb2f70d086059619c0dce6316b338b69ca /src/Assistant/Product.cs | |
parent | d176a023f06d70cb577e64d1a917e77d677d2a2b (diff) |
Организация директорий проекта
Diffstat (limited to 'src/Assistant/Product.cs')
-rw-r--r-- | src/Assistant/Product.cs | 21 |
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 |