using Yw.Dto;
|
|
namespace Yw.WinFrmUI
|
{
|
public class SysUnitLangViewModel
|
{
|
public SysUnitLangViewModel()
|
{
|
}
|
|
public SysUnitLangViewModel(SysUnitLangDto rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.SortCode = rhs.SortCode;
|
this.Code = rhs.Code;
|
this.Description = rhs.Description;
|
}
|
|
public void Reset(SysUnitLangDto rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.SortCode = rhs.SortCode;
|
this.Code = rhs.Code;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// ID
|
/// </summary>
|
public long ID { get; set; }
|
|
public string Name { get; set; }
|
|
public string Code { get; set; }
|
|
public int SortCode { get; set; }
|
|
public string Description { get; set; }
|
}
|
}
|