package com.seer.teach.pay.app.wallet.req;

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

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@Schema(description = "充值")
public class AppCoinRechargeReq {

    @NotNull(message = "充值金额不能为空")
    @Schema(description = "充值金额", example = "50")
    @Min(value = 0, message = "充值金额不能小于0")
    private BigDecimal rechargeAmount;
}