using System.Collections.Generic; namespace Myshipping.Core; /// /// 通用输入扩展参数(带权限) /// public class InputBase : PageInputBase { /// /// 授权菜单 /// public List GrantMenuIdList { get; set; } = new List(); /// /// 授权角色 /// public virtual List GrantRoleIdList { get; set; } = new List(); /// /// 授权数据 /// public virtual List GrantOrgIdList { get; set; } = new List(); } /// /// 通用分页输入参数 /// public class PageInputBase { /// /// 搜索值 /// public virtual string SearchValue { get; set; } /// /// 当前页码 /// public virtual int PageNo { get; set; } = 1; /// /// 页码容量 /// public virtual int PageSize { get; set; } = 20; /// /// 搜索开始时间 /// public virtual string SearchBeginTime { get; set; } /// /// 搜索结束时间 /// public virtual string SearchEndTime { get; set; } /// /// 排序字段 /// public virtual string SortField { get; set; } /// /// 排序方法,默认降序 /// public virtual bool DescSort { get; set; } = true; }