using System.ComponentModel;
|
|
namespace HStation.WinFrmUI.Basic
|
{
|
public class SysFlagViewModel
|
{
|
public SysFlagViewModel(Yw.Vmo.SysFlagVmo rhs)
|
{
|
this.ID = rhs.ID;
|
this.TypeID = rhs.TypeID;
|
this.Name = rhs.Name;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
public void Reset(Yw.Vmo.SysFlagVmo rhs)
|
{
|
this.ID = rhs.ID;
|
this.TypeID = rhs.TypeID;
|
this.Name = rhs.Name;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
[DisplayName("ID")]
|
[Browsable(false)]
|
public long ID { get; set; }
|
|
[DisplayName("类型ID")]
|
[Browsable(false)]
|
public long TypeID { get; set; }
|
|
[DisplayName("名称")]
|
[Browsable(true)]
|
public string Name { get; set; }
|
|
[DisplayName("排序码")]
|
[Browsable(false)]
|
public int SortCode { get; set; }
|
|
[DisplayName("说明")]
|
[Browsable(true)]
|
public string Description { get; set; }
|
}
|
}
|