using System.ComponentModel.DataAnnotations; namespace Safeguard.Dtos { public class HostMqttInfoDto { [Required] public string? IPAddress { get; set; } [Required] public int? Port { get; set; } } }