\RG3.BO.BI.Bridge\Entity\BridgeItemAction.cs

using Newtonsoft.Json.Linq;
using RG3.PF.Abstractions.Interfaces;
using System;
using System.Collections.Generic;
using System.Text;

namespace RG3.BO.BI.Bridge.Entity
{
    /// <summary>
    ///  扩展功能信息
    /// </summary>
    public class BridgeItemAction : IEntity
    {
        /// <summary>
        /// 组件
        /// </summary>
        public string Components { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public int SortId { get; set; } = 9999;


        /// <summary>
        /// 
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Icon { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string BeforeTip { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string SuccessTip { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string ErrorTip { get; set; }

        /// <summary>
        /// 显示位置 formleft   tablerow
        /// </summary>

        public IEnumerable<string> Position { get; set; }


        /// <summary>
        /// 指定功能模式下面显示按钮   add、view、edit
        /// </summary>

        public IEnumerable<string> Events { get; set; }


        /// <summary>
        ///   "attrs": {
        ///        "label": "用户名",
        ///        "placeholder": "请输入内容"
        ///      },
        /// </summary>
        public Dictionary<string, object> Attrs { get; set; } = new Dictionary<string, object>();


        /// <summary>
        /// 样式
        /// </summary>
        public Dictionary<string, object> Styles { get; set; } = new Dictionary<string, object>();

        /// <summary>
        /// 启用
        /// </summary>
        public bool? Enabled { get; set; }


        /// <summary>
        /// 元数据
        /// </summary>
        public BridgeMeta Meta { get; set; } = new BridgeMeta();

    }
}
文档更新时间: 2022-12-22 18:41   作者:admin