Common/Constants.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
namespace OPMS
{
/// <summary>
/// 系统中使用的常量,枚举类等,各自根据需要自行添加
/// </summary>
public class Constants
{
/// <summary>
/// 文件类别
/// </summary>
public enum FileType
{
Word = 1,
Excel = 2,
Text = 3,
PDF = 4,
Html = 5,
}
}
[Description("菜单项可操作权限")]
public enum Authority : int
{
[Description("添加")]
Create = 1,
[Description("编辑")]
Edit = 2,
[Description("删除")]
Delete = 3,
[Description("详细")]
Details = 4,
[Description("搜索")]
Search = 5,
[Description("导出")]
Export = 7,
[Description("打印")]
Print = 8,
[Description("下载")]
Download = 9,
[Description("设置")]
Set = 10
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
