字段 类型 默认 注释
id int(11) NO id
uniacid INT(11) NO 公众号id
coupon_type_id integer NO 优惠券类型id
goods_id Integer NO 商品id
coupon_name string YES 优惠券类型名称
code string YES 二维码路径
small string YES 小程序二维码路径
generation_mode tinyInteger YES 1 生成方式 1-公众号 2-小程序
grant_num integer YES 0 发放数量
status tinyInteger YES 0 状态
created_at int(11) YES 创建时间
updated_at int(11) YES 更新时间
deleted_at int(11) YES 删除时间