using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace SqlSugar { public interface IConditionalModel { } public class ConditionalCollections : IConditionalModel { public List> ConditionalList { get; set; } } public class ConditionalModel: IConditionalModel { public ConditionalModel() { this.ConditionalType = ConditionalType.Equal; } public string FieldName { get; set; } public string FieldValue { get; set; } public ConditionalType ConditionalType { get; set; } public Func FieldValueConvertFunc { get; set; } } }