using System.ComponentModel.DataAnnotations;
|
using Yw.Vmo;
|
|
namespace HStation.WinFrmUI
|
{
|
public class RoleUserHaveViewModel
|
{
|
public RoleUserHaveViewModel()
|
{ }
|
|
public RoleUserHaveViewModel(Yw.Vmo.RoleUserHaveVmo rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.AdminType = rhs.AdminType;
|
this.Tag = rhs.Tag;
|
this.UseStatus = rhs.UseStatus;
|
this.Have = rhs.Have;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
public long ID { get; set; }
|
|
[Display(Name = "名称")]
|
public string Name { get; set; }
|
|
[Display(Name = "管理类型")]
|
public eAdminType AdminType { get; set; }
|
|
[Display(Name = "标签")]
|
public string Tag { get; set; }
|
|
[Display(Name = "状态")]
|
public eUseStatus UseStatus { get; set; }
|
|
[Display(Name = "排序码")]
|
public int SortCode { get; set; }
|
|
[Display(Name = "说明")]
|
public string Description { get; set; }
|
|
[Display(Name = "选择")]
|
public bool Have { get; set; }
|
}
|
}
|