24 lines
741 B
C#
24 lines
741 B
C#
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;
|
|
}
|
|
}
|
|
|