大量更新
This commit is contained in:
15
BoreholeExtract/CategoryConfig.cs
Normal file
15
BoreholeExtract/CategoryConfig.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
namespace BoreholeExtract
|
||||
{
|
||||
public class CategoryConfig
|
||||
{
|
||||
[JsonConverter(typeof(StringEnumConverter))]
|
||||
public Identify Id { get; set; } // 关键:用枚举做唯一键
|
||||
public string Title { get; set; }
|
||||
public List<string> Items { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user