重载ToString方法,方便Cache查看

This commit is contained in:
Argo-Lenovo 2017-01-03 19:47:37 +08:00
parent a668baa1ad
commit 1683786cce
1 changed files with 8 additions and 0 deletions

View File

@ -67,5 +67,13 @@ namespace Bootstrap.DataAccess
/// 获得/设置 新密码 /// 获得/设置 新密码
/// </summary> /// </summary>
public string NewPassword { get; set; } public string NewPassword { get; set; }
/// <summary>
///
/// </summary>
/// <returns></returns>
public override string ToString()
{
return string.Format("{0} ({1})", UserName, DisplayName);
}
} }
} }