using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace RobotNet10.RobotApp.Data; #nullable disable [Table("DockStationMarkerEntry")] public class DockStationMarkerEntry { [Column("Id", TypeName = "uniqueidentifier")] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key] [Required] public Guid Id { get; set; } [Column("DockStationConfigId", TypeName = "uniqueidentifier")] [Required] public Guid DockStationConfigId { get; set; } [ForeignKey(nameof(DockStationConfigId))] public DockStationConfig DockStationConfig { get; set; } [Column("MarkerId", TypeName = "nvarchar(128)")] [Required] [MaxLength(128)] public string MarkerId { get; set; } [Column("Type", TypeName = "int")] public int Type { get; set; } [Column("Priority", TypeName = "int")] public int Priority { get; set; } [Column("DeviceId", TypeName = "nvarchar(128)")] [MaxLength(128)] public string DeviceId { get; set; } [Column("Code", TypeName = "nvarchar(256)")] [MaxLength(256)] public string Code { get; set; } [Column("ReferencePointsJson", TypeName = "ntext")] public string ReferencePointsJson { get; set; } }