Initial commit

This commit is contained in:
shiyu
2025-05-18 20:48:20 +08:00
commit cde2c7b997
79 changed files with 5713 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.ComponentModel.DataAnnotations;
namespace Foxel.Models.Request.Config;
public class SetConfigRequest
{
[Required(ErrorMessage = "配置键不能为空")]
[StringLength(50, ErrorMessage = "配置键长度不能超过50个字符")]
public string Key { get; set; } = string.Empty;
public string? Value { get; set; }
[StringLength(255, ErrorMessage = "描述长度不能超过255个字符")]
public string? Description { get; set; }
}