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 DS.Module.Core;
|
|
|
|
|
using SqlSugar;
|
|
|
|
|
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 CodeDataRuleTemplateReq
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 主键Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long Id { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限模板类型
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string TemplateName { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限类型 visible 可视范围 operate 操作范围
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RuleType { get; set; } = "visible";
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限模板范围
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RuleScope { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限模板范围名称
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string RuleScopeName { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 资源标识(权限ID)
|
|
|
|
|
/// </summary>
|
|
|
|
|
public long PermissionId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限实体
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string PermissionEntity { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 中文视图名
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string ColumnView { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 权限规则
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string DataRules { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 数据权限描述
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Description { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 状态
|
|
|
|
|
/// </summary>
|
|
|
|
|
public StatusEnum? Status { get; set; } = StatusEnum.Enable;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 排序号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public int OrderNo { get; set; }
|
|
|
|
|
}
|
|
|
|
|
}
|