添加项目文件。
This commit is contained in:
1 parent
05e131ca4e
commit
514d6f5255
1162 files changed
+81255
No files matched your search
@@ -0,0 +1,34 @@
|
||||
// WTM默认页面 Wtm buidin page
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using WalkingTec.Mvvm.Core;
|
||||
|
||||
namespace WalkingTec.Mvvm.Mvc.Admin.ViewModels.DataPrivilegeVMs
|
||||
{
|
||||
public enum DpTypeEnum
|
||||
{
|
||||
[Display(Name = "_Admin.GroupDp")]
|
||||
UserGroup,
|
||||
[Display(Name = "_Admin.UserDp")]
|
||||
User
|
||||
}
|
||||
|
||||
public class DataPrivilegeSearcher : BaseSearcher
|
||||
{
|
||||
[Display(Name = "_Admin.Account")]
|
||||
public string Name { get; set; }
|
||||
[Display(Name = "_Admin.Privileges")]
|
||||
public string TableName { get; set; }
|
||||
public List<ComboSelectListItem> TableNames { get; set; }
|
||||
|
||||
[Display(Name = "_Admin.DpType")]
|
||||
public DpTypeEnum DpType { get; set; }
|
||||
public Guid? DomainID { get; set; }
|
||||
public List<ComboSelectListItem> AllDomains { get; set; }
|
||||
protected override void InitVM()
|
||||
{
|
||||
TableNames = new List<ComboSelectListItem>();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user