米其林项目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.

39 lines
1.0 KiB

namespace WMS_GIRAF_Interface.Models;
public class GetStock
{
public class RootObject
{
public StockInfo[] stockInfos { get; set; }
}
public class StockInfo
{
public string sku { get; set; }
public string storageAddress { get; set; }
public Support support { get; set; }
public Product[] products { get; set; }
}
public class Support
{
public string type { get; set; }
public string identifier { get; set; }
public bool IsBlocked { get; set; }
}
public class Product
{
public string identifier { get; set; }
public bool isBlocked { get; set; }
public bool isPriority { get; set; }
public string productClass { get; set; }
public DateTime fabricationDate { get; set; }
public DateTime maturationDate { get; set; }
public DateTime expirationDate { get; set; }
public DateTime highPriorityDate { get; set; }
public bool IsAccessible { get; set; }
}
}