mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
18 lines
443 B
C#
18 lines
443 B
C#
using System.Collections.Generic;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace MaaBuilder.Models;
|
|
|
|
public record Package
|
|
{
|
|
[JsonPropertyName("name_template")]
|
|
public string NameTemplate { get; init; }
|
|
|
|
[JsonPropertyName("type")]
|
|
[JsonConverter(typeof(JsonStringEnumConverter))]
|
|
public PackageTypes PackageType { get; init; }
|
|
|
|
[JsonExtensionData]
|
|
public Dictionary<string, object> Configuration { get; init; }
|
|
}
|