package com.td.Dawa.sys.sysuser.service;

import com.td.Dawa.common.pojo.Result;
import com.td.Dawa.common.service.CommonService;
import com.td.Dawa.sys.sysuser.pojo.SysUser;
import com.td.Dawa.sys.sysuser.vo.SysUserVo;
import org.springframework.security.web.authentication.rememberme.PersistentTokenRepository;

public interface SysUserService extends CommonService<SysUserVo, SysUser, String> {
    Result<SysUserVo> findByLoginName(String username);
    Result<SysUserVo> resetPassword(String userId);
    PersistentTokenRepository getPersistentTokenRepository2();
}
