数据表:ims_yz_blind_box_order_goods(盲盒--盲盒订单商品表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer unsigned | - | 非空、自增 | |
order_id | integer | - | 非空 | 订单表id |
uid | integer | - | 非空 | 会员id |
activity_id | integer | - | 非空 | 活动id |
goods_id | integer | - | 非空 | 商品id |
goods_option_id | integer | - | 非空 | 商品规格id |
goods_option_title | string(255) | - | - | 商品规格名 |
title | string(255) | - | 非空 | 商品标题 |
thumb | string(255) | - | 非空 | 商品图片 |
goods_price | decimal | - | 非空 | 商品现价 |
total | integer | - | 非空 | 商品数量 |
plugin_id | integer | - | 非空 | 插件id |
price | decimal | - | 非空 | 成交价 |
order_ids | text(65535) | - | 非空 | 拆单后的订单id集合json |
created_at | integer | - | 非空 | |
updated_at | integer | - | - | |
deleted_at | integer | - | - | |
goods_market_price | decimal | - | 非空 | 商品原价 |
goods_cost_price | decimal | - | 非空 | 商品成本价 |
payment_amount | decimal | - | 非空 | 商品均摊价 |
