package com.ruoyi.controller.req;

import lombok.Data;

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

/**
 * @Author 刘耀
 * @Date 2020/9/17 10:32
 */
@Data
public class EditUserWithdrawalWayReq {
    @NotNull(message = "用户提现方式不可为空")
    private Long id;

    @NotNull(message = "平台提现方式不可为空")
    private Long pfWayId;

    @NotBlank(message = "联系人不可为空")
    private String linkman;

    @NotBlank(message = "联系方式不可为空")
    private String contactWay;

    @NotBlank(message = "提现账户不可为空")
    private String cashAccount;
    /**
     * 是否默认2:默认，1:非默认
     */
    @NotNull(message = "请确认是否为默认选中")
    private Integer isDefault;

    /**
     * 开户支行
     */
    @NotNull(message = "开户支行不可为空")
    private String accountOpeningSubBranch;
}
