using TakeoutSaaS.Domain.Dictionary.Enums; namespace TakeoutSaaS.Application.Dictionary.Contracts; /// /// 字典分组查询参数。 /// public sealed class DictionaryGroupQuery { /// /// 租户 ID(仅当 Scope=Business 时需要;Scope=System 时忽略)。 /// public long? TenantId { get; set; } /// /// 作用域过滤。 /// public DictionaryScope? Scope { get; set; } /// /// 关键字(匹配编码或名称)。 /// public string? Keyword { get; set; } /// /// 启用状态过滤。 /// public bool? IsEnabled { get; set; } /// /// 分页页码。 /// public int Page { get; set; } = 1; /// /// 分页大小。 /// public int PageSize { get; set; } = 20; /// /// 排序字段。 /// public string? SortBy { get; set; } /// /// 排序方向(asc/desc)。 /// public string? SortOrder { get; set; } /// /// 是否包含字典项。 /// public bool IncludeItems { get; set; } }