添加项目文件。
This commit is contained in:
21
Atomx.Common/Enums/CategoryType.cs
Normal file
21
Atomx.Common/Enums/CategoryType.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 分类类型
|
||||
/// </summary>
|
||||
public enum CategoryType
|
||||
{
|
||||
/// <summary>
|
||||
/// 内容
|
||||
/// </summary>
|
||||
Content,
|
||||
/// <summary>
|
||||
/// 产品
|
||||
/// </summary>
|
||||
Product,
|
||||
}
|
||||
}
|
||||
15
Atomx.Common/Enums/ConfigType.cs
Normal file
15
Atomx.Common/Enums/ConfigType.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
public enum ConfigType
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统设置
|
||||
/// </summary>
|
||||
System = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 产品分类
|
||||
/// </summary>
|
||||
ProductCategory = 10,
|
||||
}
|
||||
}
|
||||
18
Atomx.Common/Enums/DataStatus.cs
Normal file
18
Atomx.Common/Enums/DataStatus.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 数据状态
|
||||
/// </summary>
|
||||
public enum DataStatus
|
||||
{
|
||||
None = 0,
|
||||
/// <summary>
|
||||
/// 可用
|
||||
/// </summary>
|
||||
Enable = 1,
|
||||
/// <summary>
|
||||
/// 禁用
|
||||
/// </summary>
|
||||
Disable = 2,
|
||||
}
|
||||
}
|
||||
7
Atomx.Common/Enums/LocalizedType.cs
Normal file
7
Atomx.Common/Enums/LocalizedType.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
public enum LocalizedType
|
||||
{
|
||||
None,
|
||||
}
|
||||
}
|
||||
10
Atomx.Common/Enums/MaterialType.cs
Normal file
10
Atomx.Common/Enums/MaterialType.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 原料类型
|
||||
/// </summary>
|
||||
public enum MaterialType
|
||||
{
|
||||
Gold = 1
|
||||
}
|
||||
}
|
||||
18
Atomx.Common/Enums/MenuType.cs
Normal file
18
Atomx.Common/Enums/MenuType.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 菜单数据类型
|
||||
/// </summary>
|
||||
public enum MenuType
|
||||
{
|
||||
/// <summary>
|
||||
/// 未知
|
||||
/// </summary>
|
||||
None = 0,
|
||||
|
||||
/// <summary>
|
||||
/// 管理系统
|
||||
/// </summary>
|
||||
AdminSystem = 1
|
||||
}
|
||||
}
|
||||
28
Atomx.Common/Enums/MessageTemplateType.cs
Normal file
28
Atomx.Common/Enums/MessageTemplateType.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 消息通道
|
||||
/// </summary>
|
||||
public enum MessageTemplateType
|
||||
{
|
||||
/// <summary>
|
||||
/// 站内信
|
||||
/// </summary>
|
||||
Message = 1,
|
||||
|
||||
/// <summary>
|
||||
/// 电子邮件
|
||||
/// </summary>
|
||||
Email,
|
||||
|
||||
/// <summary>
|
||||
/// 短信
|
||||
/// </summary>
|
||||
Sms,
|
||||
|
||||
/// <summary>
|
||||
/// 应用推送
|
||||
/// </summary>
|
||||
Push
|
||||
}
|
||||
}
|
||||
13
Atomx.Common/Enums/ProductInventoryChangeType.cs
Normal file
13
Atomx.Common/Enums/ProductInventoryChangeType.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 产品库存变更类型
|
||||
/// </summary>
|
||||
public enum ProductInventoryChangeType
|
||||
{
|
||||
Initial = 0, // 初始库存
|
||||
StockIn = 1, // 入库
|
||||
StockOut = 2, // 出库
|
||||
ReturnIn = 3, //退货入库
|
||||
}
|
||||
}
|
||||
17
Atomx.Common/Enums/ResultCode.cs
Normal file
17
Atomx.Common/Enums/ResultCode.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
namespace Atomx.Common.Enums
|
||||
{
|
||||
/// <summary>
|
||||
/// 返回代码
|
||||
/// </summary>
|
||||
public enum ResultCode
|
||||
{
|
||||
/// <summary>
|
||||
/// 成功
|
||||
/// </summary>
|
||||
Success = 0,
|
||||
/// <summary>
|
||||
/// 失败
|
||||
/// </summary>
|
||||
Fail = 1
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user