Cube/NewLife.CubeNC/ViewModels/SearchField.cs

17 lines
579 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace NewLife.Cube.ViewModels;
/// <summary>搜索字段</summary>
public class SearchField : DataField
{
/// <summary>是否多选框</summary>
/// <remarks>
/// 多选框返回的数据有多条,需要逗号分隔;
/// 如果没有选中任何项则没有返回此时会强制覆盖Url参数中的同名字段避免取消选中无效的问题。
/// </remarks>
public Boolean Multiple { get; set; }
#if MVC
/// <summary>视图。MVC特有允许针对字段定义视图</summary>
public String View { get; set; }
#endif
}