From 1c086e4d643f8b5d9f668fc236bbdaf049349096 Mon Sep 17 00:00:00 2001 From: VictoriaPresnyakova Date: Sun, 5 Feb 2023 17:41:50 +0400 Subject: [PATCH] 1 --- .../AbstractJewelryStoreModels.csproj | 6 +++++- AbstractShopDataModels/Enums/OrderStatus.cs | 17 ++++++++--------- AbstractShopDataModels/IId.cs | 6 +++--- 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/AbstractShopDataModels/AbstractJewelryStoreModels.csproj b/AbstractShopDataModels/AbstractJewelryStoreModels.csproj index 132c02c..962b8f6 100644 --- a/AbstractShopDataModels/AbstractJewelryStoreModels.csproj +++ b/AbstractShopDataModels/AbstractJewelryStoreModels.csproj @@ -1,4 +1,4 @@ - + net6.0 @@ -6,4 +6,8 @@ enable + + + + diff --git a/AbstractShopDataModels/Enums/OrderStatus.cs b/AbstractShopDataModels/Enums/OrderStatus.cs index 8a79b8a..9d31f15 100644 --- a/AbstractShopDataModels/Enums/OrderStatus.cs +++ b/AbstractShopDataModels/Enums/OrderStatus.cs @@ -1,12 +1,11 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; - -namespace AbstractJewelryStoreModels.Enums +namespace AbstractShopDataModels.Enums { - internal class OrderStatus + public enum OrderStatus { + Неизвестен = -1, + Принят = 0, + Выполняется = 1, + Готов = 2, + Выдан = 3 } -} +} \ No newline at end of file diff --git a/AbstractShopDataModels/IId.cs b/AbstractShopDataModels/IId.cs index 1c7b0a7..2fd8bde 100644 --- a/AbstractShopDataModels/IId.cs +++ b/AbstractShopDataModels/IId.cs @@ -1,7 +1,7 @@ namespace AbstractShopDataModels { - public class Class1 + public interface IId { - + int Id { get; } } -} \ No newline at end of file +}