feat(api): список нарядов постранично

This commit is contained in:
Mikhail Trubnikov
2024-02-26 09:20:13 +10:00
parent e6cfdd2c9c
commit 57fdb4e2bc
4 changed files with 96 additions and 2 deletions

View File

@@ -211,6 +211,17 @@ namespace PARR.API.Contracts.V1
#endregion
#region Наряды
public static class Order
{
public const string GetAll = Base + "/orders/";
public const string getParam = "{id}";
}
#endregion
}
}

View File

@@ -15,5 +15,22 @@
public class OrderResponse : OrderResponseBase
{
public DateTimeOffset DateCreated { get; set; }
public string? WorkGroup { get; set; }
public Guid? TemplateId { get; set; }
public string TemplateName { get; set; } = string.Empty;
public OrderStatusResponse? Status { get; set; }
public OrderStatusResponse? NextStatus { get; set; }
public string ShortName { get; set; } = string.Empty;
public DateTimeOffset? GenerateDate { get; set; }
public DateTimeOffset ExpirationDate { get; set; }
}
}