namespace Core.Web.WebHelper
{
public class ToolBar
{
///
/// 构造初始化
///
/// 按钮类型如:ToolBarConfig.CONST_Other1
/// 按钮显示名称
/// 按钮颜色 如layui-btn-normal
/// 按钮图标 如layui-icon-up
/// 按钮是否需需要间距,默认不需要
public ToolBar(int _btnType, string _btnName, string _btnColor = null, string _icon = null, bool _isSpace = false)
{
this.btnType = _btnType;
this.btnName = _btnName;
this.btnColor = _btnColor;
this.icon = _icon;
this.icon = _icon;
this.isSpace = _isSpace;
}
public ToolBar()
{
}
public bool isSpace { get; set; }
///
/// 按钮类型
///
public int btnType { get; set; }
///
/// 按钮颜色
///
public string btnColor { get; set; }
///
/// 按钮名称
///
public string btnName { get; set; }
///
/// 图标
///
public string icon { get; set; }
}
}