V 0.0.1 添加软件的基础配置

This commit is contained in:
2024-10-18 12:44:12 +08:00
parent b2ea31de40
commit 3927fd21b5
17 changed files with 506 additions and 60 deletions
+16
View File
@@ -0,0 +1,16 @@
using LMS.Common.Enum;
using System.ComponentModel.DataAnnotations;
namespace LMS.Repository.DTO;
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;
}