Initial commit: JDE Scoping Tool migration project
Set up repository with legacy .NET Framework 4.8 source (OLD/), new .NET 10 Blazor solution (NEW/), OpenSpec specifications, documentation, and project configuration.
This commit is contained in:
Executable
+44
@@ -0,0 +1,44 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace WorkerService.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Database table specification
|
||||
/// </summary>
|
||||
public class TableSpec
|
||||
{
|
||||
/// <summary>
|
||||
/// Table name
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Data staging table name
|
||||
/// </summary>
|
||||
public string StagingTableName => $"#Staging{Name}";
|
||||
|
||||
/// <summary>
|
||||
/// Temporary table name
|
||||
/// </summary>
|
||||
public string TempTableName => $"#{Name}";
|
||||
|
||||
/// <summary>
|
||||
/// Table columns
|
||||
/// </summary>
|
||||
public List<ColumnSpec> Columns { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Table columns that form the primary key
|
||||
/// </summary>
|
||||
public List<ColumnSpec> PrimaryKey { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Constructor
|
||||
/// </summary>
|
||||
public TableSpec()
|
||||
{
|
||||
Columns = new List<ColumnSpec>();
|
||||
PrimaryKey = new List<ColumnSpec>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user