LMS.service/LMS.Repository/Options/ModifyOptionByKeyModel.cs
lq1405 aaebbb9104 V 1.1.0
新增数据信息 完善数据信息得权限问题
2025-05-21 21:28:18 +08:00

21 lines
554 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using LMS.Common.Enums;
using System.ComponentModel.DataAnnotations;
namespace LMS.Repository.Options;
public class ModifyOptionByKeyModel
{
/// <summary>
/// Value of the option这个值是一个json字符串
/// </summary>
public required string Value { get; set; } = string.Empty;
public required OptionTypeEnum Type { get; set; } = OptionTypeEnum.String;
public required OptionCategory Category { get; set; } = OptionCategory.System;
[Required]
public required List<string> RoleNames { get; set; } = [];
}