数据表:ims_yz_bind_coupon_log(绑定优惠券--用户优惠券表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer unsigned | - | 非空、自增 | |
uniacid | integer unsigned | - | 非空 | 公众号id |
coupon_sn | string(255) | - | 非空 | 券号 |
coupon_id | integer | - | 非空 | 优惠券ID |
bind_coupon_id | integer | - | 非空 | 绑定优惠券ID |
status | boolean | 0 | 非空 | 0待领取 1已领取 -1已失效 |
uid | integer | 0 | 非空 | 领取会员ID |
finish_time | integer | - | - | 领取时间 |
invalid_time | integer | - | - | 失效时间 |
created_at | integer | - | - | |
updated_at | integer | - | - | |
deleted_at | integer | - | - | |
share_uid | integer | 0 | 非空 | 分享人会员ID |
share_coupon_id | integer | 0 | 非空 | 分享人转让的优惠券ID |
