duheng
2024-10-25 59e5e0bf989993c0dce1851e34bcbe4bfb42ed56
WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs
@@ -1,10 +1,11 @@
using Yw.Dto;
using Yw.Basic;
using Yw.Dto;
namespace HStation.WinFrmUI.Basic
{
    public class SysTypeViewModel : Yw.Dto.SysTypeDto
    public class SysTypeViewModel
    {
        public SysTypeViewModel(SysTypeDto rhs)
        public SysTypeViewModel(Yw.Vmo.SysTypeVmo rhs)
        {
            this.ID = rhs.ID;
            this.Description = rhs.Description;
@@ -26,7 +27,7 @@
            this.SortCode = rhs.SortCode;
        }
        public void Reset(UpdateSysTypeInput rhs)
        public void Reset(Yw.Vmo.SysTypeVmo rhs)
        {
            this.ID = rhs.ID;
            this.Description = rhs.Description;
@@ -47,5 +48,19 @@
        }
        public string ExtendTypeDisPlayName { get; set; }
        public long ID { get; set; }
        public long ModuleID { get; set; }
        public string Name { get; set; }
        public string Code { get; set; }
        public eExtendType ExtendType { get; set; }
        public int SortCode { get; set; }
        public string Description { get; set; }
    }
}