You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
798 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace Common.Entity
{
/// <summary>
/// 缓存配置实体类
/// </summary>
public class CacheProvider
{
/// <summary>
/// 是否使用reids
/// </summary>
public bool IsUserRedis { get; set; }
/// <summary>
/// reids连接host
/// </summary>
public string Redis_Host { get; set; }
/// <summary>
/// 密码
/// </summary>
public string Passwrod { get; set; }
/// <summary>
/// 端口号
/// </summary>
public int Poit { get; set; } =6379;
/// <summary>
/// redis实例名称
/// </summary>
public string Redis_InstanceName{get;set;}
}
}