package com.seer.teach.pay.admin.withdrawal.controller.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 提现配置请求参数
 */
@Data
@Schema(description = "提现配置请求参数")
public class PayWithdrawalConfigReq {
    @Schema(description = "ID")
    private Long id;
    
    @Schema(description = "用户类型")
    private Integer userType;
    
    @Schema(description = "状态")
    private Integer status;

    @Schema(description = "最小提现金额")
    private BigDecimal minWithdrawalAmount;

    @Schema(description = "最大提现金额")
    private BigDecimal maxWithdrawalAmount;

    @Schema(description = "平台手续费率")
    private BigDecimal platformFeeRate;

    @Schema(description = "平台手续费起征金额（元，提现金额超过该值时才收取平台手续费，0表示任何金额都收取）")
    private BigDecimal platformFeeThreshold;

    @Schema(description = "平台手续费收费模式：1-按单次提现金额收费，2-按累计提现总额收费")
    private Integer platformFeeChargeMode;

    @Schema(description = "税率")
    private BigDecimal taxRate;

    @Schema(description = "提现周期")
    private String withdrawalCycle;
}