using Mirea.Api.Dto.Common;
namespace Mirea.Api.Dto.Responses.Configuration;
///
/// Represents a response containing database configuration details.
///
public class DatabaseResponse
{
///
/// Gets or sets the type of database.
///
public DatabaseType Type { get; set; }
///
/// Gets or sets the server address.
///
public string? Server { get; set; }
///
/// Gets or sets the port number.
///
public int Port { get; set; }
///
/// Gets or sets the database name.
///
public string? Database { get; set; }
///
/// Gets or sets the username.
///
public string? User { get; set; }
///
/// Gets or sets a value indicating whether SSL is enabled.
///
public bool Ssl { get; set; }
///
/// Gets or sets the password.
///
public string? Password { get; set; }
///
/// Gets or sets the path to database. Only for Sqlite
///
public string? PathToDatabase { get; set; }
}