package com.freemud.sdk.api.assortment.order.request.order;

import lombok.Data;

import java.util.List;

/**
 * All rights Reserved, Designed By www.freemud.cn
 *
 * @version V1.0.0
 * @Description:
 * @author: hui.miao
 * @date: 2020-11-28 16:37
 * @Copyright: 2020 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目
 */
@Data
public class GroupBuyRequest {
    private String out_trade_no;
    private String recv_openid;
    private PayList pay_list;
    private Integer scene;
    private Desc desc;
    private Long order_time;
    private String order_id;

    @Data
    public static class PayList {
        private List<UserInfo> user_info;
    }

    @Data
    public static class UserInfo {
        private String openid;
        private Integer amount;
    }

    @Data
    public static class Desc {
        private String text_desc;
        private String pic_url;
        private String pic_md5;
    }
}
