From 7da1354c9598887acff023e3686953d1fc8ce5a4 Mon Sep 17 00:00:00 2001 From: Ivan_Starostin Date: Wed, 1 May 2024 14:25:43 +0400 Subject: [PATCH] Upload files to 'STODataModels' --- STODataModels/ITechnicalWorkModel.cs | 17 +++++++++++++++++ STODataModels/IWorkModel.cs | 17 +++++++++++++++++ STODataModels/OrderStatus.cs | 11 +++++++++++ STODataModels/STODataModels.csproj | 14 ++++++++++++++ 4 files changed, 59 insertions(+) create mode 100644 STODataModels/ITechnicalWorkModel.cs create mode 100644 STODataModels/IWorkModel.cs create mode 100644 STODataModels/OrderStatus.cs create mode 100644 STODataModels/STODataModels.csproj diff --git a/STODataModels/ITechnicalWorkModel.cs b/STODataModels/ITechnicalWorkModel.cs new file mode 100644 index 0000000..b230521 --- /dev/null +++ b/STODataModels/ITechnicalWorkModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace STODataModels +{ + public interface ITechnicalWorkModel: IId + { + int Id { get; } + string Name { get; } + string Description { get;} + DateTime Date { get;} + Dictionary TechnicalworkWorks { get; } + } +} diff --git a/STODataModels/IWorkModel.cs b/STODataModels/IWorkModel.cs new file mode 100644 index 0000000..2c1cc60 --- /dev/null +++ b/STODataModels/IWorkModel.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace STODataModels +{ + public interface IWorkModel: IId + { + int Id { get; } + + string Name { get; } + int Time_duration { get; } + Dictionary CarParts { get; } + } +} diff --git a/STODataModels/OrderStatus.cs b/STODataModels/OrderStatus.cs new file mode 100644 index 0000000..69e65cd --- /dev/null +++ b/STODataModels/OrderStatus.cs @@ -0,0 +1,11 @@ +namespace STODataModels.Enums +{ + public enum OrderStatus + { + Неизвестен = -1, + Принят = 0, + Выполняется = 1, + Готов = 2, + Выдан = 3 + } +} diff --git a/STODataModels/STODataModels.csproj b/STODataModels/STODataModels.csproj new file mode 100644 index 0000000..49c0db7 --- /dev/null +++ b/STODataModels/STODataModels.csproj @@ -0,0 +1,14 @@ + + + + net6.0 + enable + enable + + + + + + + +