using Yw.Dto;
|
|
namespace HStation.WinFrmUI.Xhs
|
{
|
public class PropViewModel : Yw.Dto.SysPropDto
|
{
|
public PropViewModel(SysPropDto rhs)
|
{
|
ID = rhs.ID;
|
GroupID = rhs.GroupID;
|
TypeID = rhs.TypeID;
|
Name = rhs.Name;
|
Code = rhs.Code;
|
Format = rhs.Format;
|
UnitName = rhs.UnitName;
|
IsNull = rhs.IsNull;
|
DefaultValue = rhs.DefaultValue;
|
SortCode = rhs.SortCode;
|
Description = rhs.Description;
|
}
|
|
public void Reset(UpdateSysPropInput rhs)
|
{
|
ID = rhs.ID;
|
Name = rhs.Name;
|
Code = rhs.Code;
|
Format = rhs.Format;
|
UnitName = rhs.UnitName;
|
IsNull = rhs.IsNull;
|
DefaultValue = rhs.DefaultValue;
|
Description = rhs.Description;
|
}
|
|
public string ExtendTypeDisPlayName { get; set; }
|
}
|
}
|