浏览代码

注释 userdto

Dun.Jason 1 周之前
父节点
当前提交
b1290b114a
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/Hotline.Share/Dtos/Users/UserDto.cs

+ 3 - 3
src/Hotline.Share/Dtos/Users/UserDto.cs

@@ -31,11 +31,11 @@ public record UserDto : AddUserDto
 
     public OrgDto Organization { get; set; }
 
-    public DateTime? AccountLockoutEnd { get; set; }
+    //public DateTime? AccountLockoutEnd { get; set; }
 
-    public bool AccountLockoutEnabled { get; set; }
+    //public bool? AccountLockoutEnabled { get; set; }
 
-    public bool IsNormal => AccountLockoutEnabled && AccountLockoutEnd >= DateTime.Now ? false : true;
+    //public bool? IsNormal => AccountLockoutEnabled == true && AccountLockoutEnd >= DateTime.Now ? false : true;
 }
 
 public record AddUserDto