diff --git a/Confectionery/Confectionery.sln b/Confectionery/Confectionery.sln
index caabd78..d36799f 100644
--- a/Confectionery/Confectionery.sln
+++ b/Confectionery/Confectionery.sln
@@ -5,6 +5,8 @@ VisualStudioVersion = 17.5.33424.131
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Confectionery", "Confectionery\Confectionery.csproj", "{3FBA3531-D080-42B2-869B-AF42CCF9C770}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConfectioneryDataModels", "ConfectioneryDataModels\ConfectioneryDataModels.csproj", "{B1066AB3-A781-49D8-9629-DAEEB7AEB926}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -15,6 +17,10 @@ Global
{3FBA3531-D080-42B2-869B-AF42CCF9C770}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3FBA3531-D080-42B2-869B-AF42CCF9C770}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3FBA3531-D080-42B2-869B-AF42CCF9C770}.Release|Any CPU.Build.0 = Release|Any CPU
+ {B1066AB3-A781-49D8-9629-DAEEB7AEB926}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {B1066AB3-A781-49D8-9629-DAEEB7AEB926}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {B1066AB3-A781-49D8-9629-DAEEB7AEB926}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {B1066AB3-A781-49D8-9629-DAEEB7AEB926}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/Confectionery/ConfectioneryDataModels/Class1.cs b/Confectionery/ConfectioneryDataModels/Class1.cs
new file mode 100644
index 0000000..84cdc69
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/Class1.cs
@@ -0,0 +1,7 @@
+namespace ConfectioneryDataModels
+{
+ public class Class1
+ {
+
+ }
+}
\ No newline at end of file
diff --git a/Confectionery/ConfectioneryDataModels/ConfectioneryDataModels.csproj b/Confectionery/ConfectioneryDataModels/ConfectioneryDataModels.csproj
new file mode 100644
index 0000000..132c02c
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/ConfectioneryDataModels.csproj
@@ -0,0 +1,9 @@
+
+
+
+ net6.0
+ enable
+ enable
+
+
+
diff --git a/Confectionery/ConfectioneryDataModels/IComponentModel.cs b/Confectionery/ConfectioneryDataModels/IComponentModel.cs
new file mode 100644
index 0000000..534429e
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/IComponentModel.cs
@@ -0,0 +1,14 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ConfectioneryDataModels.Models
+{
+ public interface IComponentModel : IId
+ {
+ string ComponentName { get; }
+ double Cost { get; }
+ }
+}
diff --git a/Confectionery/ConfectioneryDataModels/IId.cs b/Confectionery/ConfectioneryDataModels/IId.cs
new file mode 100644
index 0000000..fc8cada
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/IId.cs
@@ -0,0 +1,13 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ConfectioneryDataModels
+{
+ public interface IId
+ {
+ int Id { get; }
+ }
+}
diff --git a/Confectionery/ConfectioneryDataModels/IOrderModel.cs b/Confectionery/ConfectioneryDataModels/IOrderModel.cs
new file mode 100644
index 0000000..3eed2d5
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/IOrderModel.cs
@@ -0,0 +1,19 @@
+using ConfectioneryDataModels.Enums;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ConfectioneryDataModels.Models
+{
+ public interface IOrderModel : IId
+ {
+ int ProductId { get; }
+ int Count { get; }
+ double Sum { get; }
+ OrderStatus Status { get; }
+ DateTime DateCreate { get; }
+ DateTime? DateImplement { get; }
+ }
+}
diff --git a/Confectionery/ConfectioneryDataModels/IPastryModel.cs b/Confectionery/ConfectioneryDataModels/IPastryModel.cs
new file mode 100644
index 0000000..2f91f56
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/IPastryModel.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ConfectioneryDataModels.Models
+{
+ internal interface IPastryModel : IId
+ {
+ string PastryName { get; }
+ double Price { get; }
+ Dictionary ProductComponents { get; }
+ }
+}
diff --git a/Confectionery/ConfectioneryDataModels/OrderStatus.cs b/Confectionery/ConfectioneryDataModels/OrderStatus.cs
new file mode 100644
index 0000000..3dd1034
--- /dev/null
+++ b/Confectionery/ConfectioneryDataModels/OrderStatus.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ConfectioneryDataModels.Enums
+{
+ public enum OrderStatus
+ {
+ Неизвестен = -1,
+ Принят = 0,
+ Выполняется = 1,
+ Готов = 2,
+ Выдан = 3
+ }
+}