duheng
2024-08-12 1a12ef2743134f7fdea6d0abbfec34543b85bdb5
WinFrmUI/HStation.WinFrmUI.Organize.Core/01-EmployeeViewModel/EmployeeViewModel.cs
@@ -7,7 +7,7 @@
        public EmployeeViewModel()
        { }
        public EmployeeViewModel(EmployeeMainDto rhs)
        public EmployeeViewModel(EmployeeMainDto rhs)
        {
            this.ID = rhs.ID;
            this.ErpCode = rhs.ErpCode;//编号
@@ -24,6 +24,17 @@
            this.LastModifyUser = rhs.LastModifyUser;
            this.LastModifyTime = rhs.LastModifyTime;//最后修改时间
            this.Paras = rhs.Paras;
            this.StaffStatusLabel = this.StaffStatus == 0 ? "离职" : "在职";
            this.RequirePasswordResetLabel = this.RequirePasswordReset == 0 ? "否" : "是";
            /// <summary>
            /// 0 男  1女
            /// </summary>
        }
        public string StaffStatusLabel { get; set; }
        public string RequirePasswordResetLabel { get; set; }
    }
}