diff --git a/Bank/Bank.sln b/Bank/Bank.sln index 7c07d64..fffc74a 100644 --- a/Bank/Bank.sln +++ b/Bank/Bank.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.9.34723.18 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BankDataModels", "BankDataModels\BankDataModels.csproj", "{B74F0734-6D5B-41D5-AF9B-23CF7535C52F}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BankDataModels", "BankDataModels\BankDataModels.csproj", "{B74F0734-6D5B-41D5-AF9B-23CF7535C52F}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BankContracts", "BankContracts\BankContracts.csproj", "{59CDEA88-47C6-434D-84C6-40390E267858}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -15,6 +17,10 @@ Global {B74F0734-6D5B-41D5-AF9B-23CF7535C52F}.Debug|Any CPU.Build.0 = Debug|Any CPU {B74F0734-6D5B-41D5-AF9B-23CF7535C52F}.Release|Any CPU.ActiveCfg = Release|Any CPU {B74F0734-6D5B-41D5-AF9B-23CF7535C52F}.Release|Any CPU.Build.0 = Release|Any CPU + {59CDEA88-47C6-434D-84C6-40390E267858}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {59CDEA88-47C6-434D-84C6-40390E267858}.Debug|Any CPU.Build.0 = Debug|Any CPU + {59CDEA88-47C6-434D-84C6-40390E267858}.Release|Any CPU.ActiveCfg = Release|Any CPU + {59CDEA88-47C6-434D-84C6-40390E267858}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/Bank/BankContracts/BankContracts.csproj b/Bank/BankContracts/BankContracts.csproj new file mode 100644 index 0000000..b3f6eb7 --- /dev/null +++ b/Bank/BankContracts/BankContracts.csproj @@ -0,0 +1,17 @@ + + + + net6.0 + enable + enable + + + + + + + + + + + diff --git a/Bank/BankDataModels/Models/IRequestModel.cs b/Bank/BankDataModels/Models/IRequestModel.cs index fd180ce..6f3043e 100644 --- a/Bank/BankDataModels/Models/IRequestModel.cs +++ b/Bank/BankDataModels/Models/IRequestModel.cs @@ -10,5 +10,6 @@ namespace BankDataModels.Models { int Sum { get; set; } DateTime RequestTime { get; set; } + RequestStatus Status { get; set; } } } diff --git a/Bank/BankDataModels/Models/RequestStatus.cs b/Bank/BankDataModels/Models/RequestStatus.cs new file mode 100644 index 0000000..c595274 --- /dev/null +++ b/Bank/BankDataModels/Models/RequestStatus.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BankDataModels.Models +{ + public enum RequestStatus + { + Неизвестен = -1, + Принята = 0, + Отклонена = 1, + Выполнена = 2 + } +}