mirror of
https://git.oceanpay.cc/danial/kami_scripts.git
synced 2025-12-18 22:49:25 +00:00
35 lines
2.4 KiB
Go
35 lines
2.4 KiB
Go
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
// Code generated by gorm.io/gen. DO NOT EDIT.
|
|
|
|
package model
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
const TableNameBankCardInfo = "bank_card_info"
|
|
|
|
// BankCardInfo 银行卡表
|
|
type BankCardInfo struct {
|
|
ID int32 `gorm:"column:id;primaryKey;autoIncrement:true;comment:主键,自增" json:"id"` // 主键,自增
|
|
UID string `gorm:"column:uid;not null;comment:唯一标识" json:"uid"` // 唯一标识
|
|
UserName string `gorm:"column:user_name;not null;comment:用户名称" json:"user_name"` // 用户名称
|
|
BankName string `gorm:"column:bank_name;not null;comment:银行名称" json:"bank_name"` // 银行名称
|
|
BankCode string `gorm:"column:bank_code;not null;comment:银行编码" json:"bank_code"` // 银行编码
|
|
BankAccountType string `gorm:"column:bank_account_type;not null;comment:银行账号类型" json:"bank_account_type"` // 银行账号类型
|
|
AccountName string `gorm:"column:account_name;not null;comment:银行账户名称" json:"account_name"` // 银行账户名称
|
|
BankNo string `gorm:"column:bank_no;not null;comment:银行账号" json:"bank_no"` // 银行账号
|
|
IdentifyCard string `gorm:"column:identify_card;not null;comment:证件类型" json:"identify_card"` // 证件类型
|
|
CertificateNo string `gorm:"column:certificate_no;not null;comment:证件号码" json:"certificate_no"` // 证件号码
|
|
PhoneNo string `gorm:"column:phone_no;not null;comment:手机号码" json:"phone_no"` // 手机号码
|
|
BankAddress string `gorm:"column:bank_address;not null;comment:银行地址" json:"bank_address"` // 银行地址
|
|
CreateTime time.Time `gorm:"column:create_time;not null;default:CURRENT_TIMESTAMP;comment:创建时间" json:"create_time"` // 创建时间
|
|
UpdateTime time.Time `gorm:"column:update_time;not null;default:CURRENT_TIMESTAMP;comment:最近更新时间" json:"update_time"` // 最近更新时间
|
|
}
|
|
|
|
// TableName BankCardInfo's table name
|
|
func (*BankCardInfo) TableName() string {
|
|
return TableNameBankCardInfo
|
|
}
|