You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace Myshipping.Core;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通用输入扩展参数(带权限)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class InputBase : PageInputBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 授权菜单
|
|
|
|
|
/// </summary>
|
|
|
|
|
public List<long> GrantMenuIdList { get; set; } = new List<long>();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 授权角色
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual List<long> GrantRoleIdList { get; set; } = new List<long>();
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 授权数据
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual List<long> GrantOrgIdList { get; set; } = new List<long>();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 通用分页输入参数
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class PageInputBase
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 搜索值
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string SearchValue { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 当前页码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual int PageNo { get; set; } = 1;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 页码容量
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual int PageSize { get; set; } = 20;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 搜索开始时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string SearchBeginTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 搜索结束时间
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string SearchEndTime { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序字段
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual string SortField { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序方法,默认降序
|
|
|
|
|
/// </summary>
|
|
|
|
|
public virtual bool descSort { get; set; } = true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|