using System;
namespace Jellyfin.Server.Implementations.DatabaseConfiguration;
///
/// Options specific to run jellyfin on a postgreSql database.
///
public class PostgreSqlOptions
{
///
/// Gets or Sets the Port. Defaults to 5432.
///
public required int Port { get; set; } = 5432;
///
/// Gets or Sets the Server name.
///
public required string ServerName { get; set; }
///
/// Gets or Sets the username.
///
public required string Username { get; set; }
///
/// Gets or Sets the password.
///
public required string Password { get; set; }
///
/// Gets or Sets the database name. Defaults to "Jellyfin".
///
public string DatabaseName { get; set; } = "Jellyfin";
///
/// Gets or Sets the timeout in secounds before a running command is terminated. Defaults to 30.
///
public int Timeout { get; set; } = 30;
}