feat(esppOrderManager): логика изменения статусов наряда. Добавлен проект с константами, вынес в него OrderStatusEnum. (EsppApi)Обновлена модель EsppOrder, при изменении статуса наряда, добавлено поле Решение.
This commit is contained in:
33
PARR.Constants/OrderStatusEnum.cs
Normal file
33
PARR.Constants/OrderStatusEnum.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
namespace PARR.Constants
|
||||
{
|
||||
/// <summary>
|
||||
/// Статус Наряда в ЕСПП
|
||||
/// </summary>
|
||||
public enum OrderStatusEnum
|
||||
{
|
||||
/// <summary>
|
||||
/// 1-Направлен в группу
|
||||
/// </summary>
|
||||
New = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 2-В работе
|
||||
/// </summary>
|
||||
InWork = 2,
|
||||
|
||||
/// <summary>
|
||||
/// 3-Приостановлен
|
||||
/// </summary>
|
||||
Stop = 3,
|
||||
|
||||
/// <summary>
|
||||
/// 4-Выполнен
|
||||
/// </summary>
|
||||
Complete = 4,
|
||||
|
||||
/// <summary>
|
||||
/// 5-Закрыт
|
||||
/// </summary>
|
||||
Closed = 5
|
||||
}
|
||||
}
|
||||
9
PARR.Constants/PARR.Constants.csproj
Normal file
9
PARR.Constants/PARR.Constants.csproj
Normal file
@@ -0,0 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user