SqlSugar/Src/Asp.NetCore2/SqlSeverTest/SqlSugar/Entities/DbTableInfo.cs

35 lines
1015 B
C#
Raw Normal View History

2017-08-24 15:18:53 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SqlSugar
{
public class DbTableInfo
{
public string Name { get; set; }
public string Description { get; set; }
public DbObjectType DbObjectType { get; set; }
}
2019-05-17 22:26:30 +08:00
public class RazorTableInfo
{
public string DbTableName { get; set; }
public string ClassName { get; set; }
public string Description { get; set; }
public DbObjectType DbObjectType { get; set; }
public List<RazorColumnInfo> Columns { get; set; }
}
public class RazorColumnInfo {
public string DbColumnName { get; set; }
public string DataType { get; set; }
public int Length { get; set; }
public string ColumnDescription { get; set; }
public string DefaultValue { get; set; }
public bool IsNullable { get; set; }
public bool IsIdentity { get; set; }
public bool IsPrimarykey { get; set; }
}
2017-08-24 15:18:53 +08:00
}