package com.yuchen.saas.payment.api.dto.wallet.config;

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

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/11/10 11:09
 */
@Data
public class BalanceInsufficientReqDTO {

    private Long id;

    /**
     * 钱包id
     */
    @ApiModelProperty(name = "walletId", value = "钱包id")
    @NotNull(message = "钱包id不能为空")
    private Long walletId;

    /**
     * 是否开启余额不足提醒（0：未开启，1：开启）
     */
    @ApiModelProperty(name = "balanceInsufficientEnable", value = "是否开启余额不足提醒（0：未开启，1：开启）")
    @NotBlank(message = "余额不足提醒状态不能为空")
    private String balanceInsufficientEnable;
    /**
     * 余额不足设置金额
     */
    @ApiModelProperty(name = "balanceInsufficientCost", value = "余额不足设置金额")
    private Long balanceInsufficientCost;
}
