Storage.cs 543 B

12345678910111213141516171819202122
  1. using Newtonsoft.Json;
  2. using System.ComponentModel.DataAnnotations;
  3. using System.ComponentModel.DataAnnotations.Schema;
  4. namespace AmrControl.DB.Models
  5. {
  6. /// <summary>
  7. /// 仓储的数据模型
  8. ///
  9. /// </summary>
  10. [Table("storage")]
  11. public class Storage
  12. {
  13. [JsonIgnore]
  14. [Key]
  15. public long ID { get; set; }
  16. public string locationID { get; set; }
  17. public int positionX { get; set; }
  18. public int positionY { get; set; }
  19. public int positionZ { get; set; }
  20. }
  21. }