|
@@ -5,9 +5,9 @@
|
|
|
| field | type | null | default | desc | extra |
|
|
|
|----|:-----|:-------|:------|:-----|:-----|
|
|
|
| id | bigint | no | | 主键 | pri |
|
|
|
-| cid | varchar(512) | no | | 课程编码 | |
|
|
|
+| oid | varchar(512) | no | | 课程编码 | |
|
|
|
+| type | smallint | no | | 商品类型, 课程/周边 | |
|
|
|
| merchant_id | bigint | no | | 渠道id | |
|
|
|
-| is_unit | smallint | no | 0 | 是否分单元 | |
|
|
|
| cost_price | double(16,2) | no | 0 | 成本价 | |
|
|
|
| sale_price | double(16,2) | no | 0 | 渠道价格 | |
|
|
|
| market_price | double(16,2) | no | 0 | 终端价格 | |
|