DbTableInfo.cs 1015 B

12345678910111213141516171819202122232425262728293031323334
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace SqlSugar
  6. {
  7. public class DbTableInfo
  8. {
  9. public string Name { get; set; }
  10. public string Description { get; set; }
  11. public DbObjectType DbObjectType { get; set; }
  12. }
  13. public class RazorTableInfo
  14. {
  15. public string DbTableName { get; set; }
  16. public string ClassName { get; set; }
  17. public string Description { get; set; }
  18. public DbObjectType DbObjectType { get; set; }
  19. public List<RazorColumnInfo> Columns { get; set; }
  20. }
  21. public class RazorColumnInfo {
  22. public string DbColumnName { get; set; }
  23. public string DataType { get; set; }
  24. public int Length { get; set; }
  25. public string ColumnDescription { get; set; }
  26. public string DefaultValue { get; set; }
  27. public bool IsNullable { get; set; }
  28. public bool IsIdentity { get; set; }
  29. public bool IsPrimarykey { get; set; }
  30. }
  31. }