数据表:ims_yz_store_goods_depot_stock(门店商品库--库存管理表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | bigint unsigned | - | 非空、自增 | |
uniacid | integer | - | 非空 | 平台ID |
store_id | integer | - | 非空 | 门店ID |
depot_goods_id | integer | - | 非空 | 商品库商品ID |
depot_goods_option_id | integer | 0 | - | 商品库商品规格ID |
goods_id | integer | - | 非空 | 门店商品ID |
goods_option_id | integer | 0 | - | 门店商品规格ID |
stock | integer | 0 | 非空 | 库存 |
sales | integer | 0 | 非空 | 累计销量 |
auto_sync | boolean | 1 | 非空 | 自动同步开关:0关1开 |
created_at | integer | - | - | |
updated_at | integer | - | - | |
deleted_at | integer | - | - |
