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.

96 lines
2.5 KiB
C#

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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>
/// 可视模板下拉
/// </summary>
public List<CodeDataRuleTemplateRes> VisibleTemplates { get; set; }
/// <summary>
/// 操作模板下拉
/// </summary>
public List<CodeDataRuleTemplateRes> OperateTemplates { 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; }
}
}