feat(esppApi): метод FindOrdersAsync поиска нарядов в АСУ ЕСПП по свойствам
This commit is contained in:
@@ -1,12 +1,23 @@
|
||||
namespace PARR.EsppApi.Models
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace PARR.EsppApi.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Модель наряда из еспп
|
||||
/// </summary>
|
||||
public class EsppOrder
|
||||
{
|
||||
[JsonPropertyName("recordid")]
|
||||
public string Number { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("assignment")]
|
||||
public string? WorkGroup { get; set; }
|
||||
[JsonPropertyName("status")]
|
||||
public string Status { get; set; } = string.Empty;
|
||||
[JsonPropertyName("title")]
|
||||
public string ShortName { get; set; } = string.Empty;
|
||||
[JsonPropertyName("templateName")]
|
||||
public string TemplateName { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user