JsonTableConfig.cs 830 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace SqlSugar
  5. {
  6. public class JsonTableConfig
  7. {
  8. public string TableName { get; set; }
  9. public string TableDescription { get; set; }
  10. public List<IConditionalModel> Conditionals { get; set; }
  11. public bool? AllowQuery { get; set; }
  12. public bool? AllowUpdate { get; set; }
  13. public bool? AllowDelete { get; set; }
  14. public bool? AllowInsert { get; set; }
  15. public List<JsonColumnConfig> Columns { get; set; }
  16. }
  17. public class JsonColumnConfig
  18. {
  19. public string Name { get; set; }
  20. public string Description { get; set; }
  21. public string ValidateMessage { get; set; }
  22. public object Validate { get; set; }
  23. bool? AllowEdit { get; set; }
  24. }
  25. }