feat: 管理端核心实体CRUD补齐
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using MediatR;
|
||||
using TakeoutSaaS.Application.App.Stores.Dto;
|
||||
using TakeoutSaaS.Domain.Stores.Enums;
|
||||
|
||||
namespace TakeoutSaaS.Application.App.Stores.Queries;
|
||||
|
||||
/// <summary>
|
||||
/// 门店列表查询。
|
||||
/// </summary>
|
||||
public sealed class SearchStoresQuery : IRequest<IReadOnlyList<StoreDto>>
|
||||
{
|
||||
/// <summary>
|
||||
/// 商户 ID(可选)。
|
||||
/// </summary>
|
||||
public long? MerchantId { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// 状态过滤。
|
||||
/// </summary>
|
||||
public StoreStatus? Status { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user