package com.yuchen.saas.payment.api.param;

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

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author zhouhanwei
 * @create 2023/6/29 11:46
 */
@Data
public class VerifyMergePayCostReqDTO {

    @ApiModelProperty(value = "账单总金额")
    @NotNull(message = "账单总金额不能为空")
    private Long billTotalPayCost;

    @ApiModelProperty(value = "账单id列表")
    @NotNull(message = "账单信息列表不能为空")
    private List<VerifyOrderData> verifyOrderData;

    @Data
    public static class VerifyOrderData {

        @ApiModelProperty(value = "账单类型（1-临停 2-月卡）")
        private Integer billType;
        @ApiModelProperty(value = "月卡数量")
        private Integer number;
        @ApiModelProperty(value = "账单ID")
        private String billId;
    }
}
