Upload files to 'STODataModels'

This commit is contained in:
Ivan_Starostin 2024-05-01 14:25:43 +04:00
parent 27edc9e0f0
commit 7da1354c95
4 changed files with 59 additions and 0 deletions

View File

@ -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<int, (IWorkModel, int)> TechnicalworkWorks { get; }
}
}

View File

@ -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<int, (ICarPartModel, int)> CarParts { get; }
}
}

View File

@ -0,0 +1,11 @@
namespace STODataModels.Enums
{
public enum OrderStatus
{
Неизвестен = -1,
Принят = 0,
Выполняется = 1,
Готов = 2,
Выдан = 3
}
}

View File

@ -0,0 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NLog" Version="5.2.8" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.8" />
</ItemGroup>
</Project>