添加设备实体
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
using JNPF.DependencyInjection;
|
||||
using SqlSugar;
|
||||
|
||||
namespace JNPF.Systems.Entitys.Dto.Database;
|
||||
|
||||
/// <summary>
|
||||
/// 数据库表列表输出.
|
||||
/// </summary>
|
||||
[SuppressSniffer]
|
||||
public class DatabaseTableInfo
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
DbTableInfo table { get; set; }
|
||||
|
||||
List<DbColumnInfo> columns { get; set; }
|
||||
|
||||
public string clsName { get; set; } = string.Empty;
|
||||
|
||||
public string nsName { get; set; } = "Tnb.Entities";
|
||||
|
||||
public string pkType { get; set; } = "string";
|
||||
|
||||
public string pkName { get; set; } = "id";
|
||||
|
||||
public string GetColumnDefaultValue(string colName)
|
||||
{
|
||||
return "default";
|
||||
}
|
||||
public string GetColumnCsType(string colName)
|
||||
{
|
||||
return "default";
|
||||
}
|
||||
public string GetColumnCsName(string colName)
|
||||
{
|
||||
return "default";
|
||||
}
|
||||
public string GetColumnAttrib(string colName)
|
||||
{
|
||||
return "default";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user