数据表:ims_yz_store_goods_depot_goods(门店商品库--商品表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | bigint unsigned | - | 非空、自增 | |
uniacid | integer | - | 非空 | |
brand_id | integer | - | 非空 | 品牌ID |
type | boolean | 1 | 非空 | 类型1实体2虚拟 |
status | boolean | 1 | 非空 | 状态1上架0下架 |
display_order | integer | 0 | 非空 | 排序 |
title | string(300) | - | 非空 | 名称 |
thumb | string(255) | - | 非空 | 主图 |
thumb_url | text(65535) | - | - | 轮播图 |
sku | string(5) | - | - | 单位 |
content | text | - | - | 描述 |
goods_sn | string(50) | - | - | 编号 |
product_sn | string(50) | - | - | 条码 |
market_price | decimal | 0.00 | - | 原价 |
price | decimal | 0.00 | - | 现价 |
cost_price | decimal | 0.00 | - | 成本价 |
weight | decimal | 0.00 | - | 重量 |
has_option | integer | 0 | - | 是否启用规格 |
volume | decimal | - | - | 体积 |
alias | string(255) | - | 非空 | 商品别名 |
is_hide | boolean | 1 | 非空 | 是否隐藏:1显示,2隐藏 |
min_price | decimal | - | - | 最低价(开启规格即规格最低) |
max_price | decimal | - | - | 最高价(开启规格即规格最高) |
is_show | boolean | 1 | 非空 | 是否显示:1显示,0隐藏 |
created_at | integer | - | - | |
updated_at | integer | - | - | |
deleted_at | integer | - | - | |
shop_goods_id | integer | 0 | 非空 | 商城商品ID,有则表示该商品库商品由商城导入 |
