28 lines
749 B
C#
28 lines
749 B
C#
using Dlhis.Canteen.Tickets.Request;
|
|
using Dlhis.Canteen.Voucher.Requests;
|
|
using Dlhis.Canteen.Voucher.Response;
|
|
using Kurisu.AspNetCore.DataAccess.Dto;
|
|
|
|
namespace Dlhis.Canteen.Tickets.Services;
|
|
|
|
/// <summary>
|
|
/// 券
|
|
/// </summary>
|
|
public interface IVoucherService : IScopeDependency
|
|
{
|
|
/// <summary>
|
|
/// 分页数据
|
|
/// </summary>
|
|
/// <param name="request"></param>
|
|
/// <returns></returns>
|
|
Task<Pagination<VoucherPageResponse>> GetPageAsync(VoucherPageRequest request);
|
|
|
|
/// <summary>
|
|
/// 创建
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
Task CreateAsync(Dictionary<string, object> pairs);
|
|
|
|
|
|
Task<Pagination<VoucherBalancePageResponse>> GetVoucherBalancePageAsync(VoucherBalancePageRequest request);
|
|
} |