using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AmrControl.DB.Models { /// /// 工位的数据模型 /// [Table("stations")] public class Station { [JsonIgnore] [Key] public long ID { get; set; } public string stationID { get; set; } public byte stationType { get; set; } public string displayName { get; set; } public bool enable { get; set; } public int positionX { get; set; } public int positionY { get; set; } public int displayX { get; set; } public int displayY { get; set; } } }