商城优惠码表(phome_enewsshop_precode)

字段名 字段类型 解释 附加说明 兼容版本
id int(10) unsigned ID 7.0 7.2 7.5
prename varchar(30) 优惠码名称 7.0 7.2 7.5
precode varchar(36) 优惠码 7.0 7.2 7.5
premoney int(10) unsigned 优惠金额 7.0 7.2 7.5
pretype tinyint(1) 优惠类型 0为减金额,1为商品百分比 7.0 7.2 7.5
reuse tinyint(1) 优惠码重复使用 0为一次性使用,1为可重复使用 7.0 7.2 7.5
addtime int(10) unsigned 增加时间 7.0 7.2 7.5
endtime int(10) unsigned 过期时间 7.0 7.2 7.5
groupid varchar(255) 可使用的会员组ID 7.0 7.2 7.5
classid text 可使用的栏目ID 7.0 7.2 7.5
musttotal int(10) unsigned 满多少金额可使用 7.0 7.2 7.5
usenum int(11) 7.2 7.5
haveusenum int(11) 7.2 7.5