using System.ComponentModel.DataAnnotations;

namespace TakeoutSaaS.Application.Dictionary.Contracts;

/// <summary>
/// 更新字典覆盖排序请求。
/// </summary>
public sealed class DictionaryOverrideSortOrderRequest
{
    /// <summary>
    /// 排序配置（字典项 ID -> 排序值）。
    /// </summary>
    [Required]
    public Dictionary<long, int> SortOrder { get; set; } = new();
}
