package com.sckw.payment.model.vo.req;

import com.sckw.core.model.base.IdsList;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @author: xucaiqin
 * @date: 2023-07-31 18:13:26
 */
@Getter
@Setter
public class WalletPayReq implements IdsList {

    /**
     * 结算单id
     */
    @NotBlank(message = "结算单id不能为空")
    private String id;
    /**
     * 金额
     */
    @NotNull(message = "付款金额不能为空")
    @Positive(message = "付款金额必须大于0")
    private BigDecimal price;
}
