flower-story/Server/Controller/ApiController.structs.cs
2023-07-27 22:07:24 +08:00

22 lines
499 B
C#

namespace Blahblah.FlowerStory.Server.Controller;
/// <summary>
/// 字典、定义
/// </summary>
public record DefinitionResult
{
/// <summary>
/// API 版本号
/// </summary>
public required string ApiVersion { get; init; }
/// <summary>
/// 花草分类
/// </summary>
public required Dictionary<int, NamedItem> Categories { get; init; }
/// <summary>
/// 事件
/// </summary>
public required Dictionary<int, Event> Events { get; init; }
}