feat(api): список нарядов постранично
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user