Procházet zdrojové kódy

枚举结构分区

dev_1.0.2
DESKTOP-BP1469S\1 před 2 roky
rodič
revize
a7f9af8762
12 změnil soubory, kde provedl 80 přidání a 85 odebrání
  1. +2
    -2
      src/BPA.Common.Eums/Account/EnumAccountType.cs
  2. +2
    -2
      src/BPA.Common.Eums/Appreciation/EnumCouponUseType.cs
  3. +41
    -0
      src/BPA.Common.Eums/Appreciation/IntegralEnum.cs
  4. +5
    -5
      src/BPA.Common.Eums/Common/EnumCommonStatus.cs
  5. +2
    -2
      src/BPA.Common.Eums/Common/EnumDataScopeType.cs
  6. +4
    -3
      src/BPA.Common.Eums/Common/EnumSRDUserType.cs
  7. +0
    -44
      src/BPA.Common.Eums/IntegralEnum.cs
  8. +2
    -2
      src/BPA.Common.Eums/Menu/EnumMenuOpenType.cs
  9. +2
    -2
      src/BPA.Common.Eums/Menu/EnumMenuType.cs
  10. +18
    -0
      src/BPA.Common.Eums/Order/OrderEnum.cs
  11. +0
    -21
      src/BPA.Common.Eums/OrderEnum.cs
  12. +2
    -2
      src/BPA.Common.Eums/Org/EnumOrgType.cs

src/BPA.Common.Eums/AccountType.cs → src/BPA.Common.Eums/Account/EnumAccountType.cs Zobrazit soubor

@@ -5,12 +5,12 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Account
{
/// <summary>
/// 分账账户类型
/// </summary>
public enum AccountType
public enum EnumAccountType
{
/// <summary>
/// 商户

src/BPA.Common.Eums/CouponUseType.cs → src/BPA.Common.Eums/Appreciation/EnumCouponUseType.cs Zobrazit soubor

@@ -5,9 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Appreciation.Coupon
{
public enum CouponUseType
public enum EnumCouponUseType
{
[Description("未使用")]
NoUse=1,

+ 41
- 0
src/BPA.Common.Eums/Appreciation/IntegralEnum.cs Zobrazit soubor

@@ -0,0 +1,41 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums.Appreciation.Integ
{
public enum EnumCalculateType
{
积分方案 = 1,
多倍积分 = 2,
独立计算 = 3
}

/// <summary>
/// 积分增加/减少类型
/// </summary>
public enum EnumIntegSourceType
{

订单消费 = 1,
活动赠送 = 2,
后台补充 = 3,
积分兑换 = 4,
}

/// <summary>
/// 小类方案类型
/// </summary>
public enum EnumallTypes
{
common = 0,
price = 1,
big = 2,
small = 3,
count = 4,
persons = 5,
number = 6
}
}

src/BPA.Common.Eums/CommonStatus.cs → src/BPA.Common.Eums/Common/EnumCommonStatus.cs Zobrazit soubor

@@ -1,11 +1,11 @@
using System.ComponentModel;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Common
{
/// <summary>
/// 公共状态
/// </summary>
public enum CommonStatus
public enum EnumCommonStatus
{
/// <summary>
/// 正常
@@ -25,7 +25,7 @@ namespace BPA.Common.Eums
[Description("删除")]
DELETED = 2
}
public enum MenuTypeEnums
public enum EnumMenuTypeEnums
{
/// <summary>
/// 数据操作类型
@@ -39,7 +39,7 @@ namespace BPA.Common.Eums
/// <summary>
/// 账号类型
/// </summary>
public enum AdminEnums
public enum EnumAdminEnums
{
/// <summary>
/// 超级管理员
@@ -62,7 +62,7 @@ namespace BPA.Common.Eums
/// <summary>
/// 会员平台
/// </summary>
public enum PlatformType
public enum EnumPlatformType
{
/// <summary>
/// 默认

src/BPA.Common.Eums/DataScopeType.cs → src/BPA.Common.Eums/Common/EnumDataScopeType.cs Zobrazit soubor

@@ -5,9 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Common
{
public enum DataScopeType
public enum EnumDataScopeType
{
/// <summary>
/// 全部数据

src/BPA.Common.Eums/SRDUserType.cs → src/BPA.Common.Eums/Common/EnumSRDUserType.cs Zobrazit soubor

@@ -5,9 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Common
{
public enum SRDUserType
public enum EnumSRDUserType
{
/// <summary>
/// 人员
@@ -22,7 +22,8 @@ namespace BPA.Common.Eums
USERTYPE = 1,

}
public enum RSDGroupType

public enum EnumRSDGroupType
{
/// <summary>
/// 设备

+ 0
- 44
src/BPA.Common.Eums/IntegralEnum.cs Zobrazit soubor

@@ -1,44 +0,0 @@
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
}
}
}

src/BPA.Common.Eums/MenuOpenType.cs → src/BPA.Common.Eums/Menu/EnumMenuOpenType.cs Zobrazit soubor

@@ -1,11 +1,11 @@
using System.ComponentModel;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Menu
{
/// <summary>
/// 系统菜单类型
/// </summary>
public enum MenuOpenType
public enum EnumMenuOpenType
{
/// <summary>
/// 无

src/BPA.Common.Eums/MenuType.cs → src/BPA.Common.Eums/Menu/EnumMenuType.cs Zobrazit soubor

@@ -1,8 +1,8 @@
using System.ComponentModel;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Menu
{
public enum MenuType
public enum EnumMenuType
{
/// <summary>
/// 目录

+ 18
- 0
src/BPA.Common.Eums/Order/OrderEnum.cs Zobrazit soubor

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums.Order
{
public enum EnumSubOrderCookingStutas
{
WaitMake = 0,
Making = 1,
WaitTake = 2,
TakeCompleted = 3,
Normal = 99998,
Error = 99999
}
}

+ 0
- 21
src/BPA.Common.Eums/OrderEnum.cs Zobrazit soubor

@@ -1,21 +0,0 @@
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
}
}
}

src/BPA.Common.Eums/OrgType.cs → src/BPA.Common.Eums/Org/EnumOrgType.cs Zobrazit soubor

@@ -5,9 +5,9 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BPA.Common.Eums
namespace BPA.Common.Eums.Org
{
public enum OrgType
public enum EnumOrgType
{
/// <summary>
/// 机构部门

Načítá se…
Zrušit
Uložit