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;
|
2025-07-03 08:17:27 +08:00
|
|
|
|
|
2025-07-18 22:21:16 +08:00
|
|
|
|
namespace DMS.Infrastructure.Repositories;
|
2025-07-03 08:17:27 +08:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
2025-07-21 18:49:49 +08:00
|
|
|
|
/// 用户仓储类,用于操作DbUser实体
|
2025-07-03 08:17:27 +08:00
|
|
|
|
/// </summary>
|
2025-07-21 18:49:49 +08:00
|
|
|
|
public class UserRepository : BaseRepository<DbUser>, IUserRepository
|
2025-07-03 08:17:27 +08:00
|
|
|
|
{
|
2025-07-19 14:36:34 +08:00
|
|
|
|
public UserRepository(SqlSugarDbContext dbContext)
|
|
|
|
|
|
: base(dbContext)
|
2025-07-03 08:17:27 +08:00
|
|
|
|
{
|
|
|
|
|
|
}
|
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();
|
2025-07-03 08:17:27 +08:00
|
|
|
|
}
|