using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Znyc.Recruitment.Admin.Security.Dtos { /// /// 输出对象模型 /// [Serializable] public class MenuOutputDto { /// /// 设置或获取 /// [MaxLength(50)] public long Id { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string SystemTypeId { get; set; } public string SystemTypeName { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public long ParentId { get; set; } /// /// 设置或获取 /// public long? Layers { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string EnCode { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string FullName { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string Icon { get; set; } /// /// 设置或获取路由 /// public virtual string UrlAddress { get; set; } /// /// 设置或获取目标打开方式 /// public virtual string Target { get; set; } /// /// 设置或获取菜单类型(C目录 M菜单 F按钮) /// public virtual string MenuType { get; set; } /// /// 设置或获取组件路径 /// public virtual string Component { get; set; } /// /// 设置当前选中菜单,用于新增、编辑、查看操作为单独的路由时指定选中菜单路由 /// 同时设置为隐藏时才有效 /// public virtual string ActiveMenu { get; set; } /// /// 设置或获取 /// public bool? IsExpand { get; set; } /// /// 设置或获取 是否显示 /// public bool IsShow { get; set; } /// /// 设置或获取 是否外链 /// public bool IsFrame { get; set; } /// /// 设置或获取是否缓存 /// public bool IsCache { get; set; } /// /// 设置或获取 /// public bool? IsPublic { get; set; } /// /// 设置或获取 /// public bool? AllowEdit { get; set; } /// /// 设置或获取 /// public bool? AllowDelete { get; set; } /// /// 设置或获取 /// public long? SortCode { get; set; } /// /// 设置或获取 /// public bool? IsDeleted { get; set; } /// /// 设置或获取 /// public bool IsEnabled { get; set; } /// /// 设置或获取 /// [MaxLength(500)] public string Description { get; set; } /// /// 设置或获取 /// public DateTime? CreatedTime { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string CreatedUserId { get; set; } /// /// 设置或获取 /// public DateTime? ModifiedTime { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string ModifiedUserId { get; set; } /// /// 设置或获取 /// public DateTime? DeleteTime { get; set; } /// /// 设置或获取 /// [MaxLength(50)] public string DeleteUserId { get; set; } /// /// 子菜单集合 /// public List SubMenu { get; set; } } }