DbColumnInput.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. // 此源代码遵循位于源代码树根目录中的 LICENSE 文件的许可证。
  2. //
  3. // 必须在法律法规允许的范围内正确使用,严禁将其用于非法、欺诈、恶意或侵犯他人合法权益的目的。
  4. namespace Admin.NET.Core.Service;
  5. public class DbColumnInput
  6. {
  7. public string ConfigId { get; set; }
  8. public string TableName { get; set; }
  9. public string DbColumnName { get; set; }
  10. public string DataType { get; set; }
  11. public int Length { get; set; }
  12. public string ColumnDescription { get; set; }
  13. public int IsNullable { get; set; }
  14. public int IsIdentity { get; set; }
  15. public int IsPrimarykey { get; set; }
  16. public int DecimalDigits { get; set; }
  17. }
  18. public class UpdateDbColumnInput
  19. {
  20. public string ConfigId { get; set; }
  21. public string TableName { get; set; }
  22. public string ColumnName { get; set; }
  23. public string OldColumnName { get; set; }
  24. public string Description { get; set; }
  25. }
  26. public class DeleteDbColumnInput
  27. {
  28. public string ConfigId { get; set; }
  29. public string TableName { get; set; }
  30. public string DbColumnName { get; set; }
  31. }