44 lines
1.2 KiB
C#
44 lines
1.2 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using Newtonsoft.Json;
|
|
namespace MisDataSaveDate.MOM
|
|
{
|
|
public class MaterialInfoSave
|
|
{
|
|
[JsonProperty("data")]
|
|
public List<Material> Data { get; set; }
|
|
}
|
|
|
|
public class Material
|
|
{
|
|
[JsonProperty("materialID")]
|
|
public string MaterialID { get; set; }
|
|
|
|
[JsonProperty("materialCode")]
|
|
public string MaterialCode { get; set; }
|
|
|
|
[JsonProperty("materialName")]
|
|
public string MaterialName { get; set; }
|
|
|
|
[JsonProperty("unitOfMeasure")]
|
|
public string UnitOfMeasure { get; set; }
|
|
|
|
[JsonProperty("materialCategory")]
|
|
public string MaterialCategory { get; set; }
|
|
|
|
[JsonProperty("materialSpec")]
|
|
public string MaterialSpec { get; set; }
|
|
|
|
[JsonProperty("materialModel")]
|
|
public string MaterialModel { get; set; }
|
|
|
|
[JsonProperty("materialDescription")]
|
|
public string MaterialDescription { get; set; }
|
|
|
|
[JsonProperty("createTime")]
|
|
public string CreateTime { get; set; }
|
|
|
|
[JsonProperty("lastModifyTime")]
|
|
public string LastModifyTime { get; set; }
|
|
}
|
|
} |