namespace System.Option
{
public enum SearchDataType
{
Unknown, String, Integer, Float, Datetime
}
public class AdvancedSearchCondition
{
private string _DisplayName = string.Empty;
private string _FieldName = string.Empty;
private SearchDataType _DataType = SearchDataType.Unknown;
private string _Value = string.Empty;
public string DisplayName
{
get { return this._DisplayName; }
set { this._DisplayName = value; }
}
public string FieldName
{
get { return this._FieldName; }
set { this._FieldName = value; }
}
public SearchDataType DataType
{
get { return this._DataType; }
set { this._DataType = value; }
}
public string Value
{
get { return this._Value; }
set { this._Value = value; }
}
public AdvancedSearchCondition(string displayName, string fieldName, SearchDataType dataType)
{
this.DisplayName = displayName;
this.FieldName = fieldName;
this.DataType = dataType;
}
}
}
浙公网安备 33010602011771号