mirror of
https://github.com/nsnail/NetAdmin.git
synced 2025-12-22 14:05:48 +08:00
wip: 🧠 初步的框架
This commit is contained in:
19
src/backend/NetAdmin.Application/Services/IService.cs
Normal file
19
src/backend/NetAdmin.Application/Services/IService.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using NetAdmin.Domain.Contexts;
|
||||
|
||||
namespace NetAdmin.Application.Services;
|
||||
|
||||
/// <summary>
|
||||
/// 服务接口
|
||||
/// </summary>
|
||||
public interface IService
|
||||
{
|
||||
/// <summary>
|
||||
/// 服务编号
|
||||
/// </summary>
|
||||
Guid ServiceId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 上下文用户
|
||||
/// </summary>
|
||||
ContextUserToken UserToken { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user