namespace MyNewProjectName.Infrastructure.Options;

/// <summary>
/// Redis cache configuration options
/// </summary>
public class RedisOptions
{
    public const string SectionName = "Redis";

    /// <summary>
    /// Redis connection string
    /// </summary>
    public string ConnectionString { get; set; } = string.Empty;

    /// <summary>
    /// Redis instance name for key prefixing
    /// </summary>
    public string InstanceName { get; set; } = string.Empty;

    /// <summary>
    /// Default cache expiration time in minutes
    /// </summary>
    public int DefaultExpirationInMinutes { get; set; } = 30;
}
