/**
 * Copyright (C), 2015-2019, 非码网络科技有限公司
 * FileName: useScoreVo
 * Author:   bing.liu
 * Date:     2019-05-09 14:54
 * Description:
 */
package cn.freemud.entities.dto;

import lombok.Data;

/**
 * @author bing.liu
 * @create 2019-05-09
 * @versions 1.0.0
 */
@Data
public class GetUserScoreUserDetailDto {

    private String code;
    private String message;
    private String ver;
    private UserScoreDetailVo result;

    @Data
    public class UserScoreDetailVo {

        private Integer currentScore;
        private Integer useScore;
        private Integer reduceAmount;
        private Boolean scoreReduceState;
        private Integer reducePriceLimit;
        private Integer getReduceScoreLimit;
        /**
         * 积分抵扣状态 1积分可用  2积分不足  3 积分抵扣开关禁用 4、订单金额不满足开启积分抵现要求
         */
        private Integer scoreState;
        /**
         * 积分抵扣比例
         * 例如10积分抵扣5元为  10:5
         */
        private String scoreReduceRate;

        /**
         * 是否可优惠同享{0所有订单均可抵扣,1仅限原价订单才可抵扣（享受了促销活动、或使用了优惠券，不能进行积分抵扣）
         */
        private Integer overlayOffers;
    }

}