123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using Long.Common.Basedata;
- using Long.Dapper;
- namespace Long.DAO.Basedata
- {
-
-
-
- public interface IUserDatabase : IDatabase<User>
- {
-
-
-
-
-
- Task<User> GetUserAsync(string userName);
-
-
-
-
-
- Task<User> GetByUserNameAsync(string userName);
-
-
-
-
-
- Task<User> GetByPromotionCodeAsync(string promotionCode);
-
-
-
-
-
- Task<bool> PromotionCodeIsRepeatAsync(string promotionCode);
-
-
-
-
-
-
- Task<int> UpdatePassword(long id, string password);
-
-
-
-
-
- Task<bool> HasUser(long id);
- }
- }
|