Autore | SHA1 | Messaggio | Data |
---|---|---|---|
DESKTOP-BP1469S\1 | 10664cb567 | 枚举整体迁移 | 2 anni fa |
stevelee | 05a65b4679 | 添加默认 | 2 anni fa |
@@ -0,0 +1,27 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.ComponentModel; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
/// <summary> | |||
/// 分账账户类型 | |||
/// </summary> | |||
public enum AccountType | |||
{ | |||
/// <summary> | |||
/// 商户 | |||
/// </summary> | |||
[Description("商户")] | |||
MERCHANT = 0, | |||
/// <summary> | |||
/// 个人 | |||
/// </summary> | |||
[Description("个人")] | |||
PERSONAL = 1, | |||
} | |||
} |
@@ -0,0 +1,90 @@ | |||
using System.ComponentModel; | |||
namespace BPA.Common.Eums | |||
{ | |||
/// <summary> | |||
/// 公共状态 | |||
/// </summary> | |||
public enum CommonStatus | |||
{ | |||
/// <summary> | |||
/// 正常 | |||
/// </summary> | |||
[Description("正常")] | |||
ENABLE = 0, | |||
/// <summary> | |||
/// 停用 | |||
/// </summary> | |||
[Description("停用")] | |||
DISABLE = 1, | |||
/// <summary> | |||
/// 删除 | |||
/// </summary> | |||
[Description("删除")] | |||
DELETED = 2 | |||
} | |||
public enum MenuTypeEnums | |||
{ | |||
/// <summary> | |||
/// 数据操作类型 | |||
/// </summary> | |||
Handle, | |||
/// <summary> | |||
/// 普通菜单 | |||
/// </summary> | |||
Normal | |||
} | |||
/// <summary> | |||
/// 账号类型 | |||
/// </summary> | |||
public enum AdminEnums | |||
{ | |||
/// <summary> | |||
/// 超级管理员 | |||
/// </summary> | |||
[Description("超级管理员")] | |||
SuperAdmin = 1, | |||
/// <summary> | |||
/// 管理员 | |||
/// </summary> | |||
[Description("管理员")] | |||
Admin = 2, | |||
/// <summary> | |||
/// 普通账号 | |||
/// </summary> | |||
[Description("普通账号")] | |||
None = 3 | |||
} | |||
/// <summary> | |||
/// 会员平台 | |||
/// </summary> | |||
public enum PlatformType | |||
{ | |||
/// <summary> | |||
/// 默认 | |||
/// </summary> | |||
[Description("默认")] | |||
Default = 0, | |||
/// <summary> | |||
/// 微信 | |||
/// </summary> | |||
[Description("微信")] | |||
WeChat=1, | |||
/// <summary> | |||
/// 支付宝 | |||
/// </summary> | |||
[Description("支付宝")] | |||
Alipay = 2, | |||
/// <summary> | |||
/// 全部 | |||
/// </summary> | |||
[Description("全部")] | |||
Whole = 3, | |||
} | |||
} |
@@ -0,0 +1,21 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.ComponentModel; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
public enum CouponUseType | |||
{ | |||
[Description("未使用")] | |||
NoUse=1, | |||
[Description("已核销")] | |||
WriteOff=2, | |||
[Description("占用中")] | |||
Occupied=3, | |||
[Description("已失效")] | |||
Invalidation=4 | |||
} | |||
} |
@@ -0,0 +1,42 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.ComponentModel; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
public enum DataScopeType | |||
{ | |||
/// <summary> | |||
/// 全部数据 | |||
/// </summary> | |||
[Description("全部数据")] | |||
ALL = 1, | |||
/// <summary> | |||
/// 本部门及以下数据 | |||
/// </summary> | |||
[Description("本部门及以下数据")] | |||
DEPT_WITH_CHILD = 2, | |||
/// <summary> | |||
/// 本部门数据 | |||
/// </summary> | |||
[Description("本部门数据")] | |||
DEPT = 3, | |||
/// <summary> | |||
/// 仅本人数据 | |||
/// </summary> | |||
[Description("仅本人数据")] | |||
SELF = 4, | |||
/// <summary> | |||
/// 自定义数据 | |||
/// </summary> | |||
[Description("自定义数据")] | |||
DEFINE = 5 | |||
} | |||
} |
@@ -0,0 +1,44 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
public class IntegralEnum | |||
{ | |||
public enum CalculateType | |||
{ | |||
积分方案 = 1, | |||
多倍积分 = 2, | |||
独立计算 = 3 | |||
} | |||
/// <summary> | |||
/// 积分增加/减少类型 | |||
/// </summary> | |||
public enum IntegSourceType | |||
{ | |||
订单消费 = 1, | |||
活动赠送 = 2, | |||
后台补充 = 3, | |||
积分兑换 = 4, | |||
} | |||
/// <summary> | |||
/// 小类方案类型 | |||
/// </summary> | |||
public enum allTypes | |||
{ | |||
common = 0, | |||
price = 1, | |||
big = 2, | |||
small = 3, | |||
count = 4, | |||
persons = 5, | |||
number = 6 | |||
} | |||
} | |||
} |
@@ -0,0 +1,34 @@ | |||
using System.ComponentModel; | |||
namespace BPA.Common.Eums | |||
{ | |||
/// <summary> | |||
/// 系统菜单类型 | |||
/// </summary> | |||
public enum MenuOpenType | |||
{ | |||
/// <summary> | |||
/// 无 | |||
/// </summary> | |||
[Description("无")] | |||
NONE = 0, | |||
/// <summary> | |||
/// 组件 | |||
/// </summary> | |||
[Description("组件")] | |||
COMPONENT = 1, | |||
/// <summary> | |||
/// 内链 | |||
/// </summary> | |||
[Description("内链")] | |||
INNER = 2, | |||
/// <summary> | |||
/// 外链 | |||
/// </summary> | |||
[Description("外链")] | |||
OUTER = 3 | |||
} | |||
} |
@@ -0,0 +1,25 @@ | |||
using System.ComponentModel; | |||
namespace BPA.Common.Eums | |||
{ | |||
public enum MenuType | |||
{ | |||
/// <summary> | |||
/// 目录 | |||
/// </summary> | |||
[Description("目录")] | |||
DIR = 0, | |||
/// <summary> | |||
/// 菜单 | |||
/// </summary> | |||
[Description("菜单")] | |||
MENU = 1, | |||
/// <summary> | |||
/// 按钮 | |||
/// </summary> | |||
[Description("按钮")] | |||
BTN = 2 | |||
} | |||
} |
@@ -0,0 +1,21 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
public class OrderEnum | |||
{ | |||
public enum SubOrderCookingStutas | |||
{ | |||
WaitMake = 0, | |||
Making = 1, | |||
WaitTake = 2, | |||
TakeCompleted = 3, | |||
Normal = 99998, | |||
Error = 99999 | |||
} | |||
} | |||
} |
@@ -0,0 +1,35 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.ComponentModel; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
public enum OrgType | |||
{ | |||
/// <summary> | |||
/// 机构部门 | |||
/// </summary> | |||
[Description("机构部门")] | |||
ORG = 0, | |||
/// <summary> | |||
/// 配送中心 | |||
/// </summary> | |||
[Description("配送中心")] | |||
DEVLIVERY = 1, | |||
/// <summary> | |||
/// 门店 | |||
/// </summary> | |||
[Description("门店")] | |||
STORE = 2, | |||
/// <summary> | |||
/// 门店 | |||
/// </summary> | |||
[Description("加盟店")] | |||
FranchiseeSTORE = 3 | |||
} | |||
} |
@@ -0,0 +1,39 @@ | |||
using System; | |||
using System.Collections.Generic; | |||
using System.ComponentModel; | |||
using System.Linq; | |||
using System.Text; | |||
using System.Threading.Tasks; | |||
namespace BPA.Common.Eums | |||
{ | |||
public enum SRDUserType | |||
{ | |||
/// <summary> | |||
/// 人员 | |||
/// </summary> | |||
[Description("人员")] | |||
USER = 0, | |||
/// <summary> | |||
/// 人员分类 | |||
/// </summary> | |||
[Description("人员分类")] | |||
USERTYPE = 1, | |||
} | |||
public enum RSDGroupType | |||
{ | |||
/// <summary> | |||
/// 设备 | |||
/// </summary> | |||
[Description("设备")] | |||
RSD = 0, | |||
/// <summary> | |||
/// 设备分组 | |||
/// </summary> | |||
[Description("设备分组")] | |||
RSDGROUP = 1, | |||
} | |||
} |