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 PrepayCostReqDTO {

    private Long id;

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

    /**
     * 预付金额设置开启（0：未开启，1：开启）
     */
    @ApiModelProperty(name = "prepayCostEnable", value = "预付金额设置开启（0：未开启，1：开启）")
    @NotBlank(message = "预付金额设置不能为空")
    private String prepayCostEnable;
    /**
     * 预付金额设置
     */
    @ApiModelProperty(name = "prepayCost", value = "预付金额设置")
    private Long prepayCost;
}
