26ff8d9b4f
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
36 lines
847 B
C#
36 lines
847 B
C#
namespace JdeScoping.Core.Models.Infrastructure;
|
|
|
|
/// <summary>
|
|
/// Database column specification
|
|
/// </summary>
|
|
public class ColumnSpec
|
|
{
|
|
/// <summary>
|
|
/// Column name
|
|
/// </summary>
|
|
public string Name { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Column definition (SQL type and constraints)
|
|
/// </summary>
|
|
public string Definition { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Default constructor
|
|
/// </summary>
|
|
public ColumnSpec()
|
|
{
|
|
}
|
|
|
|
/// <summary>
|
|
/// Constructor with name and definition
|
|
/// </summary>
|
|
/// <param name="name">Column name</param>
|
|
/// <param name="definition">Column definition</param>
|
|
public ColumnSpec(string name, string definition)
|
|
{
|
|
Name = name;
|
|
Definition = definition;
|
|
}
|
|
}
|