15 lines
387 B
C#
15 lines
387 B
C#
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; }
|
|
}
|
|
} |