商城优惠码表(phome_enewsshop_precode)

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