using System.Collections.Generic; using System.Text.Json.Serialization; namespace Kean.Presentation.Rest { /// /// Restful Api 批量操作资源时的数据结构 /// /// 项目数据类型 public sealed class Batch { /// /// 获取操作方法 /// [JsonConverter(typeof(JsonStringEnumConverter))] public BatchMethod Method { get; set; } /// /// 获取或设置数据 /// public IEnumerable Data { get; set; } } }