using Newtonsoft.Json; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace AmrControl.DB.Models { /// /// 小车的数据库模型 /// [Table("jgrs")] public class JGR { [JsonIgnore] [Key] public long ID { get; set; } public string jgrSN { get; set; } public byte jgrType { get; set; } public byte jgrID { get; set; } public ushort rcAddr { get; set; } public byte rcFreqCode { 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; } } }