DbColumnInput.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // 大名科技(天津)有限公司 版权所有
  2. //
  3. // 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证
  4. //
  5. // 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动
  6. //
  7. // 任何基于本项目二次开发而产生的一切法律纠纷和责任,均与作者无关
  8. namespace Admin.NET.Core.Service;
  9. public class DbColumnInput
  10. {
  11. public string ConfigId { get; set; }
  12. public string TableName { get; set; }
  13. public string DbColumnName { get; set; }
  14. public string DataType { get; set; }
  15. public int Length { get; set; }
  16. public string ColumnDescription { get; set; }
  17. public int IsNullable { get; set; }
  18. public int IsIdentity { get; set; }
  19. public int IsPrimarykey { get; set; }
  20. public int DecimalDigits { get; set; }
  21. }
  22. public class UpdateDbColumnInput
  23. {
  24. public string ConfigId { get; set; }
  25. public string TableName { get; set; }
  26. public string ColumnName { get; set; }
  27. public string OldColumnName { get; set; }
  28. public string Description { get; set; }
  29. }
  30. public class DeleteDbColumnInput
  31. {
  32. public string ConfigId { get; set; }
  33. public string TableName { get; set; }
  34. public string DbColumnName { get; set; }
  35. }