QueryItem.cs 783 B

123456789101112131415161718192021222324
  1. using ShwasherSys.Views.Shared.New.SearchForm;
  2. namespace ShwasherSys.Views.Shared.New.Query
  3. {
  4. public class QueryItem
  5. {
  6. public QueryItem(string key, string name, bool isSearch = false, FieldType fieldType = FieldType.S,
  7. ExpType expType = ExpType.Contains, string formatter = "")
  8. {
  9. Key = key;
  10. Name = name;
  11. IsSearch = isSearch;
  12. FieldType = fieldType;
  13. ExpType = expType;
  14. Formatter = formatter;
  15. }
  16. public string Key { get; set; }
  17. public string Name { get; set; }
  18. public string Formatter { get; set; }
  19. public bool IsSearch { get; set; }
  20. public FieldType FieldType { get; set; }
  21. public ExpType ExpType { get; set; }
  22. }
  23. }