From 00ab1b5282ada6ffdc78b3dd46f0ce08726a51e6 Mon Sep 17 00:00:00 2001 From: qin <a@163.com> Date: 星期四, 20 三月 2025 13:47:24 +0800 Subject: [PATCH] 优化IBox界面 --- WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserViewModel.cs | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserViewModel.cs index 31e664d..ecebadb 100644 --- a/WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserViewModel.cs @@ -1,5 +1,4 @@ 锘縰sing System.ComponentModel.DataAnnotations; -using Yw.Vmo; namespace HStation.WinFrmUI { @@ -17,14 +16,14 @@ /// <summary> /// /// </summary> - public UserViewModel(Yw.Vmo.User rhs) + public UserViewModel(Yw.Vmo.UserVmo rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.Name = rhs.Name; this.Tag = rhs.Tag; - this.LoginName = rhs.LoginName; - this.LoginPwd = rhs.LoginPwd; + // this.LoginName = rhs.Name; + // this.LoginPwd = rhs.LoginPwd; this.AdminType = rhs.AdminType; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; @@ -34,14 +33,14 @@ /// <summary> /// /// </summary> - public void Reset(Yw.Vmo.User rhs) + public void Reset(Yw.Vmo.UserVmo rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.Name = rhs.Name; this.Tag = rhs.Tag; - this.LoginName = rhs.LoginName; - this.LoginPwd = rhs.LoginPwd; + // this.LoginName = rhs.LoginName; + // this.LoginPwd = rhs.LoginPwd; this.AdminType = rhs.AdminType; this.UseStatus = rhs.UseStatus; this.Description = rhs.Description; @@ -70,10 +69,10 @@ public string LoginPwd { get; set; } [Display(Name = "绠$悊绫诲瀷")] - public eAdminType AdminType { get; set; } + public Yw.Model.eAdminType AdminType { get; set; } [Display(Name = "浣跨敤鐘舵��")] - public eUseStatus UseStatus { get; set; } + public Yw.Model.eUseStatus UseStatus { get; set; } /// <summary> /// 鎺掑簭鐮� @@ -94,6 +93,6 @@ /// <summary> /// /// </summary> - public Yw.Vmo.User Vmo { get; set; } + public Yw.Vmo.UserVmo Vmo { get; set; } } } \ No newline at end of file -- Gitblit v1.9.3