|
訂單商品表(wst_order_goods)
|
字段名稱 |
字段說明 |
字段描述 |
類型 |
長度 |
默認(rèn) |
必填 |
|
id |
自增ID |
|
int |
11 |
|
是 |
1 |
orderId |
訂單ID |
|
int |
11 |
|
是 |
2 |
goodsId |
商品ID |
|
int |
11 |
|
是 |
3 |
goodsNum |
商品數(shù)量 |
|
int |
11 |
0 |
是 |
4 |
goodsPrice |
商品價格 |
|
decimal |
11,2 |
0.00 |
是 |
5 |
goodsSpecId |
商品-規(guī)格ID |
|
int |
11 |
0 |
|
6 |
goodsSpecNames |
商品-規(guī)格值列表 |
|
varchar |
500 |
|
|
7 |
goodsName |
商品名稱 |
|
varchar |
200 |
|
是 |
8 |
goodsImg |
商品圖 |
|
varchar |
150 |
|
是 |
9 |
commissionRate |
商品傭金比率 |
|
decimal |
11,2 |
0.00 |
|
10 |
extraJson |
額外信息 |
目前用來存放虛擬商品的卡券號 |
text |
|
|
|
11 |
goodsType |
商品類型 |
0:實(shí)物商品 1:虛擬商品 |
tinyint |
4 |
0 |
是 |
12 |
commission |
分銷傭金 |
|
decimal |
11,2 |
0.00 |
|
13 |
goodsCode |
商品標(biāo)記 |
gift:贈品 |
varchar |
20 |
|
|
14 |
promotionJson |
商品所參與的優(yōu)惠活動json記錄 |
|
text |
|
|
|
15 |
couponVal |
優(yōu)惠券減免金額 |
|
decimal |
11,2 |
0.00 |
是 |
16 |
rewardVal |
滿減減免金額 |
|
decimal |
11,2 |
0.00 |
是 |
17 |
useScoreVal |
商品使用的積分 |
|
int unsigned |
10 |
0 |
是 |
18 |
scoreMoney |
積分抵扣金額 |
|
decimal |
11,2 |
0.00 |
是 |
19 |
getScoreVal |
購買該商品獲得的積分?jǐn)?shù) |
|
int unsigned |
10 |
0 |
是 |
20 |
getScoreMoney |
獲得的積分?jǐn)?shù)可抵扣的金額 |
|
decimal |
11,2 |
0.00 |
是 |
21 |
orderGoodscommission |
訂單商品傭金 |
|
decimal |
11,2 |
0.00 |
|
|