数据表:ims_yz_store_attendance_cycle_deduct(门店打卡--周期扣除签到次数表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | bigint unsigned | - | 非空、自增 | |
uniacid | integer | - | 非空 | 公众号ID |
today_set_id | integer | - | 非空 | 模式设置id |
member_id | integer | - | - | 会员ID |
goods_id | integer | - | - | 商品ID |
order_id | integer | - | - | 订单ID |
cycle_type | integer | - | 非空 | 周期类型: 1=购买商品计算类型, 2=剩余签到次数类型 |
status | integer | - | 非空 | 执行状态: 1 = 正在执行, 2 = 执行完成, 3 = 停止执行 |
day | integer | - | 非空 | 执行天数 |
total_count | integer | - | 非空 | 赠送总次数 |
executed_count | integer | - | 非空 | 已执行次数 |
cycle_count | integer | - | 非空 | 周期扣除次数 |
last_count | integer | - | 非空 | 最后一次扣除次数 |
start_date | date | - | 非空 | 开始时间 |
end_date | date | - | 非空 | 结束时间 |
created_at | integer | - | 非空 | 创建时间 |
updated_at | integer | - | 非空 | 更新时间 |
