|
|
|
|
using DS.Module.Core;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace DS.WMS.Core.Code.Dtos
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据权限返回
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class CodeDataRuleRes
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 资源标识(权限ID)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long PermissionId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PermissioName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限模板类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TemplateName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 备注
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Note { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long UserId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 用户名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string UserName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可视模板Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long VisibleTemplateId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可视权限模板范围
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VisibleRuleScope { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 可视权限模板范围名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string VisibleRuleScopeName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作模板Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long OperateTemplateId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作权限模板范围
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OperateRuleScope { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 操作权限模板范围名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string OperateRuleScopeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int OrderNo { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|