namespace Txgy.EWS.Client.Models
{
    /// <summary>
    /// 查询筛选条件类
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public class FilterCondition<T>
    {
        private bool _isUse;

        public bool IsUse
        {
            get { return _isUse; }
            set
            {
                _isUse = value;

            }
        }
        private T _cond1;

        public T Cond1
        {
            get { return _cond1; }
            set { _cond1 = value; }
        }
        private T _cond2;

        public T Cond2
        {
            get { return _cond2; }
            set { _cond2 = value; }
        }
        public FilterCondition(bool isUse, T cond1, T cond2)
        {
            IsUse = isUse;
            Cond1 = cond1;
            Cond2 = cond2;
        }
    }
}
