using System.ComponentModel;
|
|
namespace HStation.WinFrmUI.Dict.Core
|
{
|
public class DictGroupViewModel
|
{
|
public DictGroupViewModel()
|
{ }
|
|
public DictGroupViewModel(Yw.Vmo.SysDictGroupVmo rhs)
|
{
|
this.ID = rhs.ID;
|
this.Description = rhs.Description;
|
this.Name = rhs.Name;
|
this.Code = rhs.Code;
|
}
|
|
public void Reset(Yw.Vmo.SysDictGroupVmo rhs)
|
{
|
this.Description = rhs.Description;
|
this.Name = rhs.Name;
|
this.ID = rhs.ID;
|
this.Code = rhs.Code;
|
}
|
|
[DisplayName("ID")]
|
[Browsable(true)]
|
public long ID { get; set; }
|
|
[DisplayName("名称")]
|
[Browsable(true)]
|
public string Name { get; set; }
|
|
[DisplayName("编码")]
|
[Browsable(true)]
|
public string Code { get; set; }
|
|
[DisplayName("说明")]
|
[Browsable(true)]
|
public string Description { get; set; }
|
}
|
}
|