Files
BuYuHouDuan/Infrastructure/RedisHelper/RedisConfig.cs
T

18 lines
449 B
C#
Raw Normal View History

2026-10-12 16:22:04 +08:00
namespace RedisHelper
{
public class RedisConfig
{
public string Host { get; set; }
public int Port { get; set; }
public string Password { get; set; }
public string UserName { get; set; } = "";
public int Database { get; set; }
public override string ToString()
{
return $"Server={Host}:{Port};Password={Password};UserName={UserName};Db={Database}";
}
}
}