namespace Strata.SqlTools.EFCore.Models;
///
/// Represents a query parameter entity for use with Entity Framework Core.
/// Stores query parameter names and their values with type information.
///
public class QueryParameterEntity
{
///
/// Gets or sets the unique identifier for this parameter.
///
public int Id { get; set; }
///
/// Gets or sets the identifier of the parent query breakdown entity.
///
public int QueryBreakdownEntityId { get; set; }
///
/// Gets or sets the parameter name (e.g., "@ParameterName" or "ParameterName").
///
public string ParameterName { get; set; } = string.Empty;
///
/// Gets or sets the parameter value as a string representation.
///
public string? ParameterValue { get; set; }
///
/// Gets or sets the CLR type name of the parameter value for deserialization.
///
public string? ParameterTypeName { get; set; }
///
/// Navigation property to the parent QueryBreakdownEntity.
///
public virtual QueryBreakdownEntity? QueryBreakdownEntity { get; set; }
}