using System.ComponentModel.DataAnnotations;

namespace MyNewProjectName.Infrastructure.Options;

/// <summary>
/// Database connection configuration options
/// </summary>
public class DatabaseOptions
{
    public const string SectionName = "ConnectionStrings";

    /// <summary>
    /// Default database connection string
    /// </summary>
    [Required(ErrorMessage = "DefaultConnection is required")]
    public string DefaultConnection { get; set; } = string.Empty;
}
