17 lines
402 B
C#
17 lines
402 B
C#
|
|
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;
|
|||
|
|
}
|