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

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

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author zhouhanwei
 * @create 2023/10/31 14:30
 */
@Data
public class BackPayToWalletReqDTO {

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

    /**
     * 金额
     */
    @NotNull(message = "金额不能为空")
    @ApiModelProperty(name = "payCost", value = "金额")
    @Min(value = 1, message = "金额要大于0")
    @Max(value = 1000000, message = "金额不得超过1万元")
    private Integer payCost;

    /**
     * 备注
     */
    private String remark;

    /**
     * 运营商名称
     */
    private String operatorName;

}
