using iWare.Wms.Core.Util.LowCode.Front.Model;
using Furion.DatabaseAccessor;
using Furion.Extras.iWare.Wms.Util.LowCode.Front.Att;
using Furion.Extras.iWare.Wms.Util.LowCode.Front.Interface;
using Furion.Extras.iWare.Wms.Util.LowCode.Front.Model;
namespace Furion.Extras.iWare.Wms.Util.LowCode.Front
{
///
/// 树选择器
///
[FrontType("treeSelect")]
[FrontTypeBindDatabase(DbProvider.SqlServer, typeof(string), "nvarchar(2000)")]
public class Front_TreeSelect : Front_Base, IFrontDynamic
{
public override ViewDynamic Dynamic
{ get { return new ViewDynamic() { Dynamic = this.Options.Dynamic, DynamicKey = this.Options.DynamicKey }; } }
}
public class Front_TreeSelect_Options : IFrontDynamicOptions
{
///
/// 动态数据
///
public string DynamicKey { get; set; }
///
/// 是否是动态数据
///
public bool Dynamic { get; set; }
///
/// 选项配置
///
public Front_Tree_Option[] Options { get; set; }
///
/// 禁用
///
public bool Disabled { get; set; }
///
/// 隐藏
///
public bool Hidden { get; set; }
///
/// 多选
///
public bool Multiple { get; set; }
///
/// 可清除
///
public bool Clearable { get; set; }
///
/// 可搜索
///
public bool ShowSearch { get; set; }
///
/// 可勾选
///
public bool TreeCheckable { get; set; }
///
/// 占位内容
///
public string Placeholder { get; set; }
}
}