You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.1 KiB
24 lines
1.1 KiB
package models
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type BotUserBank struct {
|
|
BankAddress string `xorm:"VARCHAR(255)"`
|
|
BankCard string `xorm:"not null comment('银行卡账号') VARCHAR(30)"`
|
|
BankCode string `xorm:"comment('银行代码') VARCHAR(60)"`
|
|
BankCountry string `xorm:"comment('国家') VARCHAR(30)"`
|
|
BankEmail string `xorm:"comment('邮箱') VARCHAR(50)"`
|
|
BankName string `xorm:"not null comment('银行名称') VARCHAR(100)"`
|
|
BankPhone string `xorm:"comment('手机号') VARCHAR(30)"`
|
|
CreateTime time.Time `xorm:"not null comment('添加时间') DATETIME"`
|
|
Id int `xorm:"not null pk autoincr INT"`
|
|
IdentityCard string `xorm:"comment('身份证ID') VARCHAR(50)"`
|
|
Ifsc string `xorm:"comment('ifsc') VARCHAR(100)"`
|
|
IsDefault int `xorm:"not null default 0 comment('是否默认:0不默认,1默认') TINYINT(1)"`
|
|
TrueName string `xorm:"not null comment('开账名称') VARCHAR(100)"`
|
|
UpdateTime time.Time `xorm:"comment('修改时间') DATETIME"`
|
|
UserAddress string `xorm:"VARCHAR(255)"`
|
|
UserId int `xorm:"not null comment('用户ID') index INT"`
|
|
}
|
|
|