新增数据信息 完善数据信息得权限问题
This commit is contained in:
2025-05-21 21:28:18 +08:00
parent 647f2b75c9
commit aaebbb9104
14 changed files with 640 additions and 13 deletions
@@ -0,0 +1,21 @@
using LMS.Common.Enums;
namespace LMS.Repository.DTO.OptionDto
{
public class OptionSimpleDto
{
public required string Key { get; set; } = string.Empty;
/// <summary>
/// Value of the option,这个值是一个json字符串
/// </summary>
public string? Value { get; set; } = string.Empty;
public OptionTypeEnum Type { get; set; } = OptionTypeEnum.String;
public OptionCategory Category { get; set; } = OptionCategory.System;
public List<string> RoleNames { get; set; } = [];
}
}
@@ -0,0 +1,15 @@
using LMS.Common.Enums;
namespace LMS.Repository.DTO.OptionDto;
public class OptionsDto
{
public required string Key { get; set; } = string.Empty;
/// <summary>
/// Value of the option,这个值是一个json字符串
/// </summary>
public string? Value { get; set; }
public OptionTypeEnum Type { get; set; } = OptionTypeEnum.String;
}