package com.liquidnet.service.goblin.param.shouqianba.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "查询券码请求")
public class CouponQueryRequest {

    @ApiModelProperty(required = true, value = "应用id", example = "202507xxxxxxx")
    private String appid;

    @ApiModelProperty(required = true, value = "订单信息")
    private OrderInfo orderID;

    @ApiModelProperty(required = true, value = "卖家信息", example = "4")
    private Seller seller;

    @Data
    @ApiModel(value = "订单信息")
    public static class OrderInfo {
        @ApiModelProperty(required = true, value = "订单ID")
        private String sn;

        @ApiModelProperty(required = true, value = "订单密码")
        private String signature;

    }

    @Data
    @ApiModel(value = "卖家信息")
    public static class Seller {
        @ApiModelProperty(required = true, value = "商户ID")
        private String merchantId;

        @ApiModelProperty(required = true, value = "商户userID")
        private String merchantUserId;

        @ApiModelProperty(required = true, value = "角色")
        private String role;
    }
}
