using Yw.Dto;
|
|
namespace HStation.WinFrmUI.Basic
|
{
|
public class SysPropGroupTreeListViewModel
|
{
|
public SysPropGroupTreeListViewModel(Yw.Vmo.SysPropGroup rhs)
|
{
|
ID = rhs.ID;
|
TypeID = rhs.TypeID;
|
Name = rhs.Name;
|
Code = rhs.Code;
|
SortCode = rhs.SortCode;
|
Description = rhs.Description;
|
}
|
|
public void Reset(Yw.Vmo.SysPropGroup rhs)
|
{
|
ID = rhs.ID;
|
Name = rhs.Name;
|
Code = rhs.Code;
|
Description = rhs.Description;
|
}
|
|
public long ID { get; set; }
|
|
public long TypeID { get; set; }
|
|
public string Name { get; set; }
|
|
public string Code { get; set; }
|
|
public int SortCode { get; set; }
|
|
public string Description { get; set; }
|
}
|
}
|