Initial_commit_SecMPS_v2

This commit is contained in:
2026-05-15 23:22:48 +08:00
commit 23ea4fe05f
13830 changed files with 298675 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
namespace VolPro.Builder.Services;
public class TableColumnDto
{
public string ColumnName { get; set; } = string.Empty;
public string DataType { get; set; } = "nvarchar";
public int? Length { get; set; }
// decimal/numeric 的小数位scale
public int? Scale { get; set; }
public bool IsNullable { get; set; } = true;
public bool IsPrimaryKey { get; set; } = false;
public bool IsIdentity { get; set; } = false;
public string Comment { get; set; }
public int Order { get; set; }
public string DefaultValue { get; set; } = string.Empty;
/// <summary>
/// 数据库字段true=来自数据库false=新增)
/// </summary>
public bool IsDbField { get; set; }
/// <summary>
/// 原始字段名(用于区分重命名与删除:重命名时 OriginalColumnName 为旧名)
/// </summary>
public string OriginalColumnName { get; set; } = string.Empty;
}