qin
2025-03-20 00ab1b5282ada6ffdc78b3dd46f0ce08726a51e6
WinFrmUI/HStation.WinFrmUI.Auth.Core/03-user/UserViewModel.cs
@@ -1,5 +1,4 @@
using 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; }
    }
}