feat: 新增签到功能

This commit is contained in:
橙子
2024-01-11 22:06:15 +08:00
parent 5a65a2e49f
commit c80ecf958c
10 changed files with 125 additions and 8 deletions

View File

@@ -9,6 +9,7 @@ using Yi.Framework.Core.Extensions;
namespace Yi.Framework.Rbac.Domain.Entities
{
[SugarTable("LoginLog")]
[SugarIndex($"index_{nameof(LoginUser)}", nameof(LoginUser), OrderByType.Asc)]
public class LoginLogEntity : Entity<Guid>, ICreationAuditedObject
{
[SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]

View File

@@ -12,6 +12,7 @@ namespace Yi.Framework.Rbac.Domain.Entities
/// 用户表
/// </summary>
[SugarTable("User")]
[SugarIndex($"index_{nameof(UserName)}", nameof(UserName), OrderByType.Asc)]
public class UserEntity : Entity<Guid>, ISoftDelete, IAuditedObject, IOrderNum, IState
{
public UserEntity()