using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace RobotNet10.RobotApp.Data; #nullable disable [Table("RobotVDA5050Config")] public class RobotVDA5050Config { [Column("Id", TypeName = "uniqueidentifier")] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Key] [Required] public Guid Id { get; set; } [Column("SerialNumber", TypeName = "nvarchar(64)")] [MaxLength(50)] public string SerialNumber { get; set; } [Column("VDA5050_TopicPrefix", TypeName = "nvarchar(64)")] [MaxLength(64)] public string VDA5050TopicPrefix { get; set; } [Column("VDA5050_Manufacturer", TypeName = "nvarchar(64)")] [MaxLength(50)] public string VDA5050Manufacturer { get; set; } [Column("VDA5050_Version", TypeName = "nvarchar(64)")] [MaxLength(20)] public string VDA5050Version { get; set; } [Column("VDA5050_HostServer", TypeName = "nvarchar(64)")] [MaxLength(100)] public string VDA5050HostServer { get; set; } [Column("VDA5050_Port", TypeName = "int")] public int VDA5050Port { get; set; } [Column("VDA5050_UserName", TypeName = "nvarchar(64)")] [MaxLength(50)] public string VDA5050UserName { get; set; } [Column("VDA5050_Password", TypeName = "nvarchar(64)")] [MaxLength(50)] public string VDA5050Password { get; set; } [Column("VDA5050_PublishRepeat", TypeName = "int")] public int VDA5050PublishRepeat { get; set; } [Column("VDA5050_EnablePassword", TypeName = "bit")] public bool VDA5050EnablePassword { get; set; } [Column("VDA5050_EnableTls", TypeName = "bit")] public bool VDA5050EnableTls { get; set; } [Column("VDA5050_EnableSSLSecure", TypeName = "bit")] public bool VDA5050EnableSSLSecure { get; set; } [Column("VDA5050_CA", TypeName = "nvarchar(64)")] public string VDA5050CA { get; set; } [Column("VDA5050_Cer", TypeName = "nvarchar(64)")] public string VDA5050Cer { get; set; } [Column("VDA5050_Key", TypeName = "nvarchar(64)")] public string VDA5050Key { get; set; } [Column("CreatedAt", TypeName = "datetime2")] public DateTime CreatedAt { get; set; } [Column("UpdatedAt", TypeName = "datetime2")] public DateTime UpdatedAt { get; set; } [Column("IsActive", TypeName = "bit")] public bool IsActive { get; set; } [Column("ConfigName", TypeName = "nvarchar(64)")] [MaxLength(100)] public string ConfigName { get; set; } [Column("Description", TypeName = "ntext")] [MaxLength(500)] public string Description { get; set; } }