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