using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AmrControl.DB.Models { /// /// 物料的数据库模型 /// [Table("materials")] public class Material { [JsonIgnore] [Key] public long ID { get; set; } public string locationID { get; set; } public string materialID { get; set; } public string materialType { get; set; } public int quantity { get; set; } public string jsonPars { get; set; } } }