| | |
| | | this.ID = rhs.ID; |
| | | this.ProjectID = rhs.ProjectID; |
| | | this.ParentID = rhs.ParentID; |
| | | this.Type = rhs.Type; |
| | | this.Type = (eMenuType)rhs.Type; |
| | | this.Name = rhs.Name; |
| | | this.Path = rhs.Path; |
| | | this.Permission = rhs.Permission; |
| | |
| | | this.ID = rhs.ID; |
| | | this.ProjectID = rhs.ProjectID; |
| | | this.ParentID = rhs.ParentID; |
| | | this.Type = rhs.Type; |
| | | this.Type = (eMenuType)rhs.Type; |
| | | this.Name = rhs.Name; |
| | | this.Path = rhs.Path; |
| | | this.Permission = rhs.Permission; |
| | |
| | | /// 类型 |
| | | /// </summary> |
| | | [DisplayName("类型")] |
| | | public int Type { get; set; } |
| | | public eMenuType Type { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 名称 |
| | |
| | | /// </summary> |
| | | [DisplayName("说明")] |
| | | public string Description { get; set; } |
| | | |
| | | public enum eMenuType |
| | | { |
| | | /// <summary> |
| | | /// 目录 |
| | | /// </summary> |
| | | [Description("目录")] |
| | | Catalog = 1, |
| | | |
| | | /// <summary> |
| | | /// 菜单 |
| | | /// </summary> |
| | | [Description("菜单")] |
| | | Munu = 2, |
| | | |
| | | /// <summary> |
| | | /// 功能点 |
| | | /// </summary> |
| | | [Description("功能点")] |
| | | Function = 3 |
| | | } |
| | | } |
| | | } |