You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
608 B

2 years ago
  1. using System.Collections.Generic;
  2. namespace SqlSugar
  3. {
  4. public interface IConditionalModel {
  5. }
  6. public class ConditionalCollections : IConditionalModel
  7. {
  8. public List<KeyValuePair<WhereType, ConditionalModel>> ConditionalList { get; set; }
  9. }
  10. public class ConditionalModel: IConditionalModel
  11. {
  12. public ConditionalModel()
  13. {
  14. this.ConditionalType = ConditionalType.Equal;
  15. }
  16. public string FieldName { get; set; }
  17. public string FieldValue { get; set; }
  18. public ConditionalType ConditionalType { get; set; }
  19. }
  20. }