Upload files to 'STODataModels'
This commit is contained in:
parent
27edc9e0f0
commit
7da1354c95
17
STODataModels/ITechnicalWorkModel.cs
Normal file
17
STODataModels/ITechnicalWorkModel.cs
Normal 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; }
|
||||
}
|
||||
}
|
17
STODataModels/IWorkModel.cs
Normal file
17
STODataModels/IWorkModel.cs
Normal 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; }
|
||||
}
|
||||
}
|
11
STODataModels/OrderStatus.cs
Normal file
11
STODataModels/OrderStatus.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace STODataModels.Enums
|
||||
{
|
||||
public enum OrderStatus
|
||||
{
|
||||
Неизвестен = -1,
|
||||
Принят = 0,
|
||||
Выполняется = 1,
|
||||
Готов = 2,
|
||||
Выдан = 3
|
||||
}
|
||||
}
|
14
STODataModels/STODataModels.csproj
Normal file
14
STODataModels/STODataModels.csproj
Normal 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>
|
Loading…
Reference in New Issue
Block a user