package com.ruoyi.cai.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户银行卡对象 cai_account_bankcard
 *
 * @author 77
 * @date 2023-12-21
 */
@Data
@TableName("cai_account_bankcard")
@Schema(description = "用户银行卡对象")
public class AccountBankcard implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @TableId(value = "id")
    @Schema(description = "ID")
    private Integer id;
    /**
     *
     */
    @Schema(description = "用户ID")
    private Long userId;
    /**
     * 账户类型  1 支付宝   2 微信  3 银行卡
     */
    @Schema(description = "类型")
    private Integer type;
    /**
     * 银行编码
     */
    @Schema(description = "编码")
    private String bankCode;
    /**
     * 银行名称
     */
    @Schema(description = "名称")
    private String bank;
    /**
     * 持卡人姓名
     */
    @Schema(description = "持卡人姓名")
    private String cardName;
    /**
     * 卡号
     */
    @Schema(description = "卡号")
    private String cardAccount;
    /**
     * 0 可用  1 不可用
     */
    @Schema(description = "状态")
    private Integer status;

}
