V 1.1.0
新增数据信息 完善数据信息得权限问题
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user