Apigateway/Microservicios/MsUsuarios/Models/RabbitMQConfig.cs
2024-05-16 16:37:29 -05:00

25 lines
652 B
C#

using System.Diagnostics;
namespace MSAdminUsuarios.Models
{
public class RabbitMQConfig
{
public string HostName { get; set; } = null!;
public string UserName { get; set; } = null!;
public string Password { get; set; } = null!;
public int Port { get; set; }
public override string ToString()
{
if (Debugger.IsAttached)
{
return ($"HostName: {HostName},\n " +
$"UserName: {UserName},\n" +
$"Password: {Password},\n" +
$"Port: {Port}");
}
return "";
}
}
}