|
|
package com.yohoufo.promotion.convert;
|
|
|
|
|
|
import com.google.common.collect.Lists;
|
|
|
import com.yohobuy.ufo.model.promotion.UserCouponsBo;
|
|
|
import com.yohobuy.ufo.model.promotion.constant.CouponProductLimitTypeEnum;
|
|
|
import com.yohobuy.ufo.model.promotion.constant.CouponUseLimitTypeEnum;
|
...
|
...
|
@@ -36,6 +37,9 @@ public class CouponConvert { |
|
|
couponBo.setUseRule(MessageFormat.format(CouponUseLimitTypeEnum.AMOUNT_LIMIT.getText(),coupon.getUseLimitValue().intValue()));
|
|
|
}
|
|
|
|
|
|
//优惠券说明
|
|
|
couponBo.setNotes(Lists.newArrayList(coupon.getRemark()));
|
|
|
|
|
|
return couponBo;
|
|
|
}
|
|
|
|
...
|
...
|
|