数据表:ims_yz_cstore_goods(消费券联盟--商品表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer unsigned | - | 非空、自增 | |
uniacid | integer unsigned | - | 非空 | 公众号id |
goods_id | integer unsigned | - | 非空 | 商品ID |
start_time | integer | - | 非空 | 开始销售时间 |
end_time | integer | - | 非空 | 结束销售时间 |
auto_refund | boolean | 0 | 非空 | 过期自动退 |
expire_type | boolean | 1 | 非空 | 核销有效期 1同步销售时间 2购买后有效天数 3指定过期日期 |
expire_day | integer | 0 | 非空 | 核销有效天数(购买后有效天数) |
expire_time | integer | - | - | 核销过期时间(指定过期日期) |
is_self | boolean | 0 | 非空 | 是否自营 0不是 1是 |
is_free | boolean | 0 | 非空 | 是否霸王餐 0不是 1是 |
day_stock | integer | 0 | 非空 | 每日库存 |
warn_stock | integer | 0 | 非空 | 预警库存 |
examine_count | integer | 1 | 非空 | 核销次数 |
reward_love | decimal | 0.00 | 非空 | 核销商户爱心值奖励 |
reward_point | decimal | 0.00 | 非空 | 核销商户积分奖励 |
reward_money | decimal | 0.00 | 非空 | 核销商户奖励提成 |
offline_price | decimal | 0.00 | 非空 | 到店价 |
offline_cost_price | decimal | 0.00 | 非空 | 到店原价 |
offline_group_price | decimal | 0.00 | 非空 | 到店拼团价 |
offline_percent | decimal | 0.00 | 非空 | 到店折扣率 |
package_detail | text(65535) | - | - | 套餐详情 |
tag_ids | text(65535) | - | - | 标签ID,逗号分隔 |
buy_notice | text(65535) | - | - | 购买须知 |
share_text | text(65535) | - | - | 分享文案 |
visit_count | integer | 0 | 非空 | 浏览次数 |
created_at | integer | - | - | |
updated_at | integer | - | - | |
deleted_at | integer | - | - | |
day_rest_stock | integer | 0 | 非空 | 当前每日剩余库存 |
day_stock_refresh_time | integer | 0 | 非空 | 每日剩余库存刷新时间 |
operator_id | integer | 0 | 非空 | 添加商品的操作员ID |
is_new | boolean | 0 | 非空 | 是否已更新商户关联数据 1是 0否 |
all_store | boolean | 0 | 非空 | 是否商户全选 1是 0否 |
