米其林项目Giraf的新接口,采用WebAPI形式,会应用在上海玉兰及波兰米其林项目中
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.8 KiB

namespace WMS_GIRAF_Interface.Models;
public class InputRequest
{
public class RootObject
{
/// <summary>
/// Identifier of the ASRS
/// </summary>
public string asrsIdentifier { get; set; }
/// <summary>
/// Application that sent the request
/// </summary>
public string sender { get; set; }
/// <summary>
/// Identifier of the input request (unique per sender)
/// </summary>
public string inputRequestId { get; set; }
/// <summary>
/// Type of item to insert(lot number)
/// </summary>
public string sku { get; set; }
/// <summary>
/// Post where the item will be dropped
/// </summary>
public string? introductionPost { get; set; }
/// <summary>
/// Possible posts where the item could be dropped
/// </summary>
public string[]? availableIntroductionPosts { get; set; }
/// <summary>
/// Support information
/// </summary>
public Support? support { get; set; }
/// <summary>
/// Products information
/// </summary>
public List<Product> products { get; set; }
}
/// <summary>
/// Support information
/// </summary>
public class Support
{
/// <summary>
/// type of support
/// </summary>
public string type { get; set; }
/// <summary>
/// identifier of support
/// </summary>
public string? identifier { get; set; }
/// <summary>
/// if support is blocked
/// </summary>
public bool IsBlocked { get; set; }
}
/// <summary>
/// product information
/// </summary>
public class Product
{
/// <summary>
/// tire barcode
/// </summary>
public string identifier { get; set; }
/// <summary>
/// if product is blocked
/// </summary>
public bool isBlocked { get; set; }
/// <summary>
/// if product is priority
/// </summary>
public bool isPriority { get; set; }
/// <summary>
/// population number
/// </summary>
public string? productClass { get; set; }
/// <summary>
/// fabrication date
/// </summary>
public DateTime? fabricationDate { get; set; }
/// <summary>
/// dry date
/// </summary>
public DateTime? maturationDate { get; set; }
/// <summary>
/// old time
/// </summary>
public DateTime? expirationDate { get; set; }
/// <summary>
/// <summary>
/// high priority date
/// </summary>
public DateTime? highPriorityDate { get; set; }
}
}