Files
DMS/DMS.Infrastructure/Repositories/UserRepository.cs

28 lines
903 B
C#
Raw Normal View History

2025-07-21 18:49:49 +08:00
using DMS.Core.Interfaces;
using DMS.Core.Interfaces.Repositories;
2025-07-19 11:11:01 +08:00
using DMS.Core.Models;
2025-07-19 09:25:01 +08:00
using DMS.Infrastructure.Data;
2025-07-21 18:49:49 +08:00
using DMS.Infrastructure.Entities;
namespace DMS.Infrastructure.Repositories;
/// <summary>
2025-07-21 18:49:49 +08:00
/// 用户仓储类用于操作DbUser实体
/// </summary>
2025-07-21 18:49:49 +08:00
public class UserRepository : BaseRepository<DbUser>, IUserRepository
{
public UserRepository(SqlSugarDbContext dbContext)
: base(dbContext)
{
}
2025-07-21 18:49:49 +08:00
public async Task<User> GetByIdAsync(int id) => throw new NotImplementedException();
public async Task<List<User>> GetAllAsync() => throw new NotImplementedException();
public async Task<User> AddAsync(User entity) => throw new NotImplementedException();
public async Task<int> UpdateAsync(User entity) => throw new NotImplementedException();
public async Task<int> DeleteAsync(User entity) => throw new NotImplementedException();
}