Files
DMS/DMS.Infrastructure/Repositories/UserRepository.cs
2025-07-21 18:49:49 +08:00

28 lines
903 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using DMS.Core.Interfaces;
using DMS.Core.Interfaces.Repositories;
using DMS.Core.Models;
using DMS.Infrastructure.Data;
using DMS.Infrastructure.Entities;
namespace DMS.Infrastructure.Repositories;
/// <summary>
/// 用户仓储类用于操作DbUser实体
/// </summary>
public class UserRepository : BaseRepository<DbUser>, IUserRepository
{
public UserRepository(SqlSugarDbContext dbContext)
: base(dbContext)
{
}
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();
}