阅读( 1 ) 我要纠错

数据表:ims_yz_coupon(优惠券--优惠券表)。

字段类型默认值约束说明
idinteger-非空、自增
uniacidinteger0-
cat_idinteger0-分类ID
namestring(255)--优惠券名称
get_typeboolean0-获取优惠券的方式
level_limitinteger0非空领取条件 - 会员等级
get_maxinteger0-每个人的限领数量
get_limit_maxinteger0非空每人每日限领数量
get_limit_typeboolean0非空每人每日限领状态
use_typeboolean unsigned0-使用方式
return_typeboolean0-
bgcolorstring(255)--背景颜色
enoughinteger0非空使用条件(消费金额前提)
coupon_typeboolean0-优惠券类型
time_limitboolean0-使用时间限制
time_daysinteger0-使用时间限制
time_startinteger0-起始使用时间
time_endinteger0-截止使用时间
wait_daysdecimal0.00非空x天后开始使用
coupon_methodboolean--优惠方式
discountdecimal0.00-优惠立减
deductdecimal0.00-优惠打折
back_typeboolean0-
back_moneystring(50)--
back_creditstring(50)--
back_redpackstring(50)--
back_whenboolean0-
thumbstring(255)--缩略图
desctext(65535)--描述说明
totalinteger0-优惠券发放总数
statusboolean0-是否启用
moneydecimal0.00-
resp_desctext(65535)--推送说明
resp_thumbstring(255)--推送缩略图
resp_titlestring(255)--推送标题
resp_urlstring(255)--推送链接
creditinteger0-
usecredit2boolean0-
remarkstring(1000)--备注
descnosetboolean0-
display_orderinteger0-排序
supplier_uidinteger0-供应商uid
getcashierboolean0非空
cashiersidstext(65535)--收银台id
cashiersnamestext(65535)--收银台名称
category_idstext(65535)--分类id
categorynamestext(65535)--分类名称
goods_namestext(65535)--商品名称
goods_idstext(65535)--商品id
storeidstext(65535)--门店id
storenamestext(65535)--门店名称
member_tags_idstext(65535)--会员标签id组
member_tags_namestext(65535)--会员标签名称
getstoreboolean0非空
getsupplierboolean0-
supplieridstext(65535)--供应商ids
suppliernamestext(65535)--供应商名称
createtimeinteger0-
created_atinteger unsigned--
updated_atinteger unsigned--
deleted_atinteger unsigned--
is_complexboolean0非空使用方式 0 单张使用 1多张一起使用
plugin_idinteger0非空优惠券所属插件id
use_conditionstext--使用条件
is_integral_exchange_couponboolean0非空消费积分兑换优惠券:1-开启,0-关闭
exchange_coupon_integraldecimal--兑换优惠券需要消费积分
contenttext--说明内容
coupon_imgstring(255)-非空优惠券图片
scope_content_diytext(65535)-非空适用范围内容自定义
usage_rulestext(65535)-非空使用规则
coupon_discount_showboolean1非空优惠信息显示:0否1是
brand_idstext(65535)--品牌ID
is_all_brandboolean0非空是否全部品牌可用 1是 0不是
brand_idinteger0非空单个品牌ID
is_reject_member_levelboolean0非空排斥会员等级:0-否 1-是
use_limit_per_memberinteger-1非空每个会员最多允许使用数量,-1为不限制
×