package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author administrator
|
* @since 2023-05-04
|
*/
|
@Data
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@TableName("t_user_bank")
|
public class TUserBankAddDto extends Model<TUserBankAddDto> {
|
|
private static final long serialVersionUID=1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 1bank account 2credit card
|
*/
|
@TableField("address_type")
|
private Integer addressType;
|
|
|
@TableField("account_name")
|
private String accountName;
|
|
/**
|
* 1debit card 2credit card
|
*/
|
@TableField("aba_routing_number")
|
private Integer abaRoutingNumber;
|
|
@TableField("account_number")
|
private String accountNumber;
|
|
private String address;
|
|
private String city;
|
|
@TableField("zip_code")
|
private String zipCode;
|
|
private String country;
|
|
@TableField("create_time")
|
private Date createTime;
|
@TableField("user_id")
|
private Integer userId;
|
@TableField("card_token")
|
private String cardToken;
|
@ApiModelProperty("有效期年份")
|
@TableField(exist = false)
|
private String year;
|
@ApiModelProperty("有效期月份")
|
@TableField(exist = false)
|
private String month;
|
private String cvc;
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
}
|