using System.ComponentModel.DataAnnotations;
namespace Mirea.Api.Dto.Requests.Configuration;
///
/// Represents a request to configure cache settings.
///
public class CacheRequest
{
///
/// Gets or sets the server address.
///
[Required]
public required string Server { get; set; }
///
/// Gets or sets the port number.
///
[Required]
public int Port { get; set; }
///
/// Gets or sets the password.
///
public string? Password { get; set; }
}