init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Zhaizj.Framework.Common.Security {
|
||||
|
||||
/// <summary>
|
||||
/// action ½Ó¿Ú
|
||||
/// </summary>
|
||||
public interface IAction {
|
||||
|
||||
int Id { get; set; }
|
||||
String Name { get; set; }
|
||||
String ActionUrl { get; set; }
|
||||
String Tip { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
namespace Zhaizj.Framework.Common.Security {
|
||||
|
||||
/// <summary>
|
||||
/// ½ÇÉ«½Ó¿Ú
|
||||
/// </summary>
|
||||
public interface IRole {
|
||||
|
||||
int Id { get; set; }
|
||||
String Name { get; set; }
|
||||
|
||||
IRole Role { get; set; }
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
|
||||
namespace Zhaizj.Framework.Common.Security {
|
||||
|
||||
/// <summary>
|
||||
/// 可存储权限数据的对象接口
|
||||
/// </summary>
|
||||
public interface ISecurity {
|
||||
|
||||
String Security { get; set; }
|
||||
Result update();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Text;
|
||||
|
||||
namespace Zhaizj.Framework.Common.Security {
|
||||
|
||||
/// <summary>
|
||||
/// 权限系统中的 action 接口
|
||||
/// </summary>
|
||||
public interface ISecurityAction {
|
||||
|
||||
int Id { get; set; }
|
||||
String Name { get; set; }
|
||||
String Url { get; set; }
|
||||
|
||||
IList findAll();
|
||||
ISecurityAction GetById( int id );
|
||||
void insert();
|
||||
Result update();
|
||||
void delete();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user