feat:框架基础设施搭建

This commit is contained in:
橙子
2023-04-12 22:52:09 +08:00
parent 5efdffcda8
commit 18696ec542
572 changed files with 26077 additions and 25 deletions

View File

@@ -0,0 +1,31 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.Infrastructure.CurrentUsers
{
public interface ICurrentUser
{
public bool IsAuthenticated { get; }
public long Id { get; }
public string UserName { get; }
public Guid TenantId { get; }
public string Email { get; }
public bool EmailVerified { get; }
public string PhoneNumber { get; }
public bool PhoneNumberVerified { get; }
public string[]? Roles { get; }
public string[]? Permission { get; }
}
}