package com.freemud.application.sdk.api.ordercenter.request;

import lombok.Data;

import java.util.List;

/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @version V1.0
 * @Title: UpdateCouponCodeReq
 * @Package com.freemud.application.sdk.api.ordercenter.request
 * @Description:
 * @author: ping1.wu
 * @date: 2020/10/8 16:50
 * @Copyright: 2020 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
@Data
public class UpdateCouponCodeReq {

    private String orderCode;

    private List<CouponReceiveInfo> couponReceiveInfoList;

    private List<CouponUpdateInfo> couponUpdateInfoList;

    @Data
    public static class CouponReceiveInfo {

        private String goodsId;

        //发券券号
        private String couponCode;

        private Integer productSeq;
    }

    @Data
    public static class CouponUpdateInfo {
        //发券券号
        private String couponCode;

        //配置券号
        private String oldCouponCode;

        private Integer productSeq;
    }

}
