DbColumnInput.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // 麻省理工学院许可证
  2. //
  3. // 版权所有 (c) 2021-2023 zuohuaijun,大名科技(天津)有限公司 联系电话/微信:18020030720 QQ:515096995
  4. //
  5. // 特此免费授予获得本软件的任何人以处理本软件的权利,但须遵守以下条件:在所有副本或重要部分的软件中必须包括上述版权声明和本许可声明。
  6. //
  7. // 软件按“原样”提供,不提供任何形式的明示或暗示的保证,包括但不限于对适销性、适用性和非侵权的保证。
  8. // 在任何情况下,作者或版权持有人均不对任何索赔、损害或其他责任负责,无论是因合同、侵权或其他方式引起的,与软件或其使用或其他交易有关。
  9. namespace Admin.NET.Core.Service;
  10. public class DbColumnInput
  11. {
  12. public string ConfigId { get; set; }
  13. public string TableName { get; set; }
  14. public string DbColumnName { get; set; }
  15. public string DataType { get; set; }
  16. public int Length { get; set; }
  17. public string ColumnDescription { get; set; }
  18. public int IsNullable { get; set; }
  19. public int IsIdentity { get; set; }
  20. public int IsPrimarykey { get; set; }
  21. public int DecimalDigits { get; set; }
  22. }
  23. public class UpdateDbColumnInput
  24. {
  25. public string ConfigId { get; set; }
  26. public string TableName { get; set; }
  27. public string ColumnName { get; set; }
  28. public string OldColumnName { get; set; }
  29. public string Description { get; set; }
  30. }
  31. public class DeleteDbColumnInput
  32. {
  33. public string ConfigId { get; set; }
  34. public string TableName { get; set; }
  35. public string DbColumnName { get; set; }
  36. }