Station.cs 710 B

12345678910111213141516171819202122232425
  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. /// </summary>
  9. [Table("stations")]
  10. public class Station
  11. {
  12. [JsonIgnore]
  13. [Key]
  14. public long ID { get; set; }
  15. public string stationID { get; set; }
  16. public byte stationType { get; set; }
  17. public string displayName { get; set; }
  18. public bool enable { get; set; }
  19. public int positionX { get; set; }
  20. public int positionY { get; set; }
  21. public int displayX { get; set; }
  22. public int displayY { get; set; }
  23. }
  24. }