123456789101112131415161718192021222324 |
- using Newtonsoft.Json;
- using System.ComponentModel.DataAnnotations;
- using System.ComponentModel.DataAnnotations.Schema;
- namespace AmrControl.DB.Models
- {
- /// <summary>
- /// 物料的数据库模型
- /// </summary>
- [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; }
- }
- }
|