using System.ComponentModel.DataAnnotations;

namespace TakeoutSaaS.Application.Dictionary.Contracts;

/// <summary>
/// 批量查询字典项请求。
/// </summary>
public sealed class DictionaryBatchQueryRequest
{
    /// <summary>
    /// 分组编码集合。
    /// </summary>
    [Required]
    public IReadOnlyCollection<string> Codes { get; init; } = Array.Empty<string>();
}
