mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-18 21:21:25 +08:00
17 lines
425 B
C#
17 lines
425 B
C#
using System.Threading.Tasks;
|
|
using System;
|
|
using Util.Domain.Trees;
|
|
using Util.Tests.Models;
|
|
|
|
namespace Util.Tests.Repositories;
|
|
|
|
/// <summary>
|
|
/// 资源仓储
|
|
/// </summary>
|
|
public interface IResourceRepository : ITreeRepository<Resource> {
|
|
/// <summary>
|
|
/// 生成排序号
|
|
/// </summary>
|
|
/// <param name="parentId">父标识</param>
|
|
Task<int> GenerateSortIdAsync( Guid? parentId );
|
|
} |