mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-05-01 18:42:51 +08:00
16 lines
473 B
C#
16 lines
473 B
C#
namespace NetAdmin.Domain.Dto.Dependency;
|
|
|
|
/// <summary>
|
|
/// 批量请求
|
|
/// </summary>
|
|
public sealed record BulkReq<T> : DataAbstraction
|
|
where T : DataAbstraction, new()
|
|
{
|
|
/// <summary>
|
|
/// 请求对象
|
|
/// </summary>
|
|
[MaxLength(Numbers.MAX_LIMIT_BULK_REQ)]
|
|
[MinLength(1)]
|
|
[Required(ErrorMessageResourceType = typeof(Ln), ErrorMessageResourceName = nameof(Ln.请求对象不能为空))]
|
|
public IEnumerable<T> Items { get; init; }
|
|
} |