using RG3.DO.Abstractions.Entity;
using RG3.PF.Abstractions.Interfaces;
using System.Collections.Generic;
using System.Text;
using RG3.PF.Abstractions.Consts;
namespace RG3.DO.Abstractions.Entity
{
    /// <summary>  
    /// SqlMapperType 映射  根据参数 _mapperType定义
    /// </summary>
    public record SqlMapperType : IEntity
    {

        /// <summary>
        /// 桥禁用列信息
        /// </summary>
        public string DisableFields { get; set; }

        /// <summary>
        /// 桥不显示列信息
        /// </summary>
        public string HideFields { get; set; }

        /// <summary>
        /// 必填字段
        /// </summary>
        public string Need { get; set; }

        /// <summary>
        /// _columnAlias
        /// </summary>
        public string ColumnAlias { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public int PageSize { get; set; }

        /// <summary>
        /// 只要sql,不需要tabes验证 分页
        /// </summary>
        public bool? OnlySqlPage { get; set; }
        /// <summary>
        /// 只要sql,不需要tabes验证 详情
        /// </summary>
        public bool? OnlySqlDetail { get; set; }

        /// <summary>
        /// 只要sql,不需要tabes验证 列表
        /// </summary>
        public bool? OnlySqlList { get; set; }
        /// <summary>
        /// 只要sql,不需要tabes验证 维
        /// </summary>
        public bool? OnlySqlDim { get; set; }

        /// <summary>
        /// _popeMkey
        /// </summary>
        public string PopeMkey { get; set; }


        /// <summary>
        ///  _popeResField
        /// </summary>
        public string PopeResField { get; set; }

        /// <summary>
        ///  _menuId
        /// </summary>
        public string MenuId { get; set; }

        /// <summary>
        /// _order=sort_id:asc|sys_id:desc
        /// </summary>
        public string Order { get; set; }

        /// <summary>
        /// _sortchild=sort_id:asc|sys_id:desc
        /// </summary>
        public string SortChild { get; set; }


        /// <summary>
        /// 排序参数,如果设置值了,并且组合模式,
        /// _sortchild=_order=sort_id:asc|sys_id:desc
        /// </summary>
        public string OrderParam { get; set; }


        /// <summary>
        /// 排序参数,如果设置值了,并且组合模式,
        /// _sortchild=_order=sort_id:asc|sys_id:desc
        /// </summary>
        public string Auth { get; set; }


        /// <summary>
        /// 移除 搜索列
        /// </summary>
        public string SearchColumnRemoves { get; set; }

        /// <summary>
        /// 移除 搜索字段
        /// </summary>
        public string SearchFieldRemoves { get; set; }

        /// <summary>
        ///二级排序  _order=sort_id:asc|id:desc
        /// </summary>
        public string OrderSql { get; set; }

        /// <summary>
        ///二级排序  _sortchild =[commoditys]sort_id:asc|id:desc[commoditys] sort_id:asc|id:desc
        /// </summary>
        public string OrderChildSql { get; set; }
    }
}
文档更新时间: 2022-12-12 09:10   作者:admin