28 lines
871 B
C#
28 lines
871 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using ZhonTai.Admin.Core.Dto;
|
|
using NPP.SmartSchedue.Api.Contracts.Services.Time.Input;
|
|
using NPP.SmartSchedue.Api.Contracts.Services.Time.Output;
|
|
|
|
namespace NPP.SmartSchedue.Api.Contracts.Services.Time;
|
|
|
|
/// <summary>
|
|
/// 班次规则服务接口
|
|
/// </summary>
|
|
public interface IShiftRuleService
|
|
{
|
|
/// <summary>
|
|
/// 根据ID获取班次规则详细信息
|
|
/// </summary>
|
|
/// <param name="id">规则ID</param>
|
|
/// <returns>班次规则详细信息</returns>
|
|
Task<ShiftRuleGetOutput> GetAsync(long id);
|
|
|
|
/// <summary>
|
|
/// 获取班次规则分页列表
|
|
/// </summary>
|
|
/// <param name="input">查询条件</param>
|
|
/// <returns>分页结果</returns>
|
|
Task<PageOutput<ShiftRuleGetPageOutput>> GetPageAsync(PageInput<ShiftRuleGetPageInput> input);
|
|
} |