Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mall.oytour.com
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
mall.oytour.com
Commits
90cff667
Commit
90cff667
authored
May 06, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增订单表+枚举
parent
258d529b
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
484 additions
and
6 deletions
+484
-6
OrderDeliveryMethodEnum.cs
Mall.Common/Enum/Goods/OrderDeliveryMethodEnum.cs
+31
-0
OrderPaymentTypeEnum.cs
Mall.Common/Enum/Goods/OrderPaymentTypeEnum.cs
+26
-0
OrderStatusEnum.cs
Mall.Common/Enum/Goods/OrderStatusEnum.cs
+51
-0
OrderTypeEnum.cs
Mall.Common/Enum/Goods/OrderTypeEnum.cs
+66
-0
Mall.Common.csproj
Mall.Common/Mall.Common.csproj
+1
-1
RB_Goods_Log.cs
Mall.Model/Entity/Product/RB_Goods_Log.cs
+74
-0
RB_Goods_Order.cs
Mall.Model/Entity/Product/RB_Goods_Order.cs
+6
-5
RB_Goods_OrderCommission.cs
Mall.Model/Entity/Product/RB_Goods_OrderCommission.cs
+114
-0
RB_Goods_ExpressRelevance_Extend.cs
....Model/Extend/Product/RB_Goods_ExpressRelevance_Extend.cs
+18
-0
RB_Goods_Log_Extend.cs
Mall.Model/Extend/Product/RB_Goods_Log_Extend.cs
+18
-0
RB_Goods_OrderCommission_Extend.cs
Mall.Model/Extend/Product/RB_Goods_OrderCommission_Extend.cs
+18
-0
RB_Goods_OrderDetail_Extend.cs
Mall.Model/Extend/Product/RB_Goods_OrderDetail_Extend.cs
+18
-0
RB_Goods_OrderExpress_Extend.cs
Mall.Model/Extend/Product/RB_Goods_OrderExpress_Extend.cs
+18
-0
RB_Goods_Order_Extend.cs
Mall.Model/Extend/Product/RB_Goods_Order_Extend.cs
+25
-0
RB_ImageCommonModel.cs
Mall.Model/Extend/Product/RB_ImageCommonModel.cs
+0
-0
No files found.
Mall.Common/Enum/Goods/OrderDeliveryMethodEnum.cs
0 → 100644
View file @
90cff667
using
Mall.Common.Plugin
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Mall.Common.Enum.Goods
{
/// <summary>
/// 订单配送方式枚举
/// </summary>
public
enum
OrderDeliveryMethodEnum
{
/// <summary>
/// 快递配送
/// </summary>
[
EnumField
(
"快递配送"
)]
ExpressDistribution
=
1
,
/// <summary>
/// 到店核销
/// </summary>
[
EnumField
(
"到店核销"
)]
VerificationShop
=
2
,
/// <summary>
/// 同城配送
/// </summary>
[
EnumField
(
"同城配送"
)]
CityDistribution
=
3
}
}
Mall.Common/Enum/Goods/OrderPaymentTypeEnum.cs
0 → 100644
View file @
90cff667
using
Mall.Common.Plugin
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Mall.Common.Enum.Goods
{
/// <summary>
/// 订单支付类型枚举
/// </summary>
public
enum
OrderPaymentTypeEnum
{
/// <summary>
/// 在线支付
/// </summary>
[
EnumField
(
"在线支付"
)]
OnlinePayment
=
1
,
/// <summary>
/// 线下支付
/// </summary>
[
EnumField
(
"线下支付"
)]
OfflinePayment
=
2
}
}
Mall.Common/Enum/Goods/OrderStatusEnum.cs
0 → 100644
View file @
90cff667
using
Mall.Common.Plugin
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Mall.Common.Enum.Goods
{
/// <summary>
/// 订单状态枚举
/// </summary>
public
enum
OrderStatusEnum
{
/// <summary>
/// 未付款
/// </summary>
[
EnumField
(
"未付款"
)]
NonPayment
=
1
,
/// <summary>
/// 待发货
/// </summary>
[
EnumField
(
"待发货"
)]
WaitSendGoods
=
2
,
/// <summary>
/// 待收货
/// </summary>
[
EnumField
(
"待收货"
)]
WaitReceiving
=
3
,
/// <summary>
/// 已收货
/// </summary>
[
EnumField
(
"已收货"
)]
Received
=
4
,
/// <summary>
/// 已完成
/// </summary>
[
EnumField
(
"已完成"
)]
Completed
=
5
,
/// <summary>
/// 待处理
/// </summary>
[
EnumField
(
"待处理"
)]
WaitDeal
=
6
,
/// <summary>
/// 已取消
/// </summary>
[
EnumField
(
"已取消"
)]
Cancel
=
7
}
}
Mall.Common/Enum/Goods/OrderTypeEnum.cs
0 → 100644
View file @
90cff667
using
Mall.Common.Plugin
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
namespace
Mall.Common.Enum.Goods
{
/// <summary>
/// 订单类型枚举
/// </summary>
public
enum
OrderTypeEnum
{
/// <summary>
/// 商场
/// </summary>
[
EnumField
(
"商场"
)]
Mall
=
1
,
/// <summary>
/// 砍价
/// </summary>
[
EnumField
(
"砍价"
)]
CutPrice
=
2
,
/// <summary>
/// 预约
/// </summary>
[
EnumField
(
"预约"
)]
Reservation
=
3
,
/// <summary>
/// 拼团
/// </summary>
[
EnumField
(
"拼团"
)]
GroupBooking
=
4
,
/// <summary>
/// 刮刮卡
/// </summary>
[
EnumField
(
"刮刮卡"
)]
ScratchCard
=
5
,
/// <summary>
/// 幸运抽奖
/// </summary>
[
EnumField
(
"幸运抽奖"
)]
LuckyDraw
=
6
,
/// <summary>
/// 积分商城
/// </summary>
[
EnumField
(
"积分商城"
)]
Integral
=
7
,
/// <summary>
/// 当面付
/// </summary>
[
EnumField
(
"当面付"
)]
InPersonToPay
=
8
,
/// <summary>
/// 超级会员卡
/// </summary>
[
EnumField
(
"超级会员卡"
)]
SuperCard
=
9
,
/// <summary>
/// 商品预售
/// </summary>
[
EnumField
(
"商品预售"
)]
GoodsToBooking
=
10
}
}
Mall.Common/Mall.Common.csproj
View file @
90cff667
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<PropertyGroup>
<TargetFramework>netcoreapp3.0</TargetFramework>
<TargetFramework>netcoreapp3.0</TargetFramework>
...
...
Mall.Model/Entity/Product/RB_Goods_Log.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
Mall.Common.Enum.User
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Mall.Model.Entity.Product
{
/// <summary>
/// 商品订单日志信息表实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_Log
{
/// <summary>
/// Id
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 来源id
/// </summary>
public
int
?
SourceId
{
get
;
set
;
}
/// <summary>
/// 来源类型 1订单 2商品
/// </summary>
public
int
?
Type
{
get
;
set
;
}
/// <summary>
/// 操作内容
/// </summary>
public
string
Content
{
get
;
set
;
}
/// <summary>
/// 商户号
/// </summary>
public
int
TenantId
{
get
;
set
;
}
/// <summary>
/// 小程序id
/// </summary>
public
int
MallBaseId
{
get
;
set
;
}
/// <summary>
/// CreateDate
/// </summary>
public
DateTime
?
CreateDate
{
get
;
set
;
}
}
}
Mall.Model/Entity/Product/RB_Goods_Order.cs
View file @
90cff667
using
Mall.Common.AOP
;
using
Mall.Common.AOP
;
using
Mall.Common.Enum.Goods
;
using
Mall.Common.Enum.User
;
using
Mall.Common.Enum.User
;
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Collections.Generic
;
...
@@ -49,7 +50,7 @@ namespace Mall.Model.Entity.Product
...
@@ -49,7 +50,7 @@ namespace Mall.Model.Entity.Product
/// <summary>
/// <summary>
/// 订单来源(平台) 枚举
/// 订单来源(平台) 枚举
/// </summary>
/// </summary>
public
int
?
OrderSource
public
UserSourceEnum
?
OrderSource
{
{
get
;
get
;
set
;
set
;
...
@@ -57,7 +58,7 @@ namespace Mall.Model.Entity.Product
...
@@ -57,7 +58,7 @@ namespace Mall.Model.Entity.Product
/// <summary>
/// <summary>
/// 订单类型 枚举
/// 订单类型 枚举
/// </summary>
/// </summary>
public
int
?
OrderType
public
OrderTypeEnum
?
OrderType
{
{
get
;
get
;
set
;
set
;
...
@@ -65,7 +66,7 @@ namespace Mall.Model.Entity.Product
...
@@ -65,7 +66,7 @@ namespace Mall.Model.Entity.Product
/// <summary>
/// <summary>
/// 支付方式 枚举
/// 支付方式 枚举
/// </summary>
/// </summary>
public
int
?
PaymentWay
public
OrderPaymentTypeEnum
?
PaymentWay
{
{
get
;
get
;
set
;
set
;
...
@@ -97,7 +98,7 @@ namespace Mall.Model.Entity.Product
...
@@ -97,7 +98,7 @@ namespace Mall.Model.Entity.Product
/// <summary>
/// <summary>
/// 配送方式
/// 配送方式
/// </summary>
/// </summary>
public
int
?
DeliveryMethod
public
OrderDeliveryMethodEnum
?
DeliveryMethod
{
{
get
;
get
;
set
;
set
;
...
@@ -209,7 +210,7 @@ namespace Mall.Model.Entity.Product
...
@@ -209,7 +210,7 @@ namespace Mall.Model.Entity.Product
/// <summary>
/// <summary>
/// 订单状态 枚举
/// 订单状态 枚举
/// </summary>
/// </summary>
public
int
?
OrderStatus
public
OrderStatusEnum
?
OrderStatus
{
{
get
;
get
;
set
;
set
;
...
...
Mall.Model/Entity/Product/RB_Goods_OrderCommission.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
Mall.Common.Enum.User
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
namespace
Mall.Model.Entity.Product
{
/// <summary>
/// 商品订单返佣信息表实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_OrderCommission
{
/// <summary>
/// Id
/// </summary>
public
int
Id
{
get
;
set
;
}
/// <summary>
/// 订单id
/// </summary>
public
int
?
OrderId
{
get
;
set
;
}
/// <summary>
/// 分销商id
/// </summary>
public
int
?
UserId
{
get
;
set
;
}
/// <summary>
/// 等级 一级分销 二级分销 (跟下线正好相反) 0表示自购返佣
/// </summary>
public
int
?
Grade
{
get
;
set
;
}
/// <summary>
/// 佣金
/// </summary>
public
decimal
?
Commission
{
get
;
set
;
}
/// <summary>
/// 是否是商品设置分销反佣 1是 2否
/// </summary>
public
int
?
IsGoodsDistribution
{
get
;
set
;
}
/// <summary>
/// 佣金状态 1待返佣 2已返佣
/// </summary>
public
int
?
CommissionState
{
get
;
set
;
}
/// <summary>
/// Remark
/// </summary>
public
string
Remark
{
get
;
set
;
}
/// <summary>
/// 商户号
/// </summary>
public
int
TenantId
{
get
;
set
;
}
/// <summary>
/// 小程序id
/// </summary>
public
int
MallBaseId
{
get
;
set
;
}
/// <summary>
/// CreateDate
/// </summary>
public
DateTime
?
CreateDate
{
get
;
set
;
}
/// <summary>
/// UpdateDate
/// </summary>
public
DateTime
?
UpdateDate
{
get
;
set
;
}
}
}
Mall.Model/Extend/Product/RB_Goods_ExpressRelevance_Extend.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
Mall.Model.Entity.Product
;
namespace
Mall.Model.Extend.Product
{
/// <summary>
/// 商品订单快递关联表扩展实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_ExpressRelevance_Extend
:
RB_Goods_ExpressRelevance
{
}
}
Mall.Model/Extend/Product/RB_Goods_Log_Extend.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
Mall.Model.Entity.Product
;
namespace
Mall.Model.Extend.Product
{
/// <summary>
/// 商品订单日志表扩展实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_Log_Extend
:
RB_Goods_Log
{
}
}
Mall.Model/Extend/Product/RB_Goods_OrderCommission_Extend.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
Mall.Model.Entity.Product
;
namespace
Mall.Model.Extend.Product
{
/// <summary>
/// 商品订单返佣表扩展实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_OrderCommission_Extend
:
RB_Goods_OrderCommission
{
}
}
Mall.Model/Extend/Product/RB_Goods_OrderDetail_Extend.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
Mall.Model.Entity.Product
;
namespace
Mall.Model.Extend.Product
{
/// <summary>
/// 商品订单明细表扩展实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_OrderDetail_Extend
:
RB_Goods_OrderDetail
{
}
}
Mall.Model/Extend/Product/RB_Goods_OrderExpress_Extend.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
Mall.Model.Entity.Product
;
namespace
Mall.Model.Extend.Product
{
/// <summary>
/// 商品订单快递表扩展实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_OrderExpress_Extend
:
RB_Goods_OrderExpress
{
}
}
Mall.Model/Extend/Product/RB_Goods_Order_Extend.cs
0 → 100644
View file @
90cff667
using
Mall.Common.AOP
;
using
System
;
using
System.Collections.Generic
;
using
System.Text
;
using
Mall.Model.Entity.Product
;
namespace
Mall.Model.Extend.Product
{
/// <summary>
/// 商品订单表扩展实体
/// </summary>
[
Serializable
]
[
DB
(
ConnectionName
=
"DefaultConnection"
)]
public
class
RB_Goods_Order_Extend
:
RB_Goods_Order
{
/// <summary>
/// 开始时间
/// </summary>
public
string
StartTime
{
get
;
set
;
}
/// <summary>
/// 结束时间
/// </summary>
public
string
EndTime
{
get
;
set
;
}
}
}
Mall.Model/Extend/Product/RB_
Goods_Area
.cs
→
Mall.Model/Extend/Product/RB_
ImageCommonModel
.cs
View file @
90cff667
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment