iotgateway/IoTGateway.ViewModel/_Admin/FrameworkMenuVMs/FrameworkMenuSearcher.cs

30 lines
1011 B
C#
Raw Permalink Normal View History

2021-12-12 06:55:48 +00:00
// WTM默认页面 Wtm buidin page
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
namespace WalkingTec.Mvvm.Mvc.Admin.ViewModels.FrameworkMenuVMs
{
public enum FrameworkMenuMode { Normal = 0, RoleMode = 1, RoleSetMode = 2 }
public class FrameworkMenuSearcher : BaseSearcher
{
[Display(Name = "_Admin.PageName")]
public string PageName { get; set; }
[Display(Name = "Codegen.ModuleName")]
public string ModuleName { get; set; }
[Display(Name = "_Admin.ActionName")]
public string ActionName { get; set; }
[Display(Name = "_Admin.ShowOnMenu")]
public bool? ShowOnMenu { get; set; }
[Display(Name = "_Admin.IsPublic")]
public bool? IsPublic { get; set; }
[Display(Name = "_Admin.FolderOnly")]
public bool? FolderOnly { get; set; }
public Guid? RoleID { get; set; }
}
}