LFlow/LFlow.User/Repositorys/UserRepo.cs

42 lines
935 B
C#

using System;
using LFlow.Base.Interfaces;
using LFlow.User.Model.DataModel;
using SqlSugar;
namespace LFlow.User.Repositorys;
public class UserRepo(ISqlSugarClient db) : IRepo<UserModel, string>
{
public UserModel Delete(string id)
{
throw new NotImplementedException();
}
public UserModel Get(string id)
{
return new UserModel
{
UserID = id,
UserName = "Test User",
UserNickName = "Tester",
EmailAddress = "Test@Ling.chat",
};
}
public UserModel SaveOrUpdate(UserModel entity, bool isUpdate)
{
throw new NotImplementedException();
}
public List<UserModel> Search(UserModel whereObj)
{
throw new NotImplementedException();
}
public List<string> WhereSearchId(UserModel whereObj)
{
throw new NotImplementedException();
}
}