using AutoMapper; using System; using Znyc.Cloudcar.Admin.Commons.Dtos; using Znyc.Cloudcar.Admin.Security.Entitys; namespace Znyc.Cloudcar.Admin.Security.Dtos { /// /// 输入对象模型 /// [AutoMap(typeof(MenuEntity))] [Serializable] public class MenuInputDto : IInputDto { /// /// 设置或获取 /// public long SystemTypeId { get; set; } /// /// 设置或获取 /// public long ParentId { get; set; } /// /// 设置或获取 /// public long Layers { get; set; } /// /// 设置或获取 /// public string EnCode { get; set; } /// /// 设置或获取 /// public string FullName { get; set; } /// /// 设置或获取 /// 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 IsCache { get; set; } /// /// 设置或获取 是否外链 /// public bool IsFrame { get; set; } /// /// 设置或获取 批量添加 /// public bool IsBatch { get; set; } /// /// 设置或获取 /// public bool IsPublic { get; set; } /// /// 设置或获取 /// public int SortCode { get; set; } /// /// 设置或获取 /// public bool IsEnabled { get; set; } /// /// 设置或获取 /// public string Description { get; set; } /// /// 创建日期 /// public virtual DateTime? CreatedTime { get; set; } /// /// 设置或获取 /// public string SystemTypeName { get; set; } /// /// 设置或获取 /// public long Id { get; set; } } }